IBM 5695-DF1 Server User Manual


 
196 Storage Management with DB2 for OS/390
B.3.2 Management Class
Two additional Management Classes were defined;
MCDBICD for daily primary image copy data sets
MCDBICW for weekly primary image copy data sets
Figure 120 on page 187 shows an extract of the Management Class ACS routine
used in the previous tests, now including the two additional classes for availability,
again depending upon the naming convention:
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 &DSN EQ &ICM)
THEN DO
SET &MGMTCLAS = 'MCDBICM'
END
ELSE DO
SET &MGMTCLAS = 'MCDBLV2'
END