View previous topic :: View next topic |
Author |
Message |
cool.manoj Beginner
Joined: 26 May 2010 Posts: 13 Topics: 5
|
Posted: Wed May 26, 2010 11:56 pm Post subject: User id is prefixed when an variable name in used in ALLOC |
|
|
Hi,
User id is getting prefixed when i'm using an variable name in ALLOC statement in REXX.
Statement:
MYDSN = "DATA.SET.NAME"
"ALLOC F(MYDATA) DS ("MYDSN'") SHR REUSE"
Error: userid.data.set.name not in catalog or catalog can not be acccessed.
Could you please let me know how to avoid user id prefix?
Regards,
Manoj. |
|
Back to top |
|
 |
expat Intermediate

Joined: 01 Mar 2007 Posts: 475 Topics: 9 Location: Welsh Wales
|
Posted: Thu May 27, 2010 1:44 am Post subject: |
|
|
You need a single quote before the double quote preceeding MYDSN and one after the double quote which follows. _________________ If it's true that we are here to help others,
then what exactly are the others here for ? |
|
Back to top |
|
 |
cool.manoj Beginner
Joined: 26 May 2010 Posts: 13 Topics: 5
|
Posted: Thu May 27, 2010 1:48 am Post subject: |
|
|
Thank you so much expat! it worked
I'm just started learning REXX myself. Could you please suggest some good REXX material to begin with? Thank you |
|
Back to top |
|
 |
Anuj Dhawan Intermediate
Joined: 19 Jul 2007 Posts: 298 Topics: 7 Location: Mumbai,India
|
Posted: Thu May 27, 2010 4:00 am Post subject: |
|
|
Check this Link: http://www.rexswain.com/rexx.html
Also, you can search the "TSO and ISPF" part of the Forum. _________________ Regards,
Anuj |
|
Back to top |
|
 |
|
|