NEW-PAGE.
1. ... NO-TITLE
2. ...
WITH-TITLE
3. ...
NO-HEADING
4. ...
WITH-HEADING
5. ...
LINE-COUNT lin
6. ...
LINE-SIZE col
7. ...
NO-TOPOFPAGE
8. ... PRINT ON
...
9. ...
PRINT ON ... (obsolete additions)
10. ... PRINT OFF
Starts a new page during list processing.
Terminates the current page and continues output on a new page.
... NO-TITLE
Starts a new page but no longer outputs the standard header (title, date and page number). This is the default setting for details lists.
... WITH-TITLE
Starts a new page and outputs the standard page header (screen output: title, page number; print output:
date, title, page number). This is the default setting for basic lists (see REPORT ... NO STANDARD PAGE HEADING).
... NO-HEADING
Starts a new page but no longer outputs column headers (text elements). This is the default setting for details lists.
... WITH-HEADING
Starts a new page and outputs the column headers (text elements). This is the default setting for basic
lists (see REPORT ... NO STANDARD PAGE HEADING).
... LINE-COUNT lin
Starts a new page containing the number of lines per page specified by lin,
except in the case of LINE-COUNT 0, where the number of lines per page is unlimited, and the internal limit is 60,000 lines. This statement has no effect in print mode.
For the default setting use the addition ... LINE-COUNT
in the REPORT statement.
Further notes about the use of LINE-COUNT.
... LINE-SIZE col
Formats the new page with the number of columns specified in col,
except in the case of LINE-SIZE = 0 which indicates line
length set by the system according to the standard window width.
The addition ... LINE-SIZE col is only effective on the new page if it is also the first page of a new list level.
The addition works only before initialization of the new list level (with
WRITE, SKIP, ...).
For the default setting use the addition
... LINE-SIZE in the REPORT statement.
... NO-TOPOFPAGE
Surpress the event TOP-OF-PAGE.
The addition has no effect if LINE-COUNT is used at the same time.
Unconditional New Page