Ask the Expert

Retrieving the source member

Is there a way to retrieve, from an ILE/RPG program object, the source member used in the compile? Just like we can check using DSPPGM or DSPOBJD for RPG programs.
 
DSPPGM shows this information....  Use Option 5 on each "module" to view this information. Here is an example:

Program  . . . . . . . :   CNNBLPURG     Library  . . . . . . . :
PRDCISOBJ  
 

Module attributes:

  Module . . . . . . . . . . . . . . . . . . . . :   CNNBLPURG

    Library  . . . . . . . . . . . . . . . . . . :     QTEMP

  Source file  . . . . . . . . . . . . . . . . . :   QRPGLESRC

    Library  . . . . . . . . . . . . . . . . . . :     EMERQASRC

  Source member  . . . . . . . . . . . . . . . . :   CNNBLPURG

  Module attribute . . . . . . . . . . . . . . . :   RPGLE

  Module creation date/time  . . . . . . . . . . :   05/08/03  21:24:14

  Source file change date/time . . . . . . . . . :   05/08/03  21:24:01  

==================================
MORE INFORMATION ON THIS TOPIC
==================================

The Best Web Links: tips, tutorials and more.

Ask your OS/400 questions--or help out your peers by answering them--in our live OS/400 discussion forums.

Search400.com's targeted search engine: Get relevant information on V5R1.


This was first published in May 2003