View previous topic :: View next topic
|
Author |
Message |
smithak_shetty
New User
Joined: 13 Sep 2008 Posts: 4 Location: Mysore
|
|
|
|
Hi All,
If DISP=(NEW,PASS,DELETE) for a dataset,
will the dataset be deleted once JCL executes??
Thanks,
Smitha |
|
Back to top |
|
|
gvel19
New User
Joined: 20 Jul 2008 Posts: 19 Location: Schenactady, US
|
|
|
|
The Dataset will be existing till the execution of the job. Once the job completes its execution the dataset gets deleted.
PASS is nothing but a temporary.
Thanks,
Vel |
|
Back to top |
|
|
smithak_shetty
New User
Joined: 13 Sep 2008 Posts: 4 Location: Mysore
|
|
|
|
Thank You |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
Hi,
"Status" of DSN would depend on the usage of DSN - permanent or Temporary.
A temporary dateset (&&somename) is unknown outside of the job defining it, but a permanent dataset with a disp of (new,pass,delete) could cause a conflict with another job running at the same time. However, if things have been setup properly, there will not be any name clashes. |
|
Back to top |
|
|
|