|
There's really not much to it. Just make a prototype that matches the *ENTRY PLIST. (or, use CALLB instead of CALLP, if you don't like prototypes) and... uhhh.. call it.
Oh yeah, and (if it doesn't go without saying) include the binding directory on the H-specs.
--- Scott Klement http://www.scottklement.com On Wed, 7 Jun 2006, James H H Lampert wrote:
This is probably going to strike some as a dumb question (but remember the old saying: "the only dumb question is the one that doesn't get asked"), but I'd like to set up an RPG procedure, sitting in a module that's listed in a binding directory, that can be called from RPG, via a bound CALLP, with parameters passed by reference. And I'm kind of stumped on how to do it. Can it indeed be done? Can anybody point me to an example? At the moment, the procedure is set up as module-level code in the called module, with an *ENTRY PLIST, but I'm sure that's going to have to change . . . . -- JHHL -- This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list To post a message email: RPG400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/rpg400-l or email: RPG400-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/rpg400-l.
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.