Hi,
You can use the DSPCMD command to see where the source for a command was when the command was created. Most of the System commands do not come supplied with the source.
Regards,
Martin Gilbert.
--------------------------------------------------------------------------
If the source is not on your system you can get a XML definition of the command which should be sufficient to understand how the parameters are defined. This XML view of the command can be accessed with either the <a href="http://publib.boulder.ibm.com/infocenter/iseries/v5r4/topic/apis/qcdrcmdd.htm">Retrieve Command Definition API QCDRCMDD</a> or the <a href="http://publib.boulder.ibm.com/infocenter/iseries/v5r4/topic/cl/gencmddoc.htm">Generate Command Documentation command GENCMDDOC</a> with GENOPT(*SERVICE).
Bruce Vining
<a href="http://www.brucevining.com/">http://www.brucevining.com/</a>
Last Wiki Answer Submitted: April 12, 2008 6:39 pm by Gilly40023,625 pts.
If you live outside the United States, by submitting your email address you consent to having your personal data transferred to and processed in the United States.
Make a G**gle search for RTVCMDSRC – you will find there is more than one version of that utility around. I use it myself, and it creates a perfect QCMDSRC member for even the most complex IBM-supplied commands.
If you are interested in writing commands, it’s particularly instructive to get IBM command sources and see how they do things.
Make a G**gle search for RTVCMDSRC – you will find there is more than one version of that utility around. I use it myself, and it creates a perfect QCMDSRC member for even the most complex IBM-supplied commands.
If you are interested in writing commands, it’s particularly instructive to get IBM command sources and see how they do things.
Sloopy