How do you find an object’s source file (SRC-PF) in as400?
Sorry, you do not have permission to ask a question, You must login to ask a question.
Sorry, you do not have permission to ask a question.
How do you find an object’s source file (SRC-PF) in as400?
When a program gets compiled, its source information is saved in the object. If the object is an ILE program, then you can find the source file information using the DSPPGM command, visit the module information for that program, and type 5 next to the respective module. This will show you the source file of the selected module. For example, Type the command DSPPGM PGM1 on the command line and press enter thrice to display a list of modules associated with the program object. Take option 5 to select the respective module for which you want to find the source file location and press enter; the source file location will be displayed as below:
Try this command.
DSPOBJD OBJ(LibName/ObjectName) OBJTYPE(*FILE) DETAIL(*SERVICE)
You can also use List ILE program information API (QBNLPGMI). The details of the ILE program module, including source file and member information, are available to you in format PGML0100.
You can also use the listservice program information API (QBNLSPGM). The details of the service program module, including source file and member information, are available to you in the format SPFL0100.
To find the source file of an OPM program object, you can use either the DSPOBJD command Retrieve Program Information API (QCLRPGMI) or Retrieve Object Description API (QUSROBJD).