|
|
| Author |
Message |
Gnanas SNG
Senior Member
Joined: 06 Sep 2007 Posts: 414 Location: India
|
|
|
|
| Could anyone please explain What is the difference between DISP=SHR and DISP=OLD? |
|
| Back to top |
|
 |
References
|
Posted: Mon Nov 12, 2007 7:21 pm Post subject: Re: Disposition Parameter of DD Statement |
 |
|
|
 |
Gnanas SNG
Senior Member
Joined: 06 Sep 2007 Posts: 414 Location: India
|
|
|
|
| When will we go for both Normal and Abnormal Disposition as DELETE and DELETE? |
|
| Back to top |
|
 |
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 1802 Location: Israel
|
|
| Back to top |
|
 |
agkshirsagar
Senior Member
Joined: 27 Feb 2007 Posts: 522 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.. |
|
| Back to top |
|
 |
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: 6882 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. |
|
| Back to top |
|
 |
Binaya
Active User
Joined: 03 Jul 2007 Posts: 52 Location: Hyderabad
|
|
|
|
| I feel this question has to be in freshers forum.. |
|
| Back to top |
|
 |
|
|