View previous topic :: View next topic |
Author |
Message |
Phantom Data Mgmt Moderator

Joined: 07 Jan 2003 Posts: 1056 Topics: 91 Location: The Blue Planet
|
Posted: Wed Feb 12, 2003 4:04 am Post subject: Problem With SYSDSN command |
|
|
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 |
|
 |
Dibakar Advanced

Joined: 02 Dec 2002 Posts: 700 Topics: 63 Location: USA
|
Posted: Wed Feb 12, 2003 4:29 am Post subject: |
|
|
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 |
|
 |
Bill Dennis Advanced

Joined: 03 Dec 2002 Posts: 579 Topics: 1 Location: Iowa, USA
|
Posted: Wed Feb 12, 2003 8:53 am Post subject: |
|
|
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 |
|
 |
taltyman JCL Forum Moderator

Joined: 02 Dec 2002 Posts: 310 Topics: 8 Location: Texas
|
Posted: Wed Feb 12, 2003 2:14 pm Post subject: |
|
|
Always write your code to function properly no matter what the profile prefix is set to. |
|
Back to top |
|
 |
Phantom Data Mgmt Moderator

Joined: 07 Jan 2003 Posts: 1056 Topics: 91 Location: The Blue Planet
|
Posted: Thu Feb 13, 2003 12:56 am Post subject: |
|
|
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 |
|
 |
|
|