|
|
| Author |
Message |
bsng_surru
New User
Joined: 07 Mar 2005 Posts: 16
|
|
|
|
what does it indicate ?
disp=(,,keep)
disp=(,keep) |
|
| Back to top |
|
 |
References
|
|
 |
superk
Moderator Team Head
Joined: 26 Apr 2004 Posts: 3309 Location: Charlotte,NC USA
|
|
|
|
What does the manual say:
http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/IEA2B650/12.19?DT=20040712170508
The format is DISP=(status,normal-termination,abnormal-termination)
| Quote: |
If you omit the status parameter, the default is NEW.
If you omit the normal-termination parameter, the default is DELETE for a NEW dataset or KEEP for an existing dataset.
If you omit the abnormal-termination parameter, the default is the same as specified for the normal-termination parameter.
If you omit DISP altogether, the default is NEW,DELETE,DELETE.
|
In your case:
DISP=(,,KEEP) is the same as DISP=(NEW,DELETE,KEEP)
DISP=(,KEEP) is the same as DISP=(NEW,KEEP,KEEP) |
|
| Back to top |
|
 |
bsng_surru
New User
Joined: 07 Mar 2005 Posts: 16
|
|
|
|
superk,
wow thanks for your clear explanation. |
|
| Back to top |
|
 |
rajesh.sadhanala
New User
Joined: 24 Feb 2005 Posts: 5 Location: India
|
|
|
|
| according to me it shud be disp = old,keep,keep. pls correct if i am wrong. |
|
| Back to top |
|
 |
gnagakishore
New User
Joined: 26 Mar 2005 Posts: 25 Location: Hyderabad
|
|
|
|
rajesh is correct;;;;
it must be disp = (old, keep, keep) |
|
| Back to top |
|
 |
brain_s390
Active User
Joined: 06 May 2005 Posts: 59 Location: Mumbai
|
|
|
|
Just additional information for KEEP parameter:
We need to supply volume serial no. VOL=SER=ABCD when we need to access file that had disposition of KEEP ! |
|
| Back to top |
|
 |
priyesh.agrawal
Global Moderator
Joined: 28 Mar 2005 Posts: 1509 Location: Chicago, IL
|
|
|
|
SUPERK is correct...
By Default Values would be like...
DISP=(,,KEEP) DISP=(NEW,DELETE,KEEP)
DISP=(,KEEP) DISP=(NEW,KEEP,KEEP)
Regards,
Priyesh. |
|
| Back to top |
|
 |
learnmf
Active User
Joined: 14 Mar 2005 Posts: 124
|
|
|
|
| Quote: |
what does it indicate ?
disp=(,,keep)
disp=(,keep) |
Yes Superk is Right.It depends on the first parameter.
If status is New then it is New delete keep for disp=(,,keep)
Old then Old delete keep
New,keep,delete
Old,keep,Delete For disp=(,keep)
Correct if i am wrong
Thanks
CHandra |
|
| Back to top |
|
 |
rajesh.sadhanala
New User
Joined: 24 Feb 2005 Posts: 5 Location: India
|
|
|
|
Hi..
I am not sure even, I want some to confirm that Disp = (New, Delete, Delete) is correct one. Could anyone please come up with explanation and cover it up.
There is no doubt the default one is New but is it any chance it can be old for keep for normal or abnormal termination |
|
| Back to top |
|
 |
priyesh.agrawal
Global Moderator
Joined: 28 Mar 2005 Posts: 1509 Location: Chicago, IL
|
|
|
|
Hey Buddy,
| Quote: |
| I want some to confirm |
No need any body to confirm... Create a test step & try it out...
Regards,
Priyesh. |
|
| Back to top |
|
 |
ajay_dheepak
New User
Joined: 12 May 2005 Posts: 33 Location: Chennai
|
|
|
|
It is New,Delete,Keep.
Ref: 12.23.2 Defaults
If you omit the status subparameter, the default is NEW.
If you omit the normal termination disposition subparameter, the default is DELETE for a NEW data set or KEEP for an existing data set.
If you omit the abnormal termination disposition subparameter, the default is the disposition specified or implied by the second subparameter. However, if the second subparameter specified PASS, the default abnormal termination disposition is DELETE for a NEW data set or KEEP for an existing data set.
If you omit the DISP parameter, the default is a NEW data set with a disposition of DELETE for both normal and abnormal termination disposition. Thus, you can omit the DISP parameter for a data set that is created and deleted during a step. |
|
| Back to top |
|
 |
|
|
|