Previous Topic: TITLE Control StatementNext Topic: Examples


Syntax

TITLE expression-1

where expression-1 specifies the expression whose data is used for the report title. This data is printed on the second line of the printed report and centered between the margins.

The TITLE control statement does not cause the report to eject to the top of a new page. The data for the TITLE control statement is saved and printed with each subsequent page. To force a page break, use the PRINT control statement (for example, PRINT PAGE). This PRINT control statement is specified before the TITLE control statement to ensure that the current report record is written. If the TITLE control statement is not supplied, a report title of 'GENERAL REPORT WRITER UTILITY' is used.