Previous Topic: JARSWZ08 Control Statements

Next Topic: JARSWZ09: Plot Report


JARSWZ08 Execution Description

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

COMPUTE

The COMPUTE statements create new data fields and assign them the values from the data record. This is done because the new field names have more meaningful names than the glossary names for the same fields. These fields exist for this run only. The following assignments are made:

SORT

Data is sorted by RUN/DATE.

CALENDAR

The CALENDAR statement requests a report generated in calendar format and identifies the data fields to be displayed. CA JARS Wizard accumulates summary totals for each day for each field. There is no need to supply information concerning the days of the month; CA JARS Wizard maintains this information in its own libraries.

CA JARS Wizard can produce multiple calendars for a single request:

When the request includes a BREAK statement, CA JARS Wizard produces a separate set of calendars for each value in the highest level BREAK field.

Example:

SORT JOB/NAME
BREAK JOB/NAME

If this example included these statements, a separate calendar would be produced for each job name. (The sort statement is required whenever a request includes a BREAK statement.)