I have some Rexx functions written in Cobol. Basically we receive the register 
R0 as a first parameter in Linkage Section. So... Works like a function written 
in HLASM. It's fun and very interesting.
RegardsDan


Sent from Yahoo Mail for iPhone


On Monday, March 21, 2022, 11:44 AM, Seymour J Metz <[email protected]> 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 [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