15 pts.
Q:
Search File Object
Hi, I nedd to search a file object, for where all it is being used in various programs across various library. Can you please let me know a command to do the same, where it will search all programs across various libraries.
ASKED: Jul 18 2008  10:32 AM GMT
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
230 pts.
A:
 RATE THIS ANSWER
0
Click to Vote:
  •   0
  •  0
  • Bookmark and Share
Hello,
I have developed a utility which we have used for years in house that works great. You specify the libraries you want to use
and it builds a cross reference file. Then on command you specify a file name and are given a display with all accesses to that file (PF,LF,PRTF or DSPF) by program and an option to print the list. You can have it for free if you are interested.
Just let me know where to send it.
Reg


Hi,

You could try using ANZPGM, this will let you analyze multiple libraries.

Regards,

Martin Gilbert.
Last Answered: Jul 18 2008  1:57 PM GMT by Reg   230 pts.
Latest Contributors: Gilly400   23625 pts.
Discuss This Answer:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _



_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

Tpinky   4165 pts.  |   Jul 18 2008  12:42PM GMT

Hello,

You could use FNDSTRPDM to find where an object is being used.

T

 

JStu   65 pts.  |   Jul 18 2008  1:39PM GMT

You could also use DSPPGMREF and output the results to an outfile and then search the outfile. This does not require you to have the source for all of your programs.