Previous Topic: JARSWZ07 Control Statements

Next Topic: Special Execution Considerations for JARSWZ07


JARSWZ07 Execution Description

The INPUT and SELECT statements function as described in previous examples. The other statements function as follows:

EXCEPTION

The conditions to be reported on are identified. SORTKEY = is a keyword that must be followed by the name of the report. A separate report is generated for each condition.

COPY

Two COPY statements are executed. These statements call in copybooks created and stored in the CAIJWCP data set. The JSTRTIME and JSTOPTME copybooks are provided for you by CA JARS.

LIST

The location of the LIST statement is important. If it follows the EXCEPTION statement, CA JARS Wizard produces only the exception reports. If it precedes the EXCEPTION statement, a detail report is generated in addition to the exception listings. The detail report may be very large unless the request includes selection criteria to reduce the number of records processed.

The (NR) suffix appended to the JOB/NAME field in this example suppresses the printing of the job name on a given line, if the value of JOB/NAME is the same as it was in the previous line.