Previous Topic: 9.1 Daily Update Processing FlowNext Topic: 9.1.2 Phase 2 - SMF Interim Data Suspension


9.1.1 Phase 1 - Input Raw SMF Data


In this phase, the raw SMF data file is read, the required
SMF record types are selected, the input data fields are
processed and formatted to create an interim SAS record, and
the record is written to an interim SAS work file.

The following user exits are invoked in this phase:

    o  General Exits

       USRSEL  - SMF File Processing Selection
       USRIHL  - SMF Checkpoint File Inspection

    o  Product Input Exits

       USRSSFA - Input JES3 Allocation Records
       USRSSFI - Input Initiation Records
       USRSSFJ - Input Job Termination Records
       USRSSFP - Input Purge Records
       USRSSFS - Input Step Termination Records
       USRSSFT - Input APPC/MVS Transaction Records
       USRSSFW - Input Spool Records

    o  Product Special Exits

       USRDMAP - Device Address Mapping

Figures 9-1 and 9-2 illustrate Phase 1, the Input Raw SMF
Data Phase.


*-------------* |Read SMF... | | record type | | timestamp | | orgsysid | *-------------* *************** * _USRSEL * Note 1 *************** *************** * _SMFRSEL * *************** *-------------* | Determine | | SYSID | | Record Type| | Common Flds| Note 2 *-------------* | | +-------------------+-------------------+ | | v v Batch Operations Information Information Area Area Processing Processing Note 1 - These exits are used by all products. Note 2 - Common Fields are determined at this point: HOUR, DAY, DAYNAME, WEEK, MONTH, YEAR, ZONE, SYSID, ZONENAM Note - All logic bounded by ************** indicates a user routine or exit.


 Figure 9-1.  Phase 1 - Input Raw SMF Data Phase (Part 1 of 2)


SMF33 SMF06 SMF25 SMF30 SMF26 +----------+ +----------+ +----------+ +----------+ +----------+ |Input | |Input | |Input | |Input | |Input | | Type 33 | | Type 06 | | Type 25 | | Type 30 | | Type 26 | | Record | | Record | | Record | | Record | | Record | +----------+ +----------+ +----------+ +----------+ +----------+ ************ ************ ************ | ************ * _USRSSFT * * _USRSSFW * * _USRSSFA * | * _USRSSFP * ************ ************ ************ | ************ +----------+ +----------+ +----------+ | +----------+ |Output | |Output | |Output | | |Output | | Work. | | Work. | | Work. | | | Work. | | BATSFT | | SMFWRT | | SMFT25 | | | SMFPURG | +----------+ +----------+ +----------+ | +----------+ | +---------------+----------------+---------------+ | | | | +----------+ +----------+ +----------+ +----------+ |Input | |Input | |Input | |Input | | Subtype 1| | Subtypes | | Subtype 5| | Subtype 6| | Record | | 2,3,4 | | Record | | Record | | | | Record | | | | | +----------+ +----------+ +----------+ +----------+ ************ +----------+ ************ ************ * _USRSSFI * |Loop Thru | * _USRSSFJ * * _USRSST6 * ************ | Devices | ************ ************ +----------+ +----------+ +----------+ +----------+ |Output | +----------+ |Output | |Output | | Work. | |Output | | Work. | | Work. | | SMFINIT | | Work. | | SMFJOB | | BATSFT | +----------+ | BATWDA | +----------+ +----------+ +----------+ ************ * _USRDMAP * ************ ************ * _USRSSFS * ************ +----------+ | Output | | Work. | | SMFSTEP | +----------+


 Figure 9-2.  Phase 1 - Input Raw SMF Data Phase (Part 2 of 2)