On Mon, 22 Dec 2008 19:49:13 -0500, Thomas Kern <[email protected]> w rote:
>The other program IS a CSL. I am revisiting the use of the DMSCPR >routine. It wants a CBLOCK passed to it. The CBLOCK is a 36byte control >block that include the 4byte addresses of the target area, the source >area and a 192byte work area. > >My other approach to this is to write my own REXX function where I can >manipulate that control block in assembler language before invoking the >hardware instruction. > >/Tom Kern > >Kris Buelens wrote: >> Why does this other progam use a CSL call to retrieve the REXX >> variable: CSL is a supported interface. >> >> 2008/12/22 Thomas Kern <[email protected]>: >>> I would like to define some REXX variables and then use the storage >>> addresses for another program to use. How can I find out where in my virtual >>> storage REXX has allocated a particular variable? >>> >>> /Tom Kern >======================== ========================= ========== ============== REXX variables do not have a fixed address. If you append data to a REXX variable, it will move. So it would not make much sense to have an ADDR function. REXX variables are not declared, either, and have no fixed length. REXX is a very different from compiled language s. I think the CSL routine call copies the value of REXX variables into buf fers, and copies the output values back from buffers back into the REXX variables. I have never tried to write a CSL routine, but it must be documented somewhere. Alan Ackerman Alan (dot) Ackerman (at) Bank of America (dot) com
