Previous Topic: 9.1 Processing OverviewNext Topic: 9.2.1 Preparation Phase


9.2 Daily Update Processing Flow

The DAY060 step of the DAILY job processes IMS information.
Figure 9-1 illustrates the IMS Analyzer's processing flow.

       /---------------\
       |     START     |                                          +-------------+
       \/                                          |             |
               |                                       DECODING   |             |                                         +---+
PREPARATION    |                                       PHASE      |             +-----------------------------------------| A |
PHASE          |                                                  |             |  TYPE = '01'X  Input Message            +---+
               |                                                  |             |         '03'X  Output Message
               |                                                  |             |         '07'X  Application Accounting
               |                                                  |             |         '08'X  Application Schedule
               |                                                  |             |       '0A07'X  CPI-C Driven Terminate
       +---------------+                                          |             |       '0A08'X  CPI-C Driven Start
       |  Delete Work  |                                          |             |         '31'X  DLI Communication's GU
       |     Files     |                                          |             |         '35'X  Enqueue of Message
       +---------------+                                          |             |         '36'X  Dequeue Save or Delete
               |                                                  |             |                  Message
       +---------------+                                          |             | '59nn'X  Fast Path records
       | Define Files, |                                          |             |
       |    Fields,    |                                          |             |
       | Lengths, and  |                                          |             |                                         +---+
       | Data Elements |                                          |             +-----------------------------------------| B |
       +---------------+                                          |             |  TYPE = '41'X  Application Checkpoint   +---+
               |                                                  |             |         '20'X  Data Base Opened
       +---------------+                                          |             |         '21'X  Data Base Closed
       |  Set Internal |                                          |             |         '24'X  Data Base I/O Error
       |   Variables   |                                          |             |         '4C'X  Data Base Started/Stopped
       +---------------+                                          |             |         '10'X  Security Violation
               |             +---+                                |             |         '14'X  Dial Up Disconnected
               +-------------| A |                                |             |         '15'X  Dial Up Connected
INPUT          |             +---+                                |             |         '02'X  System Reconfiguration
PHASE          |                                                  |             |         '06'X  Log Open/Close
       +---------------+                                          |             |         '42'X  Begin New Log Data Set
       | Read Assembly |                                          |             |         '69'X  Unauthorized Dial Up
       |    routine    |                                          |             |         '07'X  Application Accounting
       |    Record     |                                          |             |         '16'X  Sign On/Off
       +---------------+     +-------------+                      |             |                                         +---+
               |     At EOF  |    Print    |    /------\          |             +-----------------------------------------| C |
               +-------------|    Count    |----| STOP |          |             |  TYPE = 'FA'X IMF Transaction Log       +---+
               |             |  Statistics |    \/          |             |         'F9'X IMF Program Log
       *****************     +-------------+                      |             |
       *    _USRSEL    *                                          |             |
       *     exit      *                                          |             |
       ****************+                                          |             |                                         +---+
               |                                                  |             +-----------------------------------------| D |
               |                                                  |             |  TYPE = '40'X  Checkpoint Record        +---+
               |                                                  |             |
               |                                                  |             |                                         +---+
               +--------------------------------------------------+             +-----------------------------------------| E |
                                                                                   TYPE = '45'X  Checkpoint Pool          +---+
                                                                                                   Statistics
 Figure 9-1.  IMS Analyzer Processing Flow Diagram (Part 1 of 5)



                                              DATA INPUT          /---\
                                              PHASE               | B |
                                                                  \/
                                                                    |
                                                                    |
                                                             +---------------+
                                                             |   Read Data   |
                                                             |    Elements   |
                                                             +---------------+
                                                                    |
                                                             +---------------+
                                                             | Set Incident  |
                                                             | Code and Text |
                                                             +---------------+
                                                                    |
                                                             +---------------+
                                                             | Derive Common |
                                                             |     Fields    |
                                                             +---------------+
                                                                    |
                                                             *****************
                                                             *   _USRSINC    *
                                                             *     Exit      *
                                                             *****************
                                                                    |
                                                             +---------------+
                                                             |   Output to   |
                                                             |    IMSINC     |
                                                             |     file      |
                                                             +---------------+
                                                                    |
                                                                    |
                                                                  +-+-+
                                                                  | A |
                                                                  +---+



 Figure 9-1.  IMS Analyzer Processing Flow Diagram (Part 2 of 5)
                            /---\
                            | C |
                            \/
                              |                            +------------------------------+
                      +---------------+                    |                              |
                      |   Read Data   |                    |                              |
                      |    Elements   |                    |                      +---------------+
                      +---------------+                    |                      | Derive Common |
                              |                            |                      |     Fields    |
                      +---------------+                    |                      +---------------+
                      | Compute Data  |                    |                              |
                      |   Elements    |                    |                      *****************
                      +---------------+                    |                      *    Execute    *
                              |                            |                      *    IMSRLRT    *
                      +---------------+                    |                      *    Routine    *
                      |  Accumulate   |                    |                      *****************
                      |    Counts     |                    |                              |
                      +---------------+                    |                      *****************
                              |                            |                      *    _USRRLI    *
                              |                            |                      *     Exit      *
                              |                            |                      *****************
                              |                            |
                              |                            |                              |
                              |                            |                      *****************
                              |                            |                      *    Execute    *
                              |                            |                      *    IMSACRT    *
                              |                            |                      *    Routine    *
                              |                            |                      *****************
                              |                            |                              |
                              |                            |                      *****************
                              |                            |                      *    Execute    *
                              |                            |                      *    IMSAURT    *
                              |                            |                      *    Routine    *
                              |                            |                      *****************
                      *****************                    |                              |
                      *   _USRSINC    *                    |                      *****************
                      *     Exit      *                    |                      *   _USRSISY    *
                      *****************                    |                      *     Exit      *
                              |                            |                      *****************
                      +---------------+                    |                              |
                      |   Output to   |                    |                      +---------------+
                      |    IMSINC     |                    |                      |   Output to   |
                      |     file      |                    |                      |    IMSISY     |
                      +---------------+                    |                      |     file      |
                              |                            |                      +---------------+
                              |                            |                              |
                              +----------------------------+                            +-+-+
                                                                                        | A |
                                                                                        +---+



 Figure 9-1.  IMS Analyzer Processing Flow Diagram (Part 3 of 5)
                            /---\
                            | D |
                            \/
                              |
                      +---------------+
                      |     Read      |
                      |    Subtype    |
                      +---------------+
                              |                                       +---------------+
                              |                                       |     Read      |    +---+
                              +---------------------------------------|     Data      |----| A |
                              | SUBTYPE = '01'X  Checkpoint Header    |   Elements    |    +---+
                              |                                       +---------------+
                              |
                              |                                       +---------------+
                              |                                       |     Read      |    +---+
                              +---------------------------------------|     Data      |----| A |
                              | SUBTYPE = 'FF'X  Assembly RTN         |   Elements    |    +---+
                              |                  CNT & SMB Stats      +---------------+
                              |
                              |                                       +---------------+
                              |                                       |     Read      |
                              +---------------------------------------|     Data      |
                                SUBTYPE = '98'X  Checkpoint Trailer   |   Elements    |
                                                                      +---------------+
                                                                              |
                                                                      +---------------+
                                                                      |   Calculate   |
                                                                      |   DURATION    |
                                                                      |  and STARTTS  |
                                                                      +---------------+
                                                                              |
                                                                      *****************
                                                                      *   _USRSISY    *
                                                                      *     Exit      *
                                                                      *****************
                                                                              |
                                                                      +---------------+
                                                                      |   Output to   |
                                                                      |    IMSISY     |
                                                                      |     file      |
                                                                      +---------------+
                                                                              |
                                                                      +---------------+
                                                                      |     Reset     |
                                                                      | Data Elements |
                                                                      +---------------+
                                                                              |
                                                                            +-+-+
                                                                            | A |
                                                                            +---+

 Figure 9-1.   IMS Analyzer Processing Flow Diagram (Part 4 of 5)
                            /---\
                            | E |
                            \/
                              |
                      +---------------+
                      |     Read      |
                      |    Subtype    |
                      +---------------+
                              |                                       +---------------+
                              |                                       |     Read      |    +---+
                              +---------------------------------------|     Data      |----| A |
                                SUBTYPE = '01'X  Dynamic Log Stats    |    Elements   |    +---+
                                          '02'X  Message Queue Poll   +---------------+
                                                   Statistics
                                          '03'X  MFS Buffer Pool Stats
                                          '04'X  ISAM/OSAM Buffer Pool
                                                   Statistics
                                          '05'X  DMB/PSB/CIOP Pool
                                                   Statistics
                                          '06'X  Scheduling Activities
                                                   Statistics
                                          '08'X  VSAM Sub Pool
                                                   Statistics
                                          '09'X  Program Isolation
                                                   Statistics
                                          '0A'X  Latch Conflict
                                                   Statistics
                                          '0B'X  Dispatching Storage
                                                   Statistics
                                          '0E'X  Fixed Pool Statistics
                                          '0F'X  Dispatcher Statistics













 Figure 9-1.  IMS Analyzer Processing Flow Diagram (Part 5 of 5)

Step DAY060 consists of the following phases:

   1 - Preparation Phase
   2 - Input Phase
   3 - Decoding Phase
   4 - Data Input Phase
   5 - Data Summarization
   6 - Assembly Language Program Flow