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

1,150 pts.
Tags:
AS/400 development
AS/400 objects
RPG
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:
as/400,V6R1
ASKED: December 14, 2009  11:59 AM
UPDATED: December 15, 2009  2:37 AM

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:

http://itknowledgeexchange.techtarget.com/itanswers/where-is-the-source/
and
http://itknowledgeexchange.techtarget.com/itanswers/retrieving-source-dds-from-object-file/

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.

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
  • 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:
    report
  • 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:
    report
  • 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:
    report
  • 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.
    39,835 pointsBadges:
    report
  • 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:
    report
  • TomLiotta
    ...and if no source info is shown by *SERVICE, then there is no source info available. 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