Finding the Source for RPGLE Program

195 pts.
Tags:
RPGLE Program
How to find the source of a RPG Program based on which the object has been compiled?
ASKED: February 25, 2011  2:35 AM
UPDATED: February 26, 2011  1:22 AM

Answer Wiki

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

Using the DSPPGM command you can find the name of the source file that was used for the compile.
Depending on the options you took when you compiled your program, you can do STRDBG of the program and the source will display.

Discuss This Question: 3  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
  • Cursorposition
    Hi Charlie, Thank you very much. Your answer resolved my issue.
    195 pointsBadges:
    report
  • aceofdelts
    DSPOBJD option 8 also shows this
    1,720 pointsBadges:
    report
  • TomLiotta
    DSPOBJD option 8 also shows this Unfortunately, it won't for an ILE program. That's because ILE *PGM objects are not created from source. They're created from *MODULE objects that were created from source. The DSPPGM command gives access to the list of modules, and the list can be queried for source. 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