196 Storage Management with DB2 for OS/390

B.3.2 Management Class

Twoadditional Management Classes were defined;• MCDBICD for daily primary image copy data sets• MCDBICW for weekly primary image copy data setsFigure 120 on page 187 shows an extract of the Management Class ACSrout ineusedin t he previoust ests, nowincluding thetwo additional classes for availability,again depending upon the namingconvention:
Figure 135. Management Class Routine Extract Incorporating Image Copies
/**********************************************/
/* MANAGEMENT CLASS */
/* FILTLIST DEFINITIONS */
/**********************************************/
FILTLIST ACTLOG INCLUDE(DB2*.BSDS*.**,
DB2*.LOGCOPY*.DS*)
FILTLIST ICD INCLUDE(DB2%IC.P%D*.T*.*.A*)
FILTLIST ICW INCLUDE(DB2%IC.P%W*.T*.*.A*)
FILTLIST ICM INCLUDE(DB2%IC.P%M*.T*.*.A*)
/************************************************/
/* SELECTION ROUTINE FOR DB2 RECOVERY DATA SETS */
/************************************************/
IF &DSN EQ &ACTLOG
THEN DO
SET &MGMTCLAS = 'MCDBACTL'
EXIT
END
IF &DSN EQ &ICD
THEN DO
SET &MGMTCLAS = 'MCDBICD'
EXIT
END
IF &DSN EQ &ICW
THEN DO
SET &MGMTCLAS = 'MCDBICW'
EXIT
END
IF (&DSN(2) EQ 'ARCHLOG1' OR &DSNEQ &ICM)
THEN DO
SET &MGMTCLAS = 'MCDBICM'
END
ELSE DO
SET &MGMTCLAS = 'MCDBLV2'
END