Identify control data items (Report Writer controls), which are tested for a change each time a detail line is printed. Create
a control hierarchy for the report control headings and footings (control breaks). This clause is part of the RED (see RED)
keyword statement block.
Restriction: This topic applies only when the AppMaster Builder AddPack has been installed, and applies only to Windows platforms.
Syntax: for Format 1
CONTROL [IS] [FINAL] dataname
Syntax: for Format 2
CONTROLS [ARE] [FINAL] dataname1 ... datanameN
Parameters:
| dataname
|
Data item that causes a control break when it changes.
|
| FINAL
|
Inclusive report control group not associated with a control dataname. It represents the highest level of control.
|
Examples:
See
Sample Programs.
Comments:
WS01 A PIC X(2). WS01 B. 02 B-1 PIC 9(4). 02 B-2 PIC 9(4). WS01 B-REDEF REDEFINES B PIC X(8). . . . RED TEST-REPORT CONTROLS ARE A B-REDEF