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
 
What is the difference between keep & Catalog

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL
Author Message
subhasis_50

Moderator


Joined: 09 Mar 2005
Posts: 367
Location: Earth

PostPosted: Wed May 18, 2005 3:02 pm    Post subject: What is the difference between keep & Catalog
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
References
David P

Active User


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

PostPosted: Wed May 18, 2005 4:22 pm    Post subject:
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

Global Moderator


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

PostPosted: Wed May 18, 2005 4:23 pm    Post subject: Re: What is the difference between keep & Catalog
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: 367
Location: Earth

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

Hi Priyesh & David,
Thanks for ur help.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL All times are GMT + 6 Hours
Page 1 of 1