Show TOC

Lists with Several PagesLocate this document in the navigation structure

Use

If in your program you write more lines to the output page of a list than are defined in the LINE-COUNT addition of the REPORT statement, the system automatically creates a new page (see Determining the Page Length .). Each new page contains the page header as well as the page footer defined for the program (if any).

Apart from automatic page breaks, you can use the NEW-PAGE and RESERVE statements to code page breaks. The various options of the NEW-PAGE statement allow you to lay out each page individually. You also need the NEW-PAGE statement to print lists from within the program (see Printing from Within the Program ).

The following topics explain:

Programming Page Breaks

Standard Page Header of Individual Pages

Page Length of Individual Pages

Page Width of List Levels