|
First of all thanks for the code sample - I'll add it to my collection. >> do you know of a way to obtain a list of pointers to all of the service program's exports at once, No - the way I have done it is to use a *PGM _as_ as "service program". You call the main line and it returns the pointer list. To do the same in a Service Program would simply require a procedure dedicated to the task. >> Also, how would you know what parameters are required ...... By convention. Right now there is not really any _practical_ way that I know of to determine the type/length/number of parms. See the archives of this and (I think) the MI list for discussion on the topic. +--- | This is the RPG/400 Mailing List! | To submit a new message, send your mail to RPG400-L@midrange.com. | To subscribe to this list send email to RPG400-L-SUB@midrange.com. | To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
As an Amazon Associate we earn from qualifying purchases.
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.