(Contents)(Previous)(Next)

TTITLE Command

TTITLE declares one or more headings for the individual output pages.

Examples

ttitle itemlist

ttitle 1 itemlist

ttitle 'product-catalog from item &COL2'

ttitle 'product-catalog, serial no. &COUNT'

ttitle 'product-catalog, page &PAGE'

Comments

1. The character string must be enclosed in single quotes if it contains lowercase characters, blanks, or special characters.

2. REPORT prints the heading at the top of each page.

3. Up to three headings can be defined.

4. The character string may contain formal parameters which are replaced by the current values when the heading is output.

The parameter &COLn (1<=n<=254) is replaced in the first result row of each page by the column value of the n-th column of the base table.

&COUNT is replaced by the sequential number of the top result row, referring to the entire result table.

&USER and &GROUP are replaced by the name of the current user or usergroup.

&DATE is replaced by the current date. The date is output according to the current SET definitions.

&PAGE is replaced by the current page number.

5. The heading may be output left-justified (LEFT), right-justified (RIGHT), or centered (CENTER). Default is CENTER.

6. Literals may be used for the headings.


(Contents)(Previous)(Next)