Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

Function 2 of the CBL-CTR special register

Function 2 of CBL-CTR is invoked by moving a value 2 (or 3) to CBL- CTR. This causes conditional execution of the NEXT GROUP clauses in the control footings.

Normally, the NEXT GROUP clause is executed immediately after the creation of the report group in whose description it is supplied (vertical spacing). If a control break causes several control footings to be printed in succession, the NEXT GROUP clauses of these control footings lead to inadvertent blank lines. Such blank lines are really intended for spacing between a control footing and a control heading or a detail report group but not to another control footing.

When function 2 of CBL-CTR is requested, the Report Writer makes sure that only the last NEXT GROUP clause is executed, i.e. the NEXT GROUP clause associated with the last control footing generated in the series of control footings printed in succession as a result of a control break. Existing NEXT GROUP clauses of the other control footings of a closed sequence of control footings will be ignored. This is true even if the last control footing of the sequence has no NEXT GROUP clause.