RPG/400 Help


PAGE, PAGE1-PAGE7

PAGE is used to number the pages of a report, to serially number the output records in a file, or to sequentially number output fields. It does not cause a page eject. PAGE1 through PAGE7 are used to serially number several output files.

The eight possible PAGE entries (PAGE, PAGE1, PAGE2, PAGE3, PAGE4, PAGE5, PAGE6, and PAGE7) may be needed for numbering different types of output pages or for numbering pages for different printer files.

PAGE and PAGE1 through PAGE7 can be specified in positions 32 through 37 of the output specifications or in the input or calculation specifications.

See Rules for PAGE, PAGE1-PAGE7 for more information.


[ Top of Page | Previous Page | Next Page | Table of Contents ]