The NEXT GROUP Clause
The NEXT GROUP clause specifies information for vertical positioning
of a page following the presentation of the last line of a report group.
General Format

Syntax Rules
- A report group entry must not contain a NEXT GROUP clause unless
the description of that report group contains at least one LINE NUMBER clause.
- Integer-1 and integer-2 must not exceed three significant digits
in length.
- If the PAGE clause is omitted from the report description entry
only a relative NEXT GROUP clause can be specified in any report group
description entry in that report.
- The NEXT PAGE phrase of the NEXT GROUP clause must not be
specified in a PAGE FOOTING report group.
- The NEXT GROUP clause must not be specified in a REPORT FOOTING
report group or in a PAGE HEADING report group.
General Rules
- Any positioning of the page specified by the NEXT GROUP clause
takes place after the presentation of the report group in which the clause
appears. (See the section
Presentation Rules Tables.)
- The RWCS uses the vertical positioning information supplied by
the NEXT GROUP clause along with information from the TYPE and PAGE clauses,
and the value in LINE-COUNTER, to determine a new value for LINE-COUNTER. (See
the section
Presentation Rules Tables.)
- The NEXT GROUP clause is ignored by the RWCS when it is specified
on a CONTROL FOOTING report group that is at a level other than the highest
level at which a control break is detected.
- The NEXT GROUP clause of a body group refers to the next body
group to be presented, and therefore can affect the location at which the next
body group is presented. The NEXT GROUP clause of a REPORT HEADING report group
can affect the location at which the PAGE HEADING report group is presented.
The NEXT GROUP clause of a PAGE FOOTING report group can affect the location at
which the REPORT FOOTING report group is presented. (See the section
Presentation Rules Tables.)