Previous Topic: 9.2.3 Data Base Time-Span Update Phase

Next Topic: 10. MODIFICATION

9.2.4 File Aging Phase


The aging phase deletes the oldest cycles of the DETAIL and
DAYS cycles and replaces them with the next oldest cycle and
so forth until the new interim cycle ('00') becomes the
current cycle ('01').  This phase also replaces the existing
week-to-date and month-to-date cycles ('00') with the updated
cycles ('W0' and 'M0', respectively).

No user exits are invoked in this phase, which is illustrated
in Figure 9-3.

                          +--------------------------+
                          | for all files that exist |
                          | at the DETAIL time-span  |
                          +--------------------------+
                                      |
                           +----------------------+
                           | Age cycle 00 through |
                           | the cycle limit      |
                           +----------------------+
                                      |
                          +--------------------------+
                          | for all files that exist |
                          | at the DAYS time-span    |
                          +--------------------------+
                                      |
                           +----------------------+
                           | Age cycle 00 through |
                           | the cycle limit      |
                           +----------------------+
                                      |
                          +--------------------------+
                          | for all files that exist |
                          | at the WEEKS time-span   |
                          +--------------------------+
                                      |
                           +--------------------+
                           | Age cycle W0 over  |
                           | cycle 00 (replaces |
                           | cycle 00)          |
                           +--------------------+
                                      |
                          +--------------------------+
                          | for all files that exist |
                          | at the  MONTHS time-span |
                          +--------------------------+
                                      |
                           +--------------------+
                           | Age cycle M0 over  |
                           | cycle 00 (replaces |
                           | cycle 00)          |
                           +--------------------+

 Figure 9-3.  File Aging Phase