IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Find out Dataset which gets Deleted After execution


IBM Mainframe Forums -> CLIST & REXX
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
dream4deepak

New User


Joined: 20 Jul 2006
Posts: 12

PostPosted: Tue Oct 03, 2006 10:38 pm
Reply with quote

Hi All,
My requirement is to Find out the dataset which gets deleted after execution of the program.
For eg IF the DISP = (NEW,CATLG,DELETE) or (OLD,DELETE,DELETE)

What the other probable cases in which the dataset gets deleted.

please help me in this ..........
Back to top
View user's profile Send private message
prasaar

New User


Joined: 11 Dec 2006
Posts: 21
Location: India

PostPosted: Fri Dec 22, 2006 5:12 pm
Reply with quote

Hi,

All temp datasets used in a ob get deleted at the end of the jobstep.

When u use DISP=(NEW,CATLG,DELETE), you want the DS to be deleted from the system cat, if there's an abornmal termination.

DISP=(OLD,DEL,DEL) is used to delete an already existing DS. OLD is used to have EXC rights on the DS and DEL,DEL ensures the DS is deleted on normal\abnormal termination.

Cheers,
Arun Prasad
Back to top
View user's profile Send private message
View previous topic : : View next topic  
Post new topic   Reply to topic All times are GMT + 6 Hours
Forum Index -> CLIST & REXX

 


Similar Topics
Topic Forum Replies
No new posts REXX to get all Dataset names from a ... CLIST & REXX 5
No new posts Avoid job abend on dataset held by us... JCL & VSAM 6
No new posts Identify Number of Multivolume Dataset All Other Mainframe Topics 5
No new posts SAS Step execution statistics All Other Mainframe Topics 0
No new posts batch SFTP job using AOPBATCH unable ... All Other Mainframe Topics 7
Search our Forums:


Back to Top