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 

OSAM Multi Volume Allocations

 
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
ajdeaver
Beginner


Joined: 10 Apr 2003
Posts: 3
Topics: 2
Location: St. Paul Minnesota

PostPosted: Wed Apr 30, 2003 2:40 pm    Post subject: OSAM Multi Volume Allocations Reply with quote

Two ways to allocate a multi-volume file within an SMS environment:

Code:

//ALLOCATE EXEC PGM=IEFBR14                                   
//ROSLOAD  DD DSN=INDV.TCISS.DB.SEPACC1.JEFF,                 
//         STORCLAS=SCADMIN,                                 
//         DISP=(NEW,CATLG),                                 
//         VOL=SER=(CPY031,CPY036,CPY037,CPY027),             
//         DCB=(DSORG=PS,RECFM=FBS,BLKSIZE=22428,LRECL=22428),
//         SPACE=(CYL,(50,100)),UNIT=DISK                   


and this one...

Code:

//ALLOCATE EXEC PGM=IEFBR14                             
//DD02     DD DISP=(NEW,CATLG),DCB=(DSORG=PS),           
//         UNIT=DISK,VOL=SER=(CPY031),STORCLAS=SCADMIN, 
//         SPACE=(CYL,(50,5)),                           
//         DSN=INDV.TCISS.DB.SEPACC1.JEFF               
//DD03     DD DISP=(MOD,KEEP),DCB=(DSORG=PS),           
//         UNIT=DISK,VOL=SER=(CPY036),STORCLAS=SCADMIN, 
//         SPACE=(CYL,(50,5)),                           
//         DSN=INDV.TCISS.DB.SEPACC1.JEFF               
//DD04     DD DISP=(MOD,KEEP),DCB=(DSORG=PS),           
//         UNIT=DISK,VOL=SER=(CPY037),STORCLAS=SCADMIN, 
//         SPACE=(CYL,(50,5)),                           
//         DSN=INDV.TCISS.DB.SEPACC1.JEFF               
//DD05     DD DISP=(MOD,KEEP),DCB=(DSORG=PS),           
//         UNIT=DISK,VOL=SER=(CPY027),STORCLAS=SCADMIN, 
//         SPACE=(CYL,(50,100)),                         
//         DSN=INDV.TCISS.DB.SEPACC1.JEFF               


I'm being told by my IMS DBA that the first one does not work for his OSAM datasets, that only the second will do. Can anyone explain to me the difference between the results of these allocations as they look to be the same to me.

SCADMIN is a storage class we have defined with the guarenteed space attribute turned on.
Back to top
View user's profile Send private message Send e-mail
Mike
Beginner


Joined: 03 Dec 2002
Posts: 114
Topics: 0
Location: Sydney, Australia

PostPosted: Mon May 12, 2003 10:35 pm    Post subject: Reply with quote

Although I'm not sure I think that the latter method creates dataset extents on each of the volumes these could be virtually be classed as seperate datasets. The first method will only expand into extents if insufficient space exists on the first volume. I think that IMS uses the additional extents for stroring overflow data which could exist even if the primary extent doesn't need expanding.
_________________
Regards,
Mike.
Back to top
View user's profile Send private message
Bithead
Advanced


Joined: 03 Jan 2003
Posts: 550
Topics: 23
Location: Michigan, USA

PostPosted: Tue May 13, 2003 9:57 am    Post subject: Reply with quote

OSAM dataset allocation has a quirk that can put an end-of-file marker on the first physical dataset that makes the rest of the dataset unuseable.

I used to split my databases across multiple volumes for performance reasons but I have dropped that technique with the faster, cached DASD. The JCL to build the database would allocate but not catalog each extent. An additional step would then catalog them together.
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