Previous Topic: Vertical Totals

Next Topic: Work Fields


Example:

INPUT primary-input-file
SELECT REC TYPE EQ 'E'
SORT CHARGE CODE, JOB NAME
BREAK CHARGE CODE, JOB NAME
LIST JOB NAME, ELAPS TIME, CPU TIME(T), NO OF JOBS(T2)

The following listing might be produced by this example:

    ®                              JOB NAME          ELAPS TIME       ®     ®                                                                 ®     ®                              ABC123                12.34        ®     ®                              ABC123                13.24        ®     ®                                                __________       ®     ®   JOB NAME TOTAL                                   25.58        ®     ®                                                                 ®     ®     CPU TOTAL  1.23                                             ®     ®                                                                 ®     ®   CHARGE CODE TOTAL                                25.58        ®     ®                                                                 ®     ®     CPU TOTAL  2.30                                             ®     ®                                                                 ®     ®     NO OF JOBS    2                                             ®     ®                                                                 ®

In this example, the CPU TIME field has a (T) suffix, so its total appears in every control break. It also prints with grand totals.The NO OF JOBS total appears only with the CHARGE CODE totals at control break level 2.