168 Storage Management with DB2 for OS/390
Figure 91. Test Case 3 - ISMF Management Class Definition
Next, using ISMF, option 7.1, the ACS routine code was edited to assign the
appropriate Management Classes to all data sets with the corresponding naming
convention. Figure 92 on page 168 displays the associated routine extract:
Figure 92. Test Case 3 - Management Class Routine Extract
MANAGEMENT CLASS DEFINE Page 2 of 5
Command ===>
CDS Name . . . . . . . . . : SMS.SCDS1.SCDS
Management Class Name . . . : MCDB21
Partial Release . . . . . . : CONDITIONAL
Migration Attributes
Primary Days Non-usage . : 7
Level 1 Days Date/Days . : 14
Command or Auto Migrate . : BOTH
GDG Management Attributes
# GDG Elements on Primary :
Rolled-off GDS Action . . :
/*******************************************/
/* MANAGEMENT CLASS */
/* FILTLIST DEFINITIONS */
/*******************************************/
FILTLIST MCDB20 INCLUDE(DB2P.DSNDB%.**)
FILTLIST MCDB21 INCLUDE(DB2D.DSNDB%.B*.**)
FILTLIST MCDB22 INCLUDE(DB2D.DSNDB%.*.**)
/*******************************************/
/* SELECTION ROUTINE FOR DB2 TABLE SPACES */
/*******************************************/
SELECT
IF &DSN EQ MCDB20
THEN DO
SET &MGMTCLAS = MCDB20
EXIT
END
IF &DSN EQ MCDB21
THEN DO
SET &MGMTCLAS = MCDB21
END
ELSE DO
SET &MGMTCLAS = 'MCDB22'
END