Hi,
You can use DSPPGM PGM(yourpgm) OUTPUT(*PRINT) DETAIL(*BASIC)
Observable information is in the spooled file.
Regards,
Martin Gilbert.
================================================================
Use the List Objects (QUSLOBJ) API to list program objects. For each program in the list, call the Retrieve Program Information (QCLRPGMI) API to retrieve the information with format PGMI0100. Print what you need or write it to a file.
Tom
Discuss This Question: