Format 1:
% REPEAT statementblock % UNTIL|WHILE condition [statementblock] [% END]
Format 2:
% REPEAT VARYING|R-V &variable % ... [FROM &variable|literal|arithmeticexpr] % ... [BY &variable|literal|arithmeticexpr] statementblock % ... UNTIL|WHILE condition [statementblock] [% END]
Format 3:
% REPEAT VARYING|R-V &variable % ... [FROM &variable|literal|arithmeticexpr] % ... [BY &variable|literal|arithmeticexpr] % ... THRU|TO &variable|literal|arithmeticexpr [% ... OR THRU|TO &variable|literal|arithmeticexpr] [% ... OR THRU|TO &variable|literal|arithmeticexpr] [% ... OR THRU|TO &variable|literal|arithmeticexpr] statementblock [% END]
condition | Can be a number or variable, followed by a space and a relational operator, followed by a space and a
value. To specify multiple conditions, use the Boolean operators AND or OR with no parentheses.
Relational operator can be =, NOT =, <, >, NOT <, NOT >, <=, >=. Value can be a number, a literal enclosed in apostrophes or quotation marks, or a variable. |
statementblock | Can contain any Customizer, COBOL, or S-COBOL statements. |
variable | Customizer variable with a valid COBOL name. |
During processing:
Comments: