ajdeaver Beginner
Joined: 10 Apr 2003 Posts: 3 Topics: 2 Location: St. Paul Minnesota
|
Posted: Wed Apr 30, 2003 2:40 pm Post subject: OSAM Multi Volume Allocations |
|
|
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. |
|