195 pts.
 Finding the Source for RPGLE Program
How to find the source of a RPG Program based on which the object has been compiled?

Software/Hardware used:
ASKED: February 25, 2011  2:35 AM
UPDATED: February 26, 2011  1:22 AM

Answer Wiki:
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  CharlieBrowne   33,720 pts.
All Answer Wiki Contributors:  CharlieBrowne   33,720 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _


 

Hi Charlie,

Thank you very much. Your answer resolved my issue.

 195 pts.

 

DSPOBJD option 8 also shows this

 1,565 pts.

 

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

 110,135 pts.