

9. PROCESSING › 9.3 Daily Processing Flow for HSM and HSB (DAY095) › 9.3.2 Phase 1 - Input Raw VCC SMF Data
9.3.2 Phase 1 - Input Raw VCC SMF Data
The Input Phase reads data records from the file defined by
the INPUTSMF DD statement. The user exit USRSEL is executed
if defined. The record type is checked and non-HSM records
are ignored. The record length is checked to verify that the
record is of the proper format. A check is also made to
insure that the record was produce by VCC at the proper
level.
During the input phase, the checkpoint file is checked to
prevent data which has already been input to CA MICS from
being input to CA MICS a second time. A check is also
performed to ascertain if multiple inventory (VCC) runs are
being input.
The main function of this first phase is the creation of a
series of work files corresponding to the different subtypes
that might appear in each record produced by VCC. Type 'M'
and 'B' (Migration and Backup) records contain similar
information, and are largely processed by the same code, but
separate work files HSMMIG00 and HSBBAC00 are created. Prior
to writing the HSMMIG00 work file, the DSNODE 1 through 5 and
DSNODEL data elements are built, and the HSMACRT Account Code
Derivation Exit is called to assign account code values for
each migrated data set processed.
Type 'B' records represent backup versions of data sets.
Because there are likely multiple backup versions or copies
of a given data set, processing time is saved by deferring
the %INCLUDE of HSMACRT until the work version of the
HSBBAC00 file has been sorted and reduced to a single
observation per data set name. Therefore, backup version
records are simply written to a work data set in phase 1 in
preparation for phase 2 processing.
The subtype 'C' records are used in creating the Volume
Planning File (HSMVOL), and the input processing phase simply
creates an observation for each record on the WORK.HSMVOL00
file.
The subtype 'T' records are used in creating the Tape
Planning File (HSMTAP). Since separate records are created
for each type of tape under DFHSM control (Backup, Dump and
Migration), they get summarized into consolidated records
during phase 2 processing. Consequently, the user output
exit is not invoked for this file until that time.
A final record, subtype 'Z', marks the end of a single
inventory run. When this record is detected a single record
is written to the WORK.SNAPSHOT file to indicate the SYSID
and end timestamp of a complete inventory. Informational
messages are also written to the MICSLOG Sysout data set
indicating the number of records processed in the inventory.
Once all of the input data has been processed, control is
passed to the next phase for sorting of the created work
files and further processing.
Copyright © 2014 CA.
All rights reserved.
 
|
|