You can obtain the environment block by calling IRXINIT("FINDENVB ")
On 28/10/22 04:43, Charles Mills wrote:
But how does REXX invoke a program?
Ret = MYFUNC(parm1, parm2)
glue code puts the rexx parameters
Yeah, I know how to do a front-end to the C++ but I would rather not add that
complexity.
If no one comes up with a better answer I will just go with passing 0 for the
Environment Block and see what happens.
Why couldn't Rexx have put the Environment Block pointer somewhere *standard*?
They pass a bunch of pointers off of R1 -- why not one more?
Charles
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN