$STDFTR

$STDFTR

The $STDFTR command defines the group as a standard footer. A standard footer prints at the bottom of every page.

To disable the standard footer in the program source code, move WS-TRUE to the variable RPT-IGN-STD-HDR, subscripted by ReportName.

You can define total fields in a standard footer group using $TOTFLD in the print control column. When the standard footer prints, the totals are cleared. For more information, see Print Control.

To print a standard footer in the program source code, use PERFORM 700-PRINT-STD-FTR. This routine is automatically included into your source program by the bldsh command.

You cannot use the following commands in a $STDFTR group:

  • $PGBRK

  • $LINECNT

  • $LEVEL

  • $DELAY

  • $TOTOFGRP