MIDRANGE dot COM Mailing List Archive



Home » MIDRANGE-L » November 2012

Re: Is there a command to display programs that use a file?



fixed

Hi, Daryl:

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 ....?

HTH,

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.

TIA

Darryl Freinkel | Assignment 400 Group, Inc.
Tel: 770.321.8562 ext 111 | Fax 770.321.8562





Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2014 by MIDRANGE dot COM and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available here. If you have questions about this, please contact