What are the variables?
is member a var?
"ALLOC FI(MYDDNAM) DA('MY.PDS.NAME(MEMBER)') SHR "
Or
"ALLOC FI(MYDDNAM) DA('MY.PDS.NAME("member")' ) SHR"
If you are using ISPF to edit the REXX turn on HILITE to REXX and have I
color the code for you.
And if you have not done so, there is a TSO-REXX List. You can join here
> For TSO-REXX subscribe / signoff / archive access instructions, send
> email to [email protected] with the message: INFO TSO-REXX
Lizette
> -----Original Message-----
> From: IBM Mainframe Discussion List [mailto:[email protected]] On
> Behalf Of Micheal Butz
> Sent: Tuesday, March 25, 2014 6:50 PM
> To: [email protected]
> Subject: Allocating file in Rex exec
>
> Hi
>
> I am allocating a dataset in a Rex exec using the following syntax
>
> "Alloc fi(myddnam) da('"my.pds.name(member)"') shr"
>
> I get an error routine not found
>
> Sent from my iPhone
>
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN