Good News Everybody!
The new search engine is LIVE!
Please report any problems to david (at) midrange.com.
|
> 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. I don't understand why you want to do this. DSPPGM/DSPSRVPGM/APIs only list the exported procedures from a program, that's true. But, there's no chance for a procedure name to conflict unless it's exported! So, why do you need to know about the ones that aren't exported? > > Is there an API or a CL command that I may have missed that does an > "Enumerate Procedure Names" for program objects? > I doubt it. Remember, those names are just to make life easier for humans... a procedure is normally just an address in memory. I don't really see why the program object would still contain the names after a compile? Unless they're exported, of course, in which case other programs have a need to get their addresses after the program has already been compiled. The only other idea I can think of is the debugger APIs. Perhaps they have a way to get the procedure names that are used during debug sessions, or maybe the names used for error messages...
This mailing list archive is Copyright 1997-2026 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.