SUPPRESS AT [ HP Business BASIC/XL Reference Manual ] MPE/iX 5.0 Documentation
HP Business BASIC/XL Reference Manual
SUPPRESS AT
The SUPPRESS AT statement allows the Report Writer to produce a report at
particular summary levels. All output from lower numbered levels are
executed. Those sections with levels at or higher than the indicated
level are not executed. Except for the printout reduction, a report is
produced exactly as if all sections were being printed. That is, all
breaks occur normally and all totals are accumulated.
There cannot be more than one SUPPRESS AT statement in a report
description.
Syntax
{AT [LEVEL]}
SUPPRESS [PRINT] {LEVEL } suppress_level
Parameters
suppress_level A numeric expression with a value from zero to nine. A
level of zero causes the statement to be ignored. All
output from the suppress_level and higher summary levels
is suppressed.
Examples
The following examples show the use of the SUPPRESS AT statement.
100 SUPPRESS PRINT AT N+M
100 SUPPRESS AT 4
The SUPPRESS AT statement is evaluated by BEGIN REPORT. It is busy only
during evaluation. If the indicated level is zero, the statement is
ignored and all output takes place.
Once report output starts, output is only produced by the HEADER and
TRAILER sections with summary levels lower than SUPPRESS AT. The report
sections (REPORT HEADER, REPORT TRAILER, and REPORT EXIT) are at level
zero and can never be suppressed with this statement. The PAGE HEADER
and PAGE TRAILER sections are not affected by this statement.
Only the actual printing of the report is affected. BREAK IF and BREAK
WHEN conditions are still checked, and totals are still accumulated.
PRINT and DETAIL LINE output are not affected by SUPPRESS AT. Only the
HEADER and TRAILER sections are suppressed.
MPE/iX 5.0 Documentation