IBM 5655-DB2 Server User Manual


 
Test Cases for DB2 Recovery Data Sets 195
The naming standard for the data sets is shown in 3.8.5, “Image Copy Names”
on page 24, using as a high level qualifier the subsystem identifier, followed by
IC. This name includes three codes in the second qualifier:
Col 1
P or S to indicate primary or secondary copy
Col 2
S or H to indicate standard or critical copy
Col 3
D, W or M to indicate daily, weekly or monthly copy
Storage Class, Management Class and Storage Group constructs are defined
for all image copies on all subsystems as specified in 7.5, “Image Copies” on
page 71.
Primary image copies are placed on SGDBIC or SGDBICH
Secondary image copies are placed on SGDBARCH
The ACS routines from the example in B.2, “Archive Logs” on page 191 will be
extended to support the image copy data sets.
B.3.1 Storage Class
Two additional Storage Classes were defined:
SCDBIC for data sets with standard performance requirements
SCDBICH for data sets with high performance requirements
Figure 128 on page 192 shows an extract of the Storage Class ACS routine used
in the previous tests, now including the separation of image copies to provide
different levels of performance, depending upon the naming convention:
Figure 134. Storage Class Routine Extract Incorporating Image Copies
/************************************************/
/* STORAGE CLASS */
/* FILTLIST DEFINITIONS */
/************************************************/
FILTLIST DBSYS INCLUDE(DB2*.BSDS*.**,
DB2*.LOGCOPY*.DS*)
FILTLIST DBARCH INCLUDE(DB2*.ARCHLOG*.**)
FILTLIST ICHIGH INCLUDE(DB2%IC.PH*.T*.*.A*)
FILTLIST ICSTD INCLUDE(DB2%IC.S*.T*.*.A*,
DB2%IC.%S*.T*.*.A*)
/************************************************/
/* SELECTION ROUTINE FOR DB2 RECOVERY DATA SETS */
/************************************************/
SELECT
WHEN (&DSN = &DBSYS)
SET &STORCLAS = 'SCDBACTL'
WHEN (&DSN = &DBARCH)
SET &STORCLAS = 'SCDBARCH'
WHEN (&DSN = &ICSTD)
SET &STORCLAS = 'SCDBIC'
WHEN (&DSN = &ICHIGH)
SET &STORCLAS = 'SCDBICH'
OTHERWISE SET &STORCLAS = ''
END