I do most of my rexx on VM, but on VM we have a method to directly read and update a callers variables (as long as both are REXX) using the pipe stages VAR and VARLOAD.

Just looking at the z/OS manuals, it looks like you have the same option in z/OS.

Tony Thigpen

Bob Bridges wrote on 9/14/21 5:42 PM:
I've inherited responsibility for a huge REXX app that uses that technique to 
pass many values back and forth between external routines.  Each module has two 
routines, one for packing up a list of variables and another for unpacking them 
at the other end.  I find it difficult to understand, but if I'd had to write 
the thing from scratch maybe I wouldn't have come up with a better way to do 
it, either.

---
Bob Bridges, robhbrid...@gmail.com, cell 336 382-7313

/* The difference between theory and practice is wider in practice than it is 
in theory.  -C J Date */

-----Original Message-----
From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> On Behalf Of 
Martin Packer
Sent: Monday, September 13, 2021 10:16

My main use case for interpret is passing back a string with stem variable 
assignments from a procedure. Then the caller of the procedure interprets the 
string - which has semicolons to separate the assignment statements.

I don't much like it but it seems the best I can do.

----------------------------------------------------------------------
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

Reply via email to