That is precisely what the *OUTFILE capability on DSPPGMREF is for -- so
you can DSPPGMREF *ALL programs in a given library, then query over the
*OUTFILE to find all programs that use a given file.
Or, you could do a FNDSTRPDM to find the file name in the source ....?
Mark S. Waterbury
> On 11/23/2012 3:12 PM, Darryl Freinkel wrote:
I need to be able to list all programs that use a physical or logical file.
I could use the DSPPGMREF command to an out file and then search that file.
This is not exactly what I want to do and am trying to find a command or
alternate method to get the programs that use a file or other object. I do
not want to have to use DSPPGMREF for every file.
I need to recompile programs that use particular file.
Darryl Freinkel | Assignment 400 Group, Inc.
Tel: 770.321.8562 ext 111 | Fax 770.321.8562