MIDRANGE dot COM Mailing List Archive



Home » MIDRANGE-L » November 2012

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



fixed


Hello Darryl


A few year ago I've found and downloaded a homegrown utility called
Filescan that:
a. Calles a program to run a DSPPGFMREF on all PGM objects in a list of
Libraries
(we SOBMJOB this program each night)
b. Lets you run a CMD named FILESCAN FILE(XXX....) (... are wildcarsd)
and get a spool file list of all programs using that XXX file(s)
This command also creates a work file with those PGMs so you can,
c. Run a CMD named COMPILE (RPG/CL..) that scans the A/M PGMs file,
display each entry (PGM) and lets you compile it by hitting Enter or
bypass it by F1

Over the years we have enhanced it a little to also produce a PGM-PGM ref
table
that shows which PGM's calles what PGMs

We use this tool quit a lot when files (PF or LF) are changed.

I regret to say I've forgotten who originally developed this tool so I
can't put credit where it's due.

Try to look it up, if you don't find it I will assemble a savf for you.

Gad





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