The four forms generation commands automatically produce the standard INFO/ACCESS report heading on every page. This heading contains the current time, date, and page number. Forms generation commands do not produce a default footing.
The HEADING and FOOTING modifiers may be included in a forms generation statement to define customized headings and footings, just as in other INFO/ACCESS queries. Consider these things, however, when working with forms:
The system automatically reserves space at the top of every page for the heading. Outputting data with x- and y- coordinates in this reserved space results in an error message.
If the default heading is used, the system reserves rows 0 and 1: the default heading (time, date, page number) is printed on row 0, and a blank line, which is considered part of the standard heading, is printed on row 1.
If the HDR-SUPP modifier is included in the forms generation statement, the system reserves only row 0 and leaves it blank. If a heading is defined with the HEADING modifier, the system reserves row 0 plus any additional lines needed for the specified text.
If a footing is defined with the FOOTING modifier, the system reserves the required number of rows at the bottom of the page. Data cannot be output in this area with x- and y- coordinates.
The Z option may be used to reset page numbers for multipage forms.
See Also
Using Modifiers in Forms Generation Statements