Previous Topic: Phase 1: System Command Verification

Next Topic: Phase 3: System Use Report Generation


Phase 2: Account File Creation

Input

Process

Output

CAIJSSMF
CAIJSHST

Supply modules acting as an E15 sort exit. Reformat the SMF and DOS data into condensed records called SMF transmittal records. These are passed to sort. Certain EXTDATA records are written directly to the account file. See Note 2 on Special Notes.

 

CAIJSAIP
CAIJSHST

Disposal modules acting as an E35 sort exit create the account file from:

 

 

  • the sorted transmittal records
  • a previously created account file
  • a previously created history file

- CAIJSACT

User Exits:

 

 

 

  • The INPUT Exit is invoked for every SMF record read.
  • The ACCOUNT Exit is invoked prior to writing the account record to the account file.

 

In this second phase:

CAIJSACT File Creation

                              ┌──────────┐
                              │ JSISORT  │
      ┌──────────────────────►│    1     │
      │                       └──────────┘
      │                             ▲  │       ┌────────────┐   ┌─────────────┐
      │                             │  │       │  CAIJSHST  │   │  CAIJSIP    │
      │                             │  │       └─────┬──────┘   └──────┬──────┘
      │ ◄────────────┐                 ▼             │                 │
      │              │            ┌──────────┐       └────────┬────────┘
      │              │            │   SORT   ├─────┐          │
      │              │            └──────────┘     │          │
      │              │                             │          │
      │              │                             ▼          ▼
      │              │                       ┌──────────┐   ┌───────────┐
┌─────┴─────┐  ┌─────┴─────┐                 │ ACCT     │   │ ACCT      │
│ JSIREAD   │  │           │                 │ Record   │   │ Record    │
│ JSIRPG20  │  │ JSIRPG21  │                 │ Build    │   │ Build     │
└───────────┘  └───────────┘                 └─────┬────┘   └─────┬─────┘
   ▲        ▲          ▲                           │              │
   │        │          │                           │              │
   │    ┌───┴────┐     │                           │              │
   │    │ Input  │     │                           └───────┬──────┘
   │    │ Exit   │     │                                   │
   │    └────────┘     │                                   │
   │               ┌───┘                                   │
┌──┴───────┐       │                                       │
│ CAIJSSMF │       │                                       ▼
└──────────┘     ┌─┴────────┐  ┌────────┐             ┌────────────┐
                 │ CAIJSDOS │  │Accounts├────────────►│  JSIACCT   │
                 └──────────┘  │ Exit   │             └─────┬──────┘
                               └────────┘                   │
                                                            │
                                                            ▼
                                                      ┌────────────┐
                                                      │  CAIJSACT  │
                                                      │    File    │
                                                      └────────────┘