Thanks Thomas, that fixed it. Not writing a lot of rexx, the whole single, double quotes thing catches me out constantly.
Thanks again. Jim McAlpine On 8/26/05, Thomas Berg <[EMAIL PROTECTED]> wrote: > logStatus = sysdsn("'"CGENC_LOG"'") > > (doublequote+singlequote+doublequote at both sides) > > Thomas Berg > > -----Ursprungligt meddelande----- > Från: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] För Jim McAlpine > Skickat: den 26 augusti 2005 12:43 > Till: IBM-MAIN@BAMA.UA.EDU > Ämne: rexx question > > > How do I code the following where CGENC_LOG is a variable so that the userid > is not added as the hlq of the dataset if tso profile > prefix(userid) is specified. > > logStatus = sysdsn(CGENC_LOG) > > Jim McAlpine > > ---------------------------------------------------------------------- > 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 > ---------------------------------------------------------------------- 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