168 Storage Management with DB2 for OS/390
Figure 91. TestCase 3 - ISMF Managem ent Class Definition
Next, usingI SMF,option 7.1, the ACS routine code was editedto assign theappropriate Management Classes to all data sets with the corresponding namingconvention.F igure 92 on page 168 displays the associated routine extract:
Figure 92. TestCase 3 - Management ClassR outine 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-offGDS 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