Previous Topic: Performance Considerations

Next Topic: Summary File Examples (Levels 1-5)

History Records Compared to Account Records

The history records for the detail files are the basic account record format (this record is displayed in the section under the account exit) with the following adjustments:

  1. File level (field position 2) reflects the ID of the record type this record was created from. See the User Guide.
  2. Group codes are present if applied using the grouping feature in the report which created this file.
  3. CPU ID reflects any changes made through report grouping.
  4. Devices used by this step or job are present in the I/O device table which also contains device type and count.
  5. Sysout table is present in the job records.
  6. If rates have been applied, they are carried in this record.
  7. Records rejected by grouping or the DEVADDR or DEVNMBR statement are not on the file.
  8. Any changes made to a record in an input, account, exit1 or exit2 exit (if used in this report) are carried in the history file.
  9. System records are also written to these history files. The record description for these records is on the next page.
    01 SYSTEM-LEVEL-ACCT-RECORD.
     
       02 XA-RDW.
          03 XA-RDW-LRECL                         PIC S9(4) COMP.
          03 XA-RDW-ZEROS                         PIC S9(4) COMP.
     
       02 XA-CPU-ID                               PIC X.
     
       02 XA-FILE-ID                              PIC XX.
     
       02 XA-RECORD-STAMP.
          03 XA-DATE (YYMMDD)                     PIC X(6).
             (FOR IPL RECORD, DATE OF IPL)
             (FOR SMF DATA LOST RECORD, DATE OF START OF LOST PERIOD)
             (FOR WAIT TIME RECORD, DATE OF START OF TIME PERIOD)
     
          03 XA-TIME                              PIC X(6).
             (FOR IPL RECORD, TIME OF IPL)
             (FOR SMF DATA LOST RECORD, TIME OF START OF LOST PERIOD)
             (FOR WAIT TIME RECORD, TIME OF START OF TIME PERIOD)
     
       02 XA-JOBNAME.
          03 XA-JOBNAME-FILLER                    PIC X(4).
          03 XA-SID                               PIC X(4).
     
       02 XA-FILLER                               PIC X(4).
     
       02 XA-PROCESSING-ID                        PIC X.
          (@ =IPL, ? =SMF DATA LOST, # =WAIT TIME)
     
       02 XA-ELAPSED-TIME                         PIC S9(6)V9(5) COMP-3.
          (FOR IPL RECORD, LENGTH OF IPL-IDLE TIME)
          (FOR SMF DATA LOST RECORD, LENGTH OF LOST PERIOD)
          (FOR WAIT TIME RECORD, LENGTH OF INTERVAL)
     
       02 XA-DATA-VALUE                           PIC S9(6)V9(5) COMP-3.
          (FOR IPL RECORD, 0)
          (FOR SMF DATA LOST RECORD, 0)
          (FOR WAIT TIME RECORD, LENGTH OF INTERVAL)
     
       02 XA-LEGIT-RCD-FLAG                       PIC X.
          (FOR WAIT TIME RECORD, FLAG = 1 INDICATES THE RECORD IS FOR
          AN ACTUAL IPL AND NOT A SPLIT RECORD DUE TO SPANNING MIDNIGHT.)
     
       02 XA-PROCESSOR-WAIT-TABLE.
          03 XA-WAIT-TIMES       OCCURS 16 TIMES  PIC S9(6)V9(5) COMP-3.
     
       02 XA-ONLINE-FLAGS.       (A 1 INDICATES PROCESSOR IS ONLINE.)
          03 XA-PROCESSOR-ONLINE OCCURS 16 TIMES  PIC X.