Group Commands
Commands that apply to a report group are described in the following table.
| Command | Description |
|---|---|
| $DELAY | Causes a delay in printing a group until a non-delayed group prints, or a group with the same level or a higher level prints. |
| $FIELDS/ENDFLDS | Defines the beginning and ending of the field name definitions section for a group. For information, see Field Definitions. |
| Format Definition ($FORMAT/$ENDFMT) | Defines the beginning of report lines in a group. For information, see Format Definition ($FORMAT/$ENDFMT). |
| $FSTDOLLAR/$FSTPERCENT | Prints dollar signs ($) or percent signs (%) when the group prints after another group. |
| $GROUP/$ENDGRP | Marks the beginning of a group. |
| $LEVEL | Arranges report groups in sequence by assigning a logical level to each group. |
| $LINECNT | Defines the number of lines needed for the group to print. |
| $NOTEXTDUPS | Prints the constant text in a group only the first time the group prints. |
| $PGBRK | Causes a page break to occur when the group prints. |
| $PGBRKGRP | Defines a substitute page-break group that prints when a page overflow occurs. |
| $PREFIX | Defines the prefix for fields in a group. |
| $RPTGRP | Lets two reports in a program share the same group. |
| $STDFTR | Defines a standard footer. |
| $STDHDR | Defines a standard header. |
| $SUBGRP/$ENDSUB | Defines and names a subgroup. |
| $TOTOFGRP | Defines a total group. |