Previous Topic: Header Statement ExampleNext Topic: Report Template HEADER2 Statements


Header Statement Remarks

HEADERS are printed at the beginning of a reporting section and can be included in a BLOCK statement. HEADERS are typically used to present section and/or column headings.

A field’s content occupies the exact space delineated by the square brackets. Any excess characters are truncated. However, you can close a field with an angle bracket (>) to permit its content to expand in its entirety towards the right margin.

Note: If the print statement for a MULTILINE variable is closed with the right angle bracket (>), characters wrap on white space to stay within the field defined by the left bracket ([) and the right angle bracket (>). Also, if the variable is not MULTILINE, the right angle bracket (>) causes all the data to be displayed on the current line regardless of its length.

To reference a variable or column name in another BLOCK statement, use the following syntax:

blockname::column | variable-name