How can i see the source code for COMMAND created in iseries system.

190 pts.
Tags:
IBM iSeries
IMP
iSeries development
I want to know how i can see the source code for the command created in system

Answer Wiki

Thanks. We'll let you know when a new response is added.

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>

Discuss This Question: 1  Reply

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • Sloopy
    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
    2,195 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following