The control statements in this example are similar to and function in the same way as described in JARSWZ01. A SELECT statement has been added to choose only jobs with job names beginning with ADMIN.
Two SELECT statements are shown for this run. The first SELECT statement is also used in report JARSWZ01 and is described there. The second SELECT statement instructs CA JARS Wizard to examine the JOB NAME field in each record and select a record for processing only if the job name begins with ADMIN. The (S) suffix code appended to the second SELECT indicates that the selection is to be performed after the SORT.
Only the selected records are sorted and processed. Again, CA JARS Wizard provides all report formatting, data conversions, and grand totals automatically.
Sometimes it is easier to be negative. The second selection condition in this example could also be specified as follows:
REJECT(S) JOB/NAME(1,5) NE 'ADMIN'
The report produced using this control statement and the first SELECT statement would be identical to the report produced by JARSWZ02.
| Copyright © 2012 CA. All rights reserved. |
|