The PAGE clause defines the length of a logical page and the vertical
subdivisions within which report groups are presented.
Format -
PAGE [ LIMIT IS ] page-size [ LINE ]
[ LIMITS ARE ] [ LINES ]
[ HEADING heading-line ]
[ FIRST DETAIL first-detail-line ]
[ LAST DETAIL last-detail-line ]
[ FOOTING footing-line ]
1 – page-size
is a one- to three-digit integer. It defines the number of lines available on a logical page.
2 – heading-line
is a one- to three-digit integer. It defines the first line number for a REPORT HEADING or PAGE HEADING report group on the logical page.
3 – first-detail-line
is a one- to three-digit integer. It defines the first line number for a CONTROL HEADING, DETAIL, and CONTROL FOOTING report group on the logical page.
4 – last-detail-line
is a one- to three-digit integer. It defines the last line number for a CONTROL HEADING or DETAIL report group on the logical page.
5 – footing-line
is a one- to three-digit integer. It defines the last line number for a CONTROL FOOTING report group and the first line number for the PAGE FOOTING report group on the logical page.