INPUT primary-input-file INPUT FILE KEY=2CC1-1 MATCH = E.RUN/TYPE TABLE = 2CC2-17 LIST
where primary-input-file identifies the primary file to be processed.
In this example, the secondary file has a run type in position 1. Positions 2 through 17 are also flagged for reference during processing.
CA JARS Wizard reads the entire secondary file at the start of the run. It then reads the primary file, record by record, as usual. It checks the run type field in each record and searches for a match in the table. The program can then refer freely to fields in the table.
LIST DATE, JOB NAME, 2CC2-17, ELAPS TIME(HS), E.CPU TIME(HS)
The COMPUTE or DEFINE statement can be used to assign a more meaningful name, such as RUN TYPE, and a column heading to the 2CC2-17 data field in the secondary file. The MATCHED and MISSING parameters can be used in SELECT and COMPUTE statements to specify the action that should be taken when CA JARS Wizard finds (MATCHED) or cannot find (MISSING) a matching record in the secondary file.
| Copyright © 2012 CA. All rights reserved. |
|