HP Business BASIC/XL Reference Manual - HP 3000 MPE/iX Computer Systems - Edition 1 (32715-90001)
4-: 143
As an example of using this statement, assume that the first nine pages
of a report have been printed, and an error occurs on the tenth page.
After fixing the error, the user may wish to re-run the program. Since
the first nine pages are correct, the following statement prevents the
reprinting of those pages:
SUPPRESS PRINT FOR 9 PAGES
Suppressing print for zero pages allows all output to take place.
SUPPRESS HEADER
This statement enables and disables the execution of the PAGE HEADER
section. Unlike the TRIGGER PAGE BREAK options, the suppression is in
force across multiple pages.
This statement can occur anywhere in the same subunit as the report
description.
Syntax
{ON }
SUPPRESS HEADER {OFF}
Examples
100 SUPPRESS HEADER ON
The SUPPRESS HEADER ON statement prevents the execution of all PAGE
HEADER sections until a SUPPRESS HEADER OFF statement is encountered.
The statement takes effect beginning with the next PAGE HEADER to be
printed. Thus, it cannot affect the current page once the page has started.
If the SUPPRESS HEADER ON statement appears in the REPORT HEADER section,
the PAGE HEADER does not appear after the report header.
The SUPPRESS HEADER OFF statement re-enables the output of PAGE HEADER.
It takes effect on the next page.
The SUPPRESS options of the TRIGGER PAGE BREAK do not reset the settings
of the SUPPRESS HEADER statement. For example, if SUPPRESS HEADER ON has
been executed, then both of the following statements suppress the page header:
TRIGGER PAGE BREAK
TRIGGER PAGE BREAK, SUPPRESS HEADER
Because the page header is suppressed anyway, no output is expected. The
temporary
suppression in the second statement does not cause the page
header to resume printing on the next page. Only a SUPPRESS HEADER OFF
statement can do that.
SUPPRESS TRAILER
This statement enables and disables the execution of the PAGE TRAILER
section. Unlike the TRIGGER PAGE BREAK options, the suppression is in
force across multiple pages.
This statement can occur anywhere in the same subunit as the report
description.
Syntax
{ON }
SUPPRESS TRAILER {OFF}
Examples
100 SUPPRESS TRAILER OFF