Previous Topic Next topic Print topic


SUPPRESS PRINTING

Inhibit printing a report group named in a USE BEFORE REPORTING clause. This structure suppresses the following report group functions:
Restriction: This topic applies only when the AppMaster Builder AddPack has been installed, and applies only to Windows platforms.
  • Line printing
  • LINE NUMBER and NEXT GROUP processing
  • LINE-COUNTER adjusting

Syntax:

SUPPRESS PRINTING

Comments:

  • Use SUPPRESS only with USE BEFORE REPORTING.
  • AMB generates the COBOL statement MOVE 1 TO PRINT-SWITCH. When this statement is processed the warning message, NEXT GROUP WILL BE SUPPRESSED, displays.

Example:

 NTRY  OPEN INPUT OUTPUT
       PERFORM MAIN-PARA
 DPAR  SUPPRESS-CH-REGION SECTION
           USE BEFORE REPORTING CH-REGION
 DPAR  SUPPRESS-CH-REGION-PARA
           IF FIRST-FLG = TRUE
               SUPPRESS PRINTING
Previous Topic Next topic Print topic