Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Disp=(new,delete,catlg), In abnormal termination what happen

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
asnreddy

New User


Joined: 07 Jun 2005
Posts: 4
Location: hyderabad

PostPosted: Mon Jun 13, 2005 10:38 am    Post subject: Disp=(new,delete,catlg), In abnormal termination what happen
Reply with quote

hi,
if i code disp=(new,delete,catlg),in abnormal termination wat wil happen?
Back to top
View user's profile Send private message

David P

Active User


Joined: 11 Apr 2005
Posts: 106
Location: Cincinnati Ohio

PostPosted: Mon Jun 13, 2005 10:45 am    Post subject:
Reply with quote

Hi,
As you have mentioned the abnormal disposition as catlg the data set will be cataloged in case of abnormal termination.

regards,
David.
Back to top
View user's profile Send private message
vardhan_145

New User


Joined: 21 Feb 2005
Posts: 9
Location: Chennai

PostPosted: Mon Jun 13, 2005 12:02 pm    Post subject:
Reply with quote

Hai Friends,

i believe David is correct. the dataset will be cataloged if that step is abnormal end.

Regards,
Vardhan
Back to top
View user's profile Send private message
radhakrishnan82

Active User


Joined: 31 Mar 2005
Posts: 436
Location: chennai, India

PostPosted: Mon Jun 13, 2005 12:12 pm    Post subject:
Reply with quote

go thru the syntax for DISP:

DISP=(Status, Normal Disp, Abnormal Disp).
Back to top
View user's profile Send private message
Girishm

New User


Joined: 09 Mar 2005
Posts: 35
Location: Mysore

PostPosted: Thu Jun 16, 2005 3:41 pm    Post subject: if i code disp=(new,delete,catlg),in abnormal termination wa
Reply with quote

Hi reddy,

New: You are creating new file
Delete: On normal termination, file will be deleted
Catlg: On abnormal termination, file will be cataloged

________
GM
Back to top
View user's profile Send private message
sudheer648

New User


Joined: 23 May 2005
Posts: 97
Location: Chennai

PostPosted: Mon Jun 20, 2005 3:34 pm    Post subject: Re: Disp=(new,delete,catlg), In abnormal termination what ha
Reply with quote

Hi Reddy,

At abnormal Termination the dataset will be cataloged in the sense you can find it in the VTOC.
Back to top
View user's profile Send private message
saikumar

New User


Joined: 21 Jun 2005
Posts: 8
Location: INDIA

PostPosted: Tue Jun 21, 2005 8:30 am    Post subject:
Reply with quote

Hi Reddy,

Is it for Temporary Dataset or Non-Temporary Dataset.

If it is a Temporary Dataset then the Abnormal Termination Disposition is always DELETE regardless of whatever is coded.

If it is a Non-Temporary Dataset then the answer from David is correct.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts JCL to delete component in a package sundaram.naveen Compuware & Other Tools 14 Tue Nov 29, 2016 6:21 pm
No new posts How to delete second instance from Fl... Gunapala CN DFSORT/ICETOOL 6 Tue Oct 18, 2016 11:42 pm
No new posts Delete record or Reset RC code using ... mpawan Compuware & Other Tools 4 Tue Jul 26, 2016 3:52 pm
No new posts Delete VSAM File Records amitc23 CICS 6 Sun Apr 10, 2016 10:10 am
No new posts DB2 Stored Procedure - Dynamic SQL - ... GuyC DB2 2 Wed Feb 17, 2016 5:10 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us