Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
Find out Dataset which gets Deleted After execution

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
Author Message
dream4deepak

New User


Joined: 20 Jul 2006
Posts: 12

PostPosted: Tue Oct 03, 2006 10:38 pm    Post subject: Find out Dataset which gets Deleted After execution
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
References
prasaar

New User


Joined: 11 Dec 2006
Posts: 21
Location: India

PostPosted: Fri Dec 22, 2006 5:12 pm    Post subject:
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
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX All times are GMT + 6 Hours
Page 1 of 1