$LINECNT
$LINECNT GroupName or NumericValue
The $LINECNT command defines the number of lines needed on the page to allow multiple groups to print on the same page. It ensures that the set of groups print without being split between two pages. (The Environment software already ensures that a single group will not split between two pages.) A $GROUP definition can have up to five $LINECNT commands.
For a relative definition, you can name up to five groups (GroupName, one for each command) that you want to print with this group, as in the following example. In this example, the group does not print unless there is enough room on the page to also print both the R@GRP@R2OTHD and R@GRP@R2OTDT groups.
$LINECNT R@GRP@R2OTHD
$LINECNT R@GRP@R2OTDT
For a specific definition, type a value from 1 to 99 (NumericValue) for $LINECNT. NumericValue should include all the lines to be printed, plus all interline spacing required by this group, and the groups that print with it.
You cannot use the $LINECNT command in the definition of $STDHDR or $STDFTR groups.