If the intention is to get the address of the REXX environment block which is passed in R0 then that problem is solved by calling IRXINIT with the FINDENVB function.
https://www.ibm.com/docs/en/zos/2.3.0?topic=irxinit-parameters On Mon, 2022-03-21 at 14:44 +0000, Seymour J Metz wrote: > A recent thread on REXX raises the question of what compilers support > interfaces that require passing an address in R0 in addition to the PLIST > address in R1. A secondary issue is how to handle > multiple callbacks from a non-LE program without the overhead of establishing > the LE environment each time.The obvious use case is a driver program that > initialises REXX, passes REXX a script and is > then called every time the script either calls a routine that the driver has > included in a function package or passes a command string to one of the > environments that the driver registered. Think > ISPF EDIT or XEDIT writen in PL/I, only less ambitious. > . > > > -- > Shmuel (Seymour J.) Metz > http://mason.gmu.edu/~smetz3 > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN