MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

User id is prefixed when an variable name in used in ALLOC

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF
View previous topic :: View next topic  
Author Message
cool.manoj
Beginner


Joined: 26 May 2010
Posts: 13
Topics: 5

PostPosted: Wed May 26, 2010 11:56 pm    Post subject: User id is prefixed when an variable name in used in ALLOC Reply with quote

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
View user's profile Send private message
expat
Intermediate


Joined: 01 Mar 2007
Posts: 475
Topics: 9
Location: Welsh Wales

PostPosted: Thu May 27, 2010 1:44 am    Post subject: Reply with quote

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
View user's profile Send private message
cool.manoj
Beginner


Joined: 26 May 2010
Posts: 13
Topics: 5

PostPosted: Thu May 27, 2010 1:48 am    Post subject: Reply with quote

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
View user's profile Send private message
Anuj Dhawan
Intermediate


Joined: 19 Jul 2007
Posts: 298
Topics: 7
Location: Mumbai,India

PostPosted: Thu May 27, 2010 4:00 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group