Previous Topic: JARSWZ05 Control Statements

Next Topic: JARSWZ06: Ranking Reports


JARSWZ05 Execution Description

The INPUT, SELECT, SORT, BREAK, and COMPUTE statements are executed as discussed previously. The other statements function as follows:

LIST

The LIST statement in this example provides column titles for the NO/DK and NO/TP fields of the report. These new column titles work in conjunction with the TITLE statement heading to produce more meaningful column headings for these two fields.

HEADING nx

Three lines of heading text are supplied (for lines 1, 2, and 4). They are printed on the left, center, or right side of the page. For example, HEADING1L applies to the first line on the left side.

Note: No HEADING statement is provided for the third, fifth, or sixth lines of the heading text. Line 3 prints as blank, lines 5 and six do not print at all.

TITLE

Text to be printed above columns 8 and 9 (the NO/DK and NO/TP columns) is specified. CA JARS Wizard supplies dashes to ensure that the title is centered and has the proper width, when necessary.

Keywords

TODAY, TOD, and WIZPAGES are keywords. TODAY and TOD contain the current date and the time of day that the report is generated. WIZPAGES contains the current page number of the report.

Where no user headings are indicated, standard headings are always printed. For user-specified headings, the current date and page number appear on the right-hand side of the first line of each page, unless overridden by a HEADING1R statement.