> -----Original Message-----
> From: IBM Mainframe Discussion List On Behalf Of Lizette Koehler
> 
> Johnny,
> 
> When allocating any dataset under TSO or BATCH I always 
> ensure the DISP parameter is properly set.
> 
> If you just code a DD statement of
> 
>       //DD1  DD DSN=datasetname    
> 
> Then the default DISP is OLD,DELETE. 

The z/OS 1.5 MVS JCL Reference manual disagrees:

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

    -jc-

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