IBM 5655-DB2 Server User Manual


 
Test Cases for DB2 Recovery Data Sets 197
B.3.3 Storage Group
Two additional storage groups are defined to cater for image copy data sets,
SGDBIC and SGDICH. Table 34 on page 197 shows the distribution of volumes
across all the storage groups used in all three examples of this appendix.
Table 34. 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. Storage Group Routine Extract Incorporating Image Copies
B.3.4 Data Set Allocation Results
Again, ISMF test cases were built and executed against the updated SCDS and
the ACDS, producing the expected results.
Following the activation of the new SMS configuration, a number of image copy
data sets were allocated. Figure 137 on page 198 shows the JCL used in this
exercise.
SMS STORAGE 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