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

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


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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: 8797
Location: Welsh Wales

PostPosted: Fri Apr 24, 2009 2:26 pm
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

Superior Member


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

PostPosted: Fri Apr 24, 2009 2:54 pm
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: 8696
Location: Dubuque, Iowa, USA

PostPosted: Fri Apr 24, 2009 3:28 pm
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

Senior Member


Joined: 08 May 2006
Posts: 1193
Location: Dublin, Ireland

PostPosted: Fri Apr 24, 2009 3:45 pm
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

Moderator Emeritus


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

PostPosted: Fri Apr 24, 2009 9:00 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts ISPF 3.4 edit of a ps file, disp use... TSO/ISPF 3
No new posts Updating a VSAM file with DISP=OLD JCL & VSAM 8
No new posts DISP=(SHR,PASS) performance opinion JCL & VSAM 1
No new posts Question about DISP=MOD JCL & VSAM 3
No new posts DISP parameters JCL & VSAM 8
Search our Forums:

Back to Top