The INPUT, SELECT, SORT, and BREAK statements are used as in previous examples. Creation of a new file is specified by the following:
As described earlier, this statement indicates that CA JARS Wizard should create an output record at the lowest control level break.
The ITEMS = parameter identifies which fields from the input records comprise the new output records. Thus, in this example, the output records have the following format:
Positions CC1-8 JOB/NAME
Positions CC9-11 PER/GRP
Positions CC12-13 CL
Positions CC14-19 SERVICE/UNITS
Positions CC20-23 CORE/USED
Positions CC24-29 STD LINES/PRNTD
Positions CC30-36 DISK/IO COUNT
Positions CC37-38 NO/DK
Positions CC39-40 NO/TP
The output fields have the same attributes as the input fields and any time fields (there are none in this example) are 4 bytes binary.
The execution statistics produced for this example tell us that there were 406 OUTPUT RECORDS, this is equal to the number of LEVEL 1 BREAKS.
| Copyright © 2012 CA. All rights reserved. |
|