Does it delete the dataset if the job abends? Or does it delete the updates made to the dataset when the job abends.

It's *dataset* disposition. There is no parameter to discard just your updates.

Also, there are two dataset disposition fields -- normal and abnormal.
The one that you specified is normal.  If you want to specify what happens
in an abend scenario, you need to code a second one.

e.g. DISP=(MOD,KEEP,DELETE)

From: esmie moo <[EMAIL PROTECTED]>
Reply-To: IBM Mainframe Discussion List <[email protected]>
To: [email protected]
Subject: JCL Question
Date: Mon, 29 Jan 2007 00:35:45 -0500

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.



_________________________________________________________________
Get live scores and news about your team: Add the Live.com Football Page http://www.live.com/?addtemplate=football

----------------------------------------------------------------------
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

Reply via email to