× 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.



I'm working with a code base that doesn't include a "namepace"
prefix/suffix on procedures.

There's also not a direct correlation between the source file containing
the PR and the *SRVPGM with the procedure.

Now I can use DSPPGM, see the SRVPGMs bound in and do a 5=Display on each
to eventually see the procedures in the SRVPGM: DSPSRVPGM DETAIL(*PROCEXP)


Is their anyway to determine directly where a given procedure used in a
program is coming from?

Basically looking for a DSPPGM DETAIL(*PROCIMP)

I realize that the procedures are bound by ordinal number, as opposed to
name...so the name may not be stored explicitly in the *PGM object. But
seems like some behind the scenes resolving either by an IBM utility or a
user written one could happen.

Actually, what would be really nice is too be able to know where the
procedure was found at CRTPGM bind time when *LIBL was used to resolve the
service program. Basically like how DSPPGMREF shows where the file on an
f-spec was found at compile time. But I'm probably out of luck with that
unless there's something stored within the object as part of the debug
listing.

Thanks!
Charles

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.