> -----Original Message----- > From: IBM Mainframe Discussion List [mailto:[email protected]] On > Behalf Of Walt Farrell > Sent: Friday, November 05, 2010 11:18 AM > To: [email protected] > Subject: Re: Rexx question - Dynamic generation of variables? > > On Fri, 5 Nov 2010 11:12:44 -0700, Gibney, Dave <[email protected]> wrote: > > >I don't subscribe to the Rexx list and am not sure I'd survive another > >list :) > > > >Is it possible to dynamically define Rexx variables? > > > >It doesn't work but I'd like something like: > >X='first' > >y='second' > >x|magic|y='fred' > >Say x|magic|yy > > > >And get 'fred' as the output. > > > >Really x is a dsname and y is the volser and I'd like a variable > >dsn|magic|volser. > > Are you looking for something different from REXX's standard compound > symbols? > > X='first' > y='second' > x.y = 'fred' > say x.y
Yes, in the end, and I should have mentioned it, I want to dynamically define the stem root. I want to able to set dsnamevolser.catlg = 'YES' and dsnamevolser.poe - 'yes' > > http://publibz.boulder.ibm.com/cgi- > bin/bookmgr_OS390/BOOKS/ikj4a390/2.4.3?SHELF=EZ2ZBK0K&DT=20100603150559 > > -- > Walt Farrell > IBM STSM, z/OS Security Design > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to [email protected] with the message: GET IBM-MAIN INFO > Search the archives at http://bama.ua.edu/archives/ibm-main.html ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html

