You should really reference the JCL Reference Manual, which is fairly
concise regarding the DISP parameter. DISP=(MOD,DELETE) specifies a
disposition of status MOD, meaning that if the dataset exists, and is
sequential, data will be added to it. If it does not exist it will
created. The DELETE is the normal termination disposition in this
case, deleting the dataset if the step completes normally, The third
parameter is the abnormal termination disposition, which in this case
defaults to what the second parameter specified, which is delete.
The DISP parameter is discussed at length, with the various options
and defaults, in the JCL Reference manual in the DD:DISP section. My
old OS390 JCL Reference has the page at 12-80.
Hope that helps.
Doug Fuerst
At 12:35 AM 1/29/2007, you wrote:
Is the following correct : DISP=(MOD,DELETE). I am not sure about
the DELETE portion. Does it delete the dataset if the job
abends? Or does it delete the updates made to the dataset when the
job abends. I was always under the impression that if MOD is coded,
the parms after that make not difference. Can somebody please clear
up my misconceptions?
Thanks in advance.
---------------------------------
Share your photos with the people who matter at Yahoo! Canada Photos
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html
Doug Fuerst
Consultant
BK Associates
Brooklyn, NY
(718) 921-2620 (Office)
(718) 921-0952 (Fax)
(917) 572-7364 (Cell)
[EMAIL PROTECTED]
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html