$TOTOFGRP

$TOTOFGRP GroupName

The $TOTOFGRP command defines the group as a total group of GroupName. If GroupName is a delayed group ($DELAY) that did not print, this total group does not print either. If this total group forces a page break, GroupName and all levels below GroupName have their page break groups printed.

GroupName must be a print group with a defined level. If you use $TOTOFGRP in a group definition, you cannot use $LEVEL in the same group. The total group takes its level from the group defined by GroupName.

You cannot use the $TOTOFGRP command in the definition of $STDHDR or $STDFTR groups.