× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Hi, John:

For each "library" on your system that contains applications programs that might CALL one of those vendor programs, issue:

DSPPGMREF PGM(library/*ALL) OUTPUT(*OUTFILE) OBJTYPE(*PGM) +
OUTFILE(yourlib/DSPPGMREF) OUTMBR(*FIRST *ADD)

Once you have added the cross-reference datas for all of the application libraries to this cross-reference output file, you can query it to determine what programs "use" (CALL) the ones in question. (For this example, I will use the name "TGTPGM01" as an example of one of those programs of interest.) You could use Query/400, or STRSQL, or even write an RPG program, to find the results.

The following is an example using SQL:

select OBJNAM, OBJLIB
from yourlib/DSPPGMREF
where OBRNAM = 'TSTPGM01' and OBRTYP = '*PGM'

Does that help?

All the best,

Mark S. Waterbury

> On 3/30/2011 10:35 AM, John.BresinaJr wrote:
We have a 3rd party application on our system that hasn't been updated in years. I can see about 18 programs within the 3rd party application library that are being used on a daily basis. Is there a way I can tell what is calling those programs?

John

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.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 on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.