|
jmoreno@xxxxxxxxxxxxxxxx wrote:
Does anyone has a skeleton of a validity checker program for the
CRTDEVDSP command
Just the fact that the command has too many parameters makes it
long and tedious.
<<SNIP>>
Perhaps just having the effective output of a RTVCMDSRC-like
feature is all that is required to progress? If so, search the web
for that token as command name or perhaps rtvcmd.zip as a file name.
There is also the XML output of commands via QCDRCMDD API.
Note however that CRTDEVDSP already has a VLDCKR program named
QDCCKDLD which is a system-state program and invoked by the Command
Analyzer\Prompter using a method available only to system-state
programs. AFaIK changing the command [rather than changing only a
copy of the command] to refer to a user-state program will /break/
the command, such that the OS will invoke the VLDCHK using a method
that functions only with user-state programs; i.e. even a future
CHGCMD CRTDEVDSP VLDCKR(QSYS/QDCCKDLD) to reset the command will not
make the command fully functional again after it was broken by
CHGCMD CRTDEVDSP VLDCKR(somelib/somepgm).
Regardless of any of the above, it may be worth describing what
is desired to be accomplished with use of a private validity
checking program. That is, rather than asking about creating the
VLDCHK program, ask about how to effect what is intended to be
achieved by having activated a private validity checking for that
command. There may be more appropriate alternatives to effect what
is desired as the final goal, other than managing to replace the
VLDCKR() of an OS *CMD object.
Regards, Chuck
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.