How to see the source for the AS/400 objects?

1150 pts.
AS/400 development
AS/400 objects
I am having a server at my office which has a project application running on it.I need to access the Cl/RPG/CMD/PNLGRP and file objects on it to modify them and restore.I tried for the DSPOBJD and *SERVICE to find the source library and file but couldn't retrieve from that combination. I think the library may be made not authorised for me, not sure. I resolved the CLP issue by RTVCLSRC command. But how to get the source files for all other objects? Plz advise me. thanks

Software/Hardware used:

Answer Wiki

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

Are you sure the source is even on your system? For many applications the source will not be thre, only the compiled objects.

For ILE programs you can will need to use dsppgm and look at the module details to find where the source was when it was compiled.

The were 2 recent topics here related to retrieving source.
try checking out:

Discuss This Question: 6  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.
  • ten2008
    Hi, thanks for your reply. But it didn't meet my needs. I have *CMD,*PNLGRP object too existing for which i need to fetch the source.How to get it plz tell. thanks
    1,150 pointsBadges:
  • ElTerrifico
    TAATOOL has a retreive command source (RTVCMDSRC) command. Don't use *PNLGRPs much so I can't help you there, sorry. Perhaps some else on here can be more helpful. Good Luck.
    620 pointsBadges:
  • Teandy
    Google for a command called RTVSRC. If the programs were compiled with a DBGVIEW other than *SOURCE, then this command will retrieve the source for you.
    5,860 pointsBadges:
  • CharlieBrowne
    I have written a simple command that does a FNDSRC. It looks in all the source files on the system and finds members with the same name. It creates a source file in QTEMP with the name of the object I am looking for and then copies the members from the other source files into this file. The last step is a WRKMBRPDM of the file in QTEMP. This has help me numerous times when souce was not where it was supposed to be.
    62,385 pointsBadges:
  • TomLiotta
    IF the objects have source information available, the DSPOBJD command will show it. It wouldn't matter if you were authorized to the source files or not. Note that DSPOBJD shows source information only when the DETAIL(*SERVICE) parameter value is specified. Tom
    125,585 pointsBadges:
  • TomLiotta
    ...and if no source info is shown by *SERVICE, then there is no source info available. Tom
    125,585 pointsBadges:

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.

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


Share this item with your network: