MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Queries regarding JCL

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL)
View previous topic :: View next topic  
Author Message
Shaikh Riazur Nabi
Beginner


Joined: 11 Aug 2005
Posts: 6
Topics: 5

PostPosted: Wed Nov 23, 2005 2:36 am    Post subject: Queries regarding JCL Reply with quote

Hi,
Please, try to help me regarding my following two queries.

Q1.What is the basic difference between DISP=KEEP and DISP=CATLG? can i use a dataset which has been created in one job with DISP=KEEP in another job?
Q2.Can i concatenate 10 tape datasets? If it is possible then how?

Thanks,
Shaikh Riazur Nabi
Back to top
View user's profile Send private message
Phantom
Data Mgmt Moderator
Data Mgmt Moderator


Joined: 07 Jan 2003
Posts: 1056
Topics: 91
Location: The Blue Planet

PostPosted: Wed Nov 23, 2005 4:28 am    Post subject: Reply with quote

Shaikh Riazur Nabi,

Quote:

Q1.What is the basic difference between DISP=KEEP and DISP=CATLG? can i use a dataset which has been created in one job with DISP=KEEP in another job?


KEEP - Indicates that the data set is to be kept on the volume if this step terminates normally. Without SMS, only KEEP is valid for VSAM data sets. With SMS, all dispositions are valid for VSAM data sets; however, UNCATLG is ignored. For new SMS-managed data sets, KEEP implies CATLG.


Quote:

Q2.Can i concatenate 10 tape datasets? If it is possible then how?


Yes, you can do this but you just have to specify the VOL numbers individually like this.

Code:

//R010    EXEC  PGM=SORT
//SORTIN    DD  DSN=MY.TAPE.FILE1,DISP=SHR,VOL=SER=(12345)
//                DD  DSN=MY.TAPE.FILE2,DISP=SHR,VOL=SER=(67890)
//                DD  DSN=MY.TAPE.FILE3,DISP=SHR,VOL=SER=(13579)
.....


Hope this helps,

Thanks,
Phantom
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL) All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group