How to cross-references all programs with one another

Is there an IBM-supplied file that cross-references all programs with one another? I want to change a program and need to know all the programs that call it before making the changes.

I'm not aware of any pre-existing IBM system file to do what you want, but you can create your own cross-reference by issuing the following command:

DSPPGMREF PGM(*ALLUSR/*ALL) OUTPUT(*OUTFILE) OBJTYPE(*ALL) OUTFILE(MYLIB/MYFILE)

The only limitation on this technique is that it won't find programs that are called as a variable name through another program.

==================================
MORE INFORMATION ON THIS TOPIC
==================================

The Best Web Links: tips, tutorials and more.

Ask your systems management questions--or help out your peers by answering them--in our live discussion forums.


This was first published in June 2002