|
I have often passed parameters to a program from a /36 procedure, such as:
CALL PGM(PGMA) PARM('PARM1' 'PARM2'), or
CALL PGM(PGMA) PARM(?1? ?2?)
where the parameter conditions something in the callee (PGMA).
Now I would like to be able to receive information from the callee to condition something in the /36 procedure.
I tried the second example, but the call resulted in a pointer error.
Using the local data area works as an interface between the 36E and an RPG IV program, but not if the program (PGMA, for example) is called by another RPG IV program as the LDA is not updated until the caller ends.
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.