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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CLIST & REXX

 


Similar Topics
Topic Forum Replies
No new posts FINDREP - Only first record from give... DFSORT/ICETOOL 3
No new posts To find whether record count are true... DFSORT/ICETOOL 6
No new posts Map Vols and Problem Dataset All Other Mainframe Topics 2
No new posts Capturing Job Execution Information All Other Mainframe Topics 3
No new posts Allocated cylinders of a dataset DB2 12
Search our Forums:

Back to Top