TestCasesfor DB2 Recovery Data Sets 197
B.3.3 S torageGroup
Twoadditional storage groups are defined to cater for image copy data sets,
SGDBIC and SGDICH. Table34 on page 197 shows the distribution of volumes
across all the storage groups used in all three examples of this appendix.
Table34. Image Copies—Storage Group Volumes
Figure 121 on page 188 shows an extract of the Storage Group ACS routine to
divide the data sets by use of the &STORCLAS and &MGMTCLAS variables:
Figure 136. StorageGroup Routine Extract Incor porating Image Copies
B.3.4 DataSet Allocation Results
Again, ISMF test cases were built and executed against the updated SCDS and
the ACDS,produc ing the expected results.
Following theac tivationof thenew SMS configuration, a number of image copy
data sets were allocated. Figure 137 on page 198 shows the JCL used in this
exercise.
SMSSTORAGE GROUP VOLUMES
SGDB2PLG RV1CU1
RV2CU1
RV3CU1
RV2CU3
RV3CU3
SGDBACTL RV1CU3
RV2CU2
SGDBARCH RV1CU0
RV2CU0
RV3CU0
SGDBIC RV1CU2
SGDBICH RV3CU2
/************************************************/
/* STORAGE GROUP */
/* SELECTION ROUTINE FOR DB2 RECOVERY DATA SETS */
/************************************************/
SELECT
WHEN ((&STORCLAS = 'SCDBACTL')
AND (&DSN(1) = 'DB2D'))
SET &STORGRP = 'SGDBACTL'
WHEN ((&STORCLAS = 'SCDBACTL')
AND (&DSN(1) = 'DB2T'))
SET &STORGRP = 'SGDBACTL'
WHEN ((&STORCLAS = 'SCDBACTL')
AND (&DSN(1) = 'DB2P'))
SET &STORGRP = 'SGDB2PLG'
WHEN ((&STORCLAS = 'SCDBARCH')
OR (&MGMTCLAS = 'MCDBLV2'))
SET &STORGRP = 'SGDBARCH'
WHEN (&STORCLAS = 'SCDBIC')
SET &STORGRP = 'SGDBIC'
WHEN (&STORCLAS = 'SCDBICH')
SET &STORGRP = 'SGDBICH'
END