Previous Topic: Parameter StatementNext Topic: Selection Statement


Title Statement

Purpose

The title statement assigns a descriptive title to the report pages related to a specific group of records (for example, a file) and marks the beginning of a new set of control statements.

Specify for each set of control statements

A title page must be specified for each set of control statements. The title specified is printed on the first line of every page associated with the set of control statements. To avoid printing a title, the title statement supplied can specify only the keyword identifier and an equal (=), omitting the descriptive text.

Note: If the title statement is omitted, the following text will be printed as the title "No Report Title" The Cross Reference Processor will assume that all subsequent selection statements pertain to the same group of records until it finds another title statement. The title statement can only be omitted for the first set of selection statements.

The title statement can be coded anywhere using positions 1 through 72.

Syntax

►►─┬─ REPort ─┬─ = report-title ──────────────────────────────────────────────►◄
   └─ FILe ───┘

Parameter list

REPort/FILe

Identifies the statement as a title statement. One of these keywords followed by an equal sign (=) must be specified. The keyword specified, the equal sign, and report-title will appear on the report.

Report-title supplies a descriptive report title. It must be a 1- to 30-character alphanumeric value. Quotes are not required and, if used, become a part of the title printed on the report.

Example

A sample title statement is shown below:

FILE=1   *** TRAFFIC FILE ***