Allocating multivolume OSAM data sets on non-SMS-managed DASD
The JCL in the following example allocates a multivolume OSAM data set on a non-SMS managed direct-access storage device (DASD).
The data sets allocated with this JCL are not compatible with the Database Image Copy 2 utility.
Use the JCL sample to allocate a multivolume OSAM data set on a non-SMS managed
direct-access storage device (DASD). The data sets allocated with this JCL are not compatible with
the Database Image Copy 2 utility.
//OSAMALLO JOB A,OSAMEXAMPLE
//S1 EXEC PGM=IEFBR14
//EXTENT1 DD VOL=SER=AAAAAA,SPACE=(CYL,(20,5)),UNIT=3390,
// DSN=OSAM.SPACE,DISP=(,KEEP)
//S2 EXEC PGM=IEFBR14
//EXTENT2 DD VOL=SER=BBBBBB,SPACE=(CYL,(30,5)),UNIT=3390,
// DSN=OSAM.SPACE,DISP=(,KEEP)
.
.
.
//LAST EXEC PGM=IEFBR14
//EXTENTL DD VOL=SER=LLLLLL,SPACE=(CYL,(30,5)),UNIT=3390,
// DSN=OSAM.SPACE,DISP=(,KEEP)
// EXEC PGM=IEHPROGM
//SYSPRINT DD SYSOUT=*
//DD1 DD UNIT=3390,VOL=SER=AAAAAA,DISP=SHR
//DD2 DD UNIT=3390,VOL=SER=BBBBBB,DISP=SHR
.
.
.
//DDL DD UNIT=3390,VOL=SER=LLLLLL,DISP=SHR
//SYSIN DD *
CATLG DSNAME=OSAM.SPACE,VOL=3390=(AAAAAA,BBBBBB,LLLLLL)
/*