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

What is the difference between keep & Catalog


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
subhasis_50

Moderator


Joined: 09 Mar 2005
Posts: 363
Location: Earth

PostPosted: Wed May 18, 2005 3:02 pm
Reply with quote

Hi,
For creation of a new PS dataset, if i mention (NEW,CATLG,DELETE) OR (NEW,KEEP,DELETE), what will happen. What is the difference there please explain. I also want to use that file in other job.
Back to top
View user's profile Send private message
David P

Active User


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

PostPosted: Wed May 18, 2005 4:22 pm
Reply with quote

Hi Subhasis,

DISP=(NEW,CATLG,DELETE) means that you are going to create a new data set and if your step terminates normally that data set would be CATALOGED other wise it would be deleted.

For DISP=(NEW,KEEP,DELETE)

KEEP does not imply CATLG. As a result, DISP=(NEW,KEEP) should be rarely used because next time you retrieve the dataset, you need to specify UNIT and VOL=SER.

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

Senior Member


Joined: 28 Mar 2005
Posts: 1448
Location: Chicago, IL

PostPosted: Wed May 18, 2005 4:23 pm
Reply with quote

Think this will help you...

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/IEA2B650/12.19.2.2?SHELF=&DT=20040712170508&CASE=

The difference is there in the entry in system catalog, I think....

Regards,

Priyesh.
Back to top
View user's profile Send private message
subhasis_50

Moderator


Joined: 09 Mar 2005
Posts: 363
Location: Earth

PostPosted: Wed May 18, 2005 4:53 pm
Reply with quote

Hi Priyesh & David,
Thanks for ur help.
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 -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Timestamp difference and its average ... DB2 11
No new posts Difference when accessing dataset in ... JCL & VSAM 7
No new posts DASD - non SMS - volser change - VSAM... JCL & VSAM 2
No new posts What is the difference between Taskty... Compuware & Other Tools 2
No new posts Issue with CA Copycat-IGD17100I UNEXP... CA Products 5
Search our Forums:

Back to Top