Previous Topic: 9.3.3 Phase 2 - Sort and Build FilesNext Topic: 9.3.5 Description of Phase 2 Error Handling


9.3.4 Phase 3 - Summarization and Aging


The final phase of the DAY095 step invokes the source program
modules DYHSMSUM and DYHSMAGE.  DYHSMSUM begins by deleting
any 00 cycles in the DAYS, WEEKS, and MONTHS timespans and
also the highest cycle in the DAYS timespan.   Summarization
MACROs are the invoked for each file.

The FILE statements in HSMGENIN show an E for the DAYS
timespan which means a special summarization module is to be
called. The HSMTAP file is the only file with "standard"
summarization but the other files get summarized with the
following modules controlling the process:

a. sharedprefix.MICS.SOURCE(#BACDSUM)

   - If possible, DETAIL data is not sorted into the DAYS
     sequence.  Only if multiple inventories are present or
     if DAYS sort sequence is not contained as a subset of
     DETAIL will we need to sort the file again. See message
     HSM00300 in Appendix A.

   - The cost routine generated by CA MICS Accounting and
     Chargeback is called to price the group of backup data
     sets summarized to a given account code structure (only
     if ACCOUNTING DAYS is in effect).

   - The USRDBAC exit is called to allow ultimate user
     control over content and existence of this observation.

b. sharedprefix.MICS.SOURCE(#MIGDSUM)

   - If possible, DETAIL data is not sorted into the DAYS
     sequence.  Only if multiple inventories are present or
     if DAYS sort sequence is not contained as a subset of
     DETAIL will we need to SORT the file again. See message
     HSM00300 in Appendix A.

   - The cost routine generated by the CA MICS Accounting and
     Chargeback product is called to price the group of
     migrated data sets summarized to a given account code
     structure (only if ACCOUNTING DAYS is in effect).

   - The USRDMIG exit is called to allow ultimate user
     control over content and existence of this observation.

c. sharedprefix.MICS.SOURCE(#VOLDSUM)

   - If possible, DETAIL data is not sorted into the DAYS
     sequence.  Only if multiple inventories are present or
     if DAYS sort sequence is not contained as a subset of
     DETAIL will we need to SORT the file again.  See message
     HSM00300 in Appendix A.

   - The USRDVOL exit is called to allow ultimate user
     control over content and existence of this observation.

DYVCAAGE updates the checkpoint file and logs an image of the
checkpoint record to the MICSLOG Sysout data set.  PROC
DATASETS is invoked to age the DETAIL and DAYS 00 cycles to
01, 01 to 02, etc.  For the WEEKS and MONTHS timespans the
most current cycle created by summarization has a W0 or M0
suffix respectively.  The AGERNOT MACRO ages this cycle to
become the updated to-date cycle (00) for each data set
supported in the specified timespan.