Sometimes. see Using the environment block for reentrant environments on p. 244 
of Chapter 12. TSO/E REXX programming services.


--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3

________________________________________
From: IBM Mainframe Discussion List [[email protected]] on behalf of 
David Crayford [[email protected]]
Sent: Tuesday, March 22, 2022 2:44 AM
To: [email protected]
Subject: Re: HLL support for interfaces that use R0

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://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.ibm.com%2Fdocs%2Fen%2Fzos%2F2.3.0%3Ftopic%3Dirxinit-parameters&data=04%7C01%7Csmetz3%40gmu.edu%7C1d461d62d3774252aae708da0bcf84fc%7C9e857255df574c47a0c00546460380cb%7C0%7C0%7C637835283177501542%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=7N8O0X4Nm8ch0%2FDvbbtt5rYcuExbWUg%2Bo%2BL0jCaXQfo%3D&reserved=0

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
> https://nam11.safelinks.protection.outlook.com/?url=http%3A%2F%2Fmason.gmu.edu%2F~smetz3&data=04%7C01%7Csmetz3%40gmu.edu%7C1d461d62d3774252aae708da0bcf84fc%7C9e857255df574c47a0c00546460380cb%7C0%7C0%7C637835283177501542%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=qNLkqXSiNxHGmSBq9uyw%2FiFE%2FHs1crEQ6ZunpWhxA3g%3D&reserved=0
>
> ----------------------------------------------------------------------
> 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

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to