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

I'm writing a utility that allows you to see if a procedure name has been
previously used in a program or service program.

I have no problem getting at and retrieving the list of procedure names in a
service program, but I can't get the list of procedure names used in a
program object. The API (as well as the DSPPGM command) does not list the
procedures used in program objects.

IIRC, the procedures names are NOT stored in the program object that calls them. What is stored is the *number* of the slot of the exported item of the module or service program to be used.


So to get what you want, I think your options are:

1. read the source, or
2. find a way to get the slot numbers used and combine that with the export information of the matching signature.


Ken
http://www.ke9nr.net/
Opinions expressed are my own and do not necessarily represent the views of my employer or anyone in their right mind.



As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.