The CA JARS Wizard control statements in this example function as follows:
This INPUT statement identifies the CA JARS Wizard glossary for the primary input file for the run. All the files to be processed by CA JARS Wizard must be defined. Refer to Chapter 4 for information concerning record type qualification. The glossary definition describes each field in the input record with accessing, processing, and printing attributes and options. A field in a file, predefined in the glossary, can be accessed, processed, and printed by reference to the glossary field name.
The SELECT statement instructs CA JARS Wizard to examine the PRO ID field and the STEP JOB IND field. Only job or one-step job records with processing IDs of S (SMF) or T (TSO) are processed. For further information on record types and data contents see "The CAWGJR70 Glossary" Appendix chapter. This statement is required by CA JARS Wizard for certain input files, since such files contain are large or contain records in many different formats. Qualifying record selection ensures that the proper records and/or data fields are accessed.
The SORT statement identifies the sorting sequence prior to processing. If the SORT statement is omitted, records are processed in the same order that they are read from the file.
In this example records are sorted only by JOB NAME. Consequently, records are listed alphabetically by job name.
LIST identifies the data fields to be printed and the order, (defined from left to right), they are to be printed in. CA JARS Wizard performs automatic report formatting. In this example, CA JARS Wizard prints automatic standard headings. These can be overridden through your specifications.
Each field name in the LIST statement is printed and CA JARS Wizard automatically edits each data field. The automatic editing functions include printing a column heading, converting the data from internal format to display format, and inserting periods (.) in the time to separate the seconds and milliseconds. Your product glossary contains basic information that specifies to CA JARS Wizard the automatic processing and editing functions that should be performed. For example, CA JARS Wizard uses the field name defined in the glossary as the column heading. If you include a slash in the field name, the column heading is split over two lines. For example, the field name SERVICE/UNITS prints as:
SERVICE UNITS
CA JARS Wizard automatically computes and prints grand totals for numeric fields in the LIST statement. Totals are not printed for numeric fields when the total value would be meaningless. For example, grand totals are not calculated for the field JOB NAME, (the name of a job).
The HEADING statement specifies headings for the report. The statement given in this example indicates that the heading should be centered on line 1 (1C) and should read: J O B S T A T I S T I C S.
Other statements and/or methods that can be used to override the field editing and automatic column heading functions are described in the "Functional Characteristics" chapter.The following examples show how to override or supplement these automatic functions.
| Copyright © 2012 CA. All rights reserved. |
|