You are right.
I'm using this construct in several REXX procedures and it works fine.
Volkmar

________________________________

Von: IBM Mainframe Discussion List im Auftrag von Hunkeler Peter (KIUK 3)
Gesendet: Do 21.12.2006 16:35
An: [email protected]
Betreff: Re: REXX Question - Variable Control & Passing (IPCS/ISPF)



Assuming you want to stick to REXX and the variables are in
a separate member, something like this should work:

/*REXX*/
...
"ALLOC F(COPYBOOK) DS('datastname(member)') SHR"
"EXECIO * DISKR COPYBOOK (STEM cb_vars. FINIS"
"FREE F(COPYBOOK)"

do i = 1 to cb_vars.0
   interpret cb_vars.i
   end

Peter Hunkeler
CREDIT SUISSE

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

Reply via email to