On Fri, 4 Nov 2011 08:28:50 -0700, willie bunter wrote:

>I looked further into this problem and I noticed that some 
>of these dsns are still being kept even though the job 
>encounters a SYSTEM abend.  

Does the step with DISP=(,CATLG,DELETE) abend?

>The JCL is coded as DISP=(,CATLG,DELETE).....
>My question is shouldn't the dsn be deleted when the 
>abend occurs?  

Only if the abend is in a step that specifies DELETE on 
the DD statement for that data set.  

>Or, is the dsn only deleted in case of an abend if the 
>DSN opened/closed?

Whether or not the data set is opened has no effect on 
the disposition.

-- 
Tom Marchant

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