MIDRANGE dot COM Mailing List Archive



Home » MIDRANGE-L » August 2014

Re: Identifying all references to a currently active program



fixed

Paul:

So, you have calls to procedures in this RXSSV *SRVPGM in some of your programs ... but you are not sure which programs?

You could do something like the following:

DSPPGMREF PGM(yourAppLib/*ALL) OUTPUT(*OUTFILE) OBJTYPE(*PGM) +
OUTFILE(QTEMP/DSPPGMREF)

Then use STRSQL or equivalent to query the resulting output file, looking for e.g.

SELECT * FROM qtemp/dsppgmref WHERE WHFNAM = 'RXSSV'

to find all programs that use (reference) this service program.

HTH,

Mark S. Waterbury

> On 8/12/2014 2:14 PM, Steinmetz, Paul wrote:
I'm upgrading a 3rd party tool later today, RXS 2.71 to 3.11.
The upgrade is simple, RSTOBJ from a savf to the RXS library, about 70 objects.
Takes about 10 seconds.
The issue is we have no easy way of knowing what programs of ours should be stopped/started
The main RXS object is RXSSV *SRVPGM, which is part of BNDDIR RXSBND
1) Is there a command or tool that would show any reference or call to this program?
2) If an RPGLE program is in memory, but not currently used, if this object if replaced by the upgrade, the reference to this program will probably result is failure, correct?

Thank You
_____
Paul Steinmetz
IBM i Systems Administrator

Pencor Services, Inc.
462 Delaware Ave
Palmerton Pa 18071

610-826-9117 work
610-826-9188 fax
610-349-0913 cell
610-377-6012 home

psteinmetz@xxxxxxxxxx<mailto:psteinmetz@xxxxxxxxxx>
http://www.pencor.com/







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