DSPPGMREF will get the F specs but…
Not SQL uses and I’m not sure about External Data structures.
For those you will have to Scan the Source code.
Phil
=================
Use the DSPPGMREF command specifying *ALL programs in a library to an outfile. Then run a query on the outfile with the following selection criteria and press Enter.
WHFNAM EQ ‘Filename’
The output dislplays all the programs that are using the particular file.
Discuss This Question: 9  Replies
Do all of the programs need to access the new field? If not, don't recompile the file, use the CHGPF (option 2 on the object in PDM) command to add the new field, then on the logicals. This way the file maintains it file level id (no level check errors) and you only need to recompile the programs that need to access the new file.