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 

Problem With SYSDSN command

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF
View previous topic :: View next topic  
Author Message
Phantom
Data Mgmt Moderator
Data Mgmt Moderator


Joined: 07 Jan 2003
Posts: 1056
Topics: 91
Location: The Blue Planet

PostPosted: Wed Feb 12, 2003 4:04 am    Post subject: Problem With SYSDSN command Reply with quote

The Rexx routine which I wrote works fine on my system. But when my neighbour used the same code, It gave an error on his system saying that a specified PDS name is invalid. But if I enclose the PDS Name withing Single Quotes then It works on his system. We are using same Software (RUMBA 2000). What could be problem?

ie. If I the rephrase the Command as

SYSDSN('TSOSUND.REXX.UTILS'), It works on both the systems. But If I specify as SYSDSN(TSOSUND.REXX.UTILS) then It works on my system but not on the other system.

Please give me your suggestions
Back to top
View user's profile Send private message
Dibakar
Advanced


Joined: 02 Dec 2002
Posts: 700
Topics: 63
Location: USA

PostPosted: Wed Feb 12, 2003 4:29 am    Post subject: Reply with quote

Ifyou don't give quotes then the dataset will be prefixed by users prefix hence point to a different dataset. Prefix is generally userid. Can be verified by giving 'TSO PROF'. It can be changed but I don't recollect the command.

Diba.
Back to top
View user's profile Send private message Send e-mail
Bill Dennis
Advanced


Joined: 03 Dec 2002
Posts: 579
Topics: 1
Location: Iowa, USA

PostPosted: Wed Feb 12, 2003 8:53 am    Post subject: Reply with quote

Command PROF NOPREFIX will turn off your prefix so you don't need the quotes. The other shop probably has the default setting of PROF PREFIX(userid) .

Bill
Back to top
View user's profile Send private message
taltyman
JCL Forum Moderator
JCL Forum Moderator


Joined: 02 Dec 2002
Posts: 310
Topics: 8
Location: Texas

PostPosted: Wed Feb 12, 2003 2:14 pm    Post subject: Reply with quote

Always write your code to function properly no matter what the profile prefix is set to.
Back to top
View user's profile Send private message
Phantom
Data Mgmt Moderator
Data Mgmt Moderator


Joined: 07 Jan 2003
Posts: 1056
Topics: 91
Location: The Blue Planet

PostPosted: Thu Feb 13, 2003 12:56 am    Post subject: Reply with quote

yes, In my system I had NOPREFIX set and in the other system the PREFIX option was set.

Thanks everyone for your kind help. I have changed my code in such a way that I will work in any system.

Thanks to all
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