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
 

 

Will DISP=(NEW,KEEP,KEEP) be used?

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

New User


Joined: 15 Jun 2005
Posts: 16

PostPosted: Fri Apr 24, 2009 2:10 pm    Post subject: Will DISP=(NEW,KEEP,KEEP) be used?
Reply with quote

when we specify a file DISP=(NEW,KEEP), it will not be catloged ,then it can't be used in the next step with DISP=(OLD,DELETE), right? Then is there a situation that we may use DISP=(NEW,KEEP,KEEP) ?
Back to top
View user's profile Send private message

expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Fri Apr 24, 2009 2:26 pm    Post subject:
Reply with quote

I think you may find that in an SMS managed environment, the KEEP becomes CATLG by default.
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Fri Apr 24, 2009 2:54 pm    Post subject: Re: Will DISP=(NEW,KEEP,KEEP) be used?
Reply with quote

lovemorning wrote:
Then is there a situation that we may use DISP=(NEW,KEEP,KEEP) ?
Why not just test it at your end?
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8117
Location: East Dubuque, Illinois, USA

PostPosted: Fri Apr 24, 2009 3:28 pm    Post subject:
Reply with quote

I used to use NEW,KEEP when building tapes that were shipped to customers. I didn't want the tape in the catalog since we wouldn't get it back, and the tapes came from a special pool.
Back to top
View user's profile Send private message
Garry Carroll

Active Member


Joined: 08 May 2006
Posts: 995
Location: Dublin, Ireland / Edinburgh, Scotland

PostPosted: Fri Apr 24, 2009 3:45 pm    Post subject:
Reply with quote

Quote:
when we specify a file DISP=(NEW,KEEP), it will not be catloged ,then it can't be used in the next step with DISP=(OLD,DELETE), right?


It can, if you specify the VOLSER in both steps.

The 3rd parameter DISP=(NEW,KEEP,KEEP) specifies the action to occur in an abnormal situation.

Garry.
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Fri Apr 24, 2009 9:00 pm    Post subject:
Reply with quote

Hello,

Quote:
Why not just test it at your end?
This may show what happens on a particular system, but does not suggest why it might be used. . .
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 Updating a VSAM file with DISP=OLD sheersh JCL & VSAM 8 Tue Mar 14, 2017 6:14 pm
No new posts DISP=(SHR,PASS) performance opinion steve-myers JCL & VSAM 1 Wed Dec 02, 2015 11:53 pm
No new posts Question about DISP=MOD harifsheik JCL & VSAM 3 Tue Jun 16, 2015 2:39 pm
No new posts DISP parameters spoorni JCL & VSAM 8 Tue Jul 22, 2014 3:42 am
No new posts SAS - Temp dataset with DISP=MOD vasanthz All Other Mainframe Topics 3 Tue Jun 24, 2014 2:00 am


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