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.
Last Wiki Answer Submitted: February 25, 2011 3:57 am by CharlieBrowne33,720 pts.
All Answer Wiki Contributors: CharlieBrowne33,720 pts.
If you live outside the United States, by submitting your email address you consent to having your personal data transferred to and processed in the United States.
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.
Hi Charlie,
Thank you very much. Your answer resolved my issue.
DSPOBJD option 8 also shows this
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