View previous topic :: View next topic
|
Author |
Message |
raghav08 Currently Banned New User
Joined: 03 Jun 2008 Posts: 94 Location: Bangalore
|
|
|
|
Hello.
What's the difference between below two JCL statements for PASS disposition.
//DD01 DD DSN=&&TEMP,DISP=(NEW,PASS)
AND
//DD01 DD DSN=DEV01.TEST.FILE,DISP=(NEW,PASS)
1) First statement will create SYSJuliandate.XXX dataset & it deleted at the end of job
2) Second statement also creates dataset DEV01.TEST.FILE & it also deleted at the end of job
Then what's advantage of statement-1 over statement-2.
Thanks. |
|
Back to top |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
|
|
&&TEMP generates a unique datasetname.
In the second case, if the system decides to choose a volume containing
the named dataset, you will get duplicate dataset name errors.
Or if the named dataset is catalogued. |
|
Back to top |
|
|
raghav08 Currently Banned New User
Joined: 03 Jun 2008 Posts: 94 Location: Bangalore
|
|
|
|
Thanks for your information. |
|
Back to top |
|
|
nevilh
Active User
Joined: 01 Sep 2006 Posts: 262
|
|
|
|
If we are going to be extremely petty
Quote: |
&&TEMP generates a unique datasetname. |
This is only true as of z/OS 1.12 |
|
Back to top |
|
|
santy Warnings : 1 New User
Joined: 19 Jul 2007 Posts: 22 Location: mumbai
|
|
|
|
is there any other difference between them?? |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
santy wrote: |
is there any other difference between them?? |
pardon my ignorance but difference between what? |
|
Back to top |
|
|
|