Joined: 27 Feb 2007 Posts: 574 Location: Mumbai,India
gnanas,
If you don't specify any disposition then default is =(NEW,DELETE,DELETE). We generally specify this kind of disposition for temporary datasets used in the step. Please let us know if this is not what you wanted..
Moved: Mon Nov 12, 2007 8:12 pm by William Thompson From JCL to Interview Questions
dick scherrer
Global Moderator
Joined: 23 Nov 2006 Posts: 8768 Location: 221 B Baker St
Hello,
Quote:
What is the difference between DISP=SHR and DISP=OLD
OLD specifies exclussive use, SHR specifies the file may be shared with other processes.
Quote:
When will we go for both Normal and Abnormal Disposition as DELETE and DELETE
Specify delete for both when the file is to be deleted whatever the outcome fo the step. This is typically used for datasets that are only for use within one step.