You found the solution, fine. Fyi, I recently wrote a assembler subroutine, it can be called from COBOL, C, PL/I and probably other, to access REXX variables and the TSO stack, and it can also start a REXX. It is available on request.
---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN