Defines the printing commands for the tail of all pages of a report.
The PAGE TRAILER control block specifies what information, if any, appears at the bottom of each page of output from the report.
The runtime system executes the statements in the PAGE TRAILER control block before the PAGE HEADER control block when a new page is needed. New pages can be initiated by any of the following conditions:
You can use the PAGENO operator in a PRINT statement within a PAGE TRAILER control block to automatically display the page number at the bottom of every page, as in this example:
PAGE TRAILER PRINT COLUMN 28, PAGENO USING "page <<<<"
The BOTTOM MARGIN specification (in the OUTPUT section ) affects how close to the bottom of the page the output displays the page trailer.
The details that apply to FIRST PAGE HEADER also apply to PAGE TRAILER.