IBM 5655-DB2 Server User Manual


 
188 Storage Management with DB2 for OS/390
Figure 121 on page 188 shows an extract of the Storage Group ACS routine.
Figure 121. Storage Group Routine Extract for BSDS and Active Logs
B.1.4 ISMF Test Cases
Data set name pattern DB2P.BSDS01.DATA was tested against the active SMS
configuration. Figure 122 on page 188 shows the output from the ISMF test case
results:
Figure 122. ISMF Test Result for BSDS (1)
The ACS routines assigned a null Storage Class as expected, thus making the
data set non-SMS managed.
Figure 123 on page 189 shows the same data set name pattern tested against
the
updated SCDS. As can be seen on this occasion, the data set acquires a
valid Storage Class and is therefore eligible for SMS management. Valid
Management Class and Storage Group attributes are also assigned:
/************************************************/
/* STORAGE GROUP */
/* SELECTION ROUTINE FOR DB2 BSDS & ACTIVE LOGS */
/************************************************/
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'
END
********************************* Top of Data ****************************
ACS TESTING RESULTS
CDS NAME : ACTIVE
ACS ROUTINE TYPES: DC SC MC SG
ACS TEST LIBRARY : PAOLOR3.JCL.CNTL
ACS TEST
MEMBER EXIT CODE RESULTS
--------- ---------- ------------------------------------
DESCRIPTION: DB2P.BSDS01.DATA
SMSTEST1 0 DC = NULL VALUE ASSIGNED
0 SC = NULL VALUE ASSIGNED
NOTE: MC AND SG NOT EXECUTED WHEN ACS READ/WRITE VARIABLE STORCLAS = '
ACS TESTING RC: 00