Previous Topic: JARSWZ01 Execution Description

Next Topic: JARSWZ02 Control Statements


JARSWZ02: Selecting Records

JARSWZ02 produces a report that lists statistics for jobs with job names beginning with ADMIN.

This example shows how to select records in an input file. It produces the same basic listing as in JARSWZ01. However, data is restricted to records that meet the three special conditions listed below, bypassing all other records in the input file.

  1. The processing ID of the record is S (SMF) or T (TSO)
  2. STEP JOB IND is 1 (a job record) or 11 (a one-step job record)
  3. The first five characters of the job name are ADMIN

                               JOB STATISTICS FOR JOBS BEGINNING WITH 'ADMIN'            02 AUG 1994 PAGE    1                                                                  MAX                          DISK                       JOB        PER               SERVICE      CORE      STD LINES             IO     NO     NO                       NAME       GRP     CL          UNITS      USED          PRNTD          COUNT     DK     TP                     --------     ---     --     ----------     -----     ----------     ----------     --     --                     ADMINASM       1     A           9,608                        0            236      2      0                     ADMINASM       1     A           3,785                        0             92      2      0                     ADMINASM       1     A           3,280                        0             71      2      0                     ADMINASM       1     A           4,074                        0             97      2      0                     --------     ---     --     ----------     -----     ----------     ----------     --     --  GRAND TOTAL                                        20,747     1,024              0            496      8      0