Loading...
Select Version
&pagelevel(4)&pagelevel
Domain: PROCEDURE
Command description
REPEAT initiates a REPEAT block (a REPEAT loop). Execution of the command sequence within the REPEAT block is repeated until the loop condition is met.
The loop condition is checked in the UNTIL command which terminates the REPEAT block. When the condition is not met, the system returns to the first command in the REPEAT block; otherwise command execution resumes after the UNTIL command (see also the section “REPEAT block” (Defining loops )).
Format
REPEAT |
Command return codes
(SC2) | SC1 | Maincode | Meaning |
0 | CMD0001 | No error | |
1 | CMD0202 | Syntax error | |
1 | SDP0118 | Command in false context | |
1 | SDP0223 | Incorrect environment | |
3 | CMD2203 | Incorrect syntax file | |
32 | CMD0221 | System error (internal error) | |
130 | SDP0099 | No further address space available |