Processing in this phase updates the week-to-date and month-to-date cycles of the files shown in Figure 9-2. No user exits are invoked in this phase.
+-----------------+
| for files (fff) |
| TSC, TSI, TSO, |
| TSU, _BC, _BI, |
| _BU, DRU, TSW |
+-----------------+
| +------------+ +------------+
+----------------+ | CONTINUE 2 | | CONTINUE 3 |
| If DAYS time- | +------------+ +------------+
| span exists for| | |
| the fff file | +----------------+ +----------------+
+----------------+ | If WEEKS time | | If MONTHS time-|
| | span exists for| | span exists for|
+-----------------+ | the fff file | | the fff file |
| Sort | +----------------+ +----------------+
| DETAIL.TSOfff00 | | |
| to | +-----------------+ +-----------------+
| WORK.TSOfff00 | | Sort | | Sort |
+-----------------+ | DETAIL.TSOfff00 | | DETAIL.TSOfff00 |
| | to | | to |
+--------------+ | WORK.TSOfff00 | | WORK.TSOfff00 |
| By DAYS file | +-----------------+ +-----------------+
| sequence | | |
+--------------+ +---------------+ +---------------+
| | By WEEKS file | | By MONTHS file|
+-----------+ | sequence | | sequence |
| Summarize | +---------------+ +---------------+
+-----------+ | |
| +----------------+ +----------------+
+---------------+ | Combine with | | Combine with |
| Write | | WEEKS.TSOfff00 | | MONTHS.TSOfff00|
| DAYS.TSOfff00 | +----------------+ +----------------+
+---------------+ | |
| +-----------+ +-----------+
+------------+ | Summarize | | Summarize |
| CONTINUE 2 | +-----------+ +-----------+
+------------+ | |
+----------------+ +----------------+
| Write | | Write |
| WEEKS.TSOfffWO | | MONTHS.TSOfffMO|
+----------------+ +----------------+
|
+------------+
| CONTINUE 3 |
+------------+
Figure 9-2. Data Base Time-Span Update Phase
| Copyright © 2012 CA. All rights reserved. | Tell Technical Publications how we can improve this information |