Q
Problem solve Get help with specific problems with your technologies, process and projects.

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.


Dig Deeper on iSeries CL programming

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

-ADS BY GOOGLE

SearchDataCenter

Close