z/OS DFSMS Implementing System-Managed Storage
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Example: Allocating Control Data Sets

z/OS DFSMS Implementing System-Managed Storage
SC23-6849-00

Figure 1. Sample Job for Allocating Control Data Sets
//   EXEC  PGM=IDCAMS
//SYSPRINT DD SYSOUT=*
//SYSIN    DD *
 DEFINE CLUSTER(NAME(YOUR.OWN.SCDS) LINEAR VOLUME(D65DM1)        -
                TRK(25 5) SHAREOPTIONS(2,3))                     -
                DATA(NAME(YOUR.OWN.SCDS.DATA))

 DEFINE CLUSTER(NAME(YOUR.OWN.ACDS) LINEAR VOLUME(D65DM2)        -
                TRK(25 5) SHAREOPTIONS(3,3))                     -
                DATA(NAME(YOUR.ACDS.DATA))

 DEFINE CLUSTER(NAME(YOUR.OWN.COMMDS) LINEAR VOLUME(D65DM3)      -
                TRK(1 1) SHAREOPTIONS(3,3))                      -
                DATA(NAME(YOUR.OWN.COMMDS.DATA))

Specify SHAREOPTIONS(2,3) only for the SCDS. This lets one update-mode user operate simultaneously with other read-mode users between regions.

Specify SHAREOPTIONS(3,3) for the ACDS and COMMDS. These data sets must be shared between systems that are managing a shared DASD configuration in a DFSMS environment.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014