How can view the source of QSYS commands

370 pts.
Tags:
QSYS
RPG/400
WRKMBRPDM
Like If I want to see source of 'WRKMBRPDM'(object type both cmd and *pgm) command what should I have to do?.

Answer Wiki

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

Hi,

I think this question has already been answered here: How can I see the source code for COMMAND created in iSeries System.

Regards,

Martin Gilbert.

Discuss This Question: 4  Replies

 
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
  • Alicsc
    Hi Martin, I installed command RTVCMDSRC on my AS/400 but this only retrieving CMD source not CLP and RPG soure related to this command.How to get them also.
    370 pointsBadges:
    report
  • Cwc
    RTVCMDSRC is only for commands. Use the RTVCLSRC command to retrieve the source for a CL program; the caveat is that it only works for OPM programs, and not ILE. Also, the program must have been compiled with the ALWRTVSRC parameter of *YES, which is the default. And RTVCLSRC won't work for commands supplied with the operating system. There isn't a system command to retrieve RPG source, or for other HLL programs. But there may be some third party utilities that do so, so I suggest a web search to see what you can find.
    4,290 pointsBadges:
    report
  • Gilly400
    Hi, There are some third party tools around to retrieve RPG source. I've never seen any of these in action, so I can't comment on how good they are. Some of these products were also available on the S/36 to retrieve RPGII source. If you're looking to retrieve the source of programs used by QSYS commands, I don't think these tools will get you anywhere. I believe IBM have made it very difficult to get to the source of their programs. Maybe other people have more experience of this, but I think that the IBM objects are written in MI (Machine Instructions), which aren't anything like RPG (more like PL/1 from what I've seen). Regards, Martin Gilbert.
    23,730 pointsBadges:
    report
  • TomLiotta
    Like If I want to see source of 'WRKMBRPDM'(object type both cmd and *pgm) command what should I have to do? The only reasonable answer is to write a check to IBM for whatever price they put on disclosing their source code to you. It will be a number larger than you will want to pay. There are no tools or utilities freely available (nor even openly marketed) that will show you anything structured like the source for the WRKMBRPDM function. Tom
    125,585 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