> -----Original Message----- > From: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] On > Behalf Of Paul Gilmartin > Sent: Friday, November 05, 2010 1:40 PM > To: IBM-MAIN@bama.ua.edu > Subject: Re: Rexx question - Dynamic generation of variables? > > On Fri, 5 Nov 2010 11:28:44 -0700, Gibney, Dave wrote: > > > >Yes, in the end, and I should have mentioned it, I want to dynamically > >define the stem root. > > > Why? > > >I want to able to set dsnamevolser.catlg = 'YES' and dsnamevolser.poe > - > >'yes' > > > What exactly is wrong with A.dsnamevolser.catlg and > A.dsnamevolser.poe
Perhaps blinders :) I have always seen stems as the part before the period and the part after the single, one and only period. Perhaps I'm trying to solve a non-existent problem due to my lack of Rexx experience. Yes, it seems I missed the section on Compound symbols (2.4.3) in the z/OS 1.11 version. :) > > BTW, you'll find it easier to blend unnoticed among the Rexx > experts if you remember that Rexx's boolean values are > '1' and '0' and use those in place of 'YES' and 'NO'. I certainly don't claim full knowledge of Rexx and appreciate your help. In this almost 1 sysprog shop, I rarely have time to become "expert" at on any z/OS subject before the next "issue" arises :( In reading the above noted section, I think I should start thinking of symbols and not classic variables. > You can even facilitate printing by defining a compound: > > DisplayPOE.1 = 'Library' > DisplayPOE.0 = 'PDS' > > (Application is left as an exercise for the reader.) > > -- gil > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to lists...@bama.ua.edu 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 lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html