Previous Topic: Data Field Requirements

Next Topic: CAWGJR70 Glossary


Sample Usage

The Interval Chopper is a CA JARS Wizard function that reads the input records and chops them into one or more records in order to allocate the statistics in an input record to a time interval record. You define the time interval using a DEFINE(K) control statement for the Interval Chopper field, INTERVAL. As the following example shows, a report on time sequence can be produced, providing on-the-hour analysis of system activity.

INPUT primary-input-file
SELECT REC/TYPE EQ 'E'
DEFINE(K) INTERVAL EQ 60
CALL(P) WIZIVP
SORT
BREAK INTERVAL START
COMPUTE IF INTERVAL START GT 86400 THEN TIME(K)(HM) EQ
        INTERVAL START - 86400 ELSE
        TIME(NG) EQ INTERVAL START
LIST(SUM) TIME(L5)(NG), E.NO OF JOBS, ELAPS TIME, E.ACTIVE TIME,
          E.CPU TIME(HM)