Your Browser is not longer supported

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

{{viewport.spaceProperty.prod}}

REPEAT Initiate REPEAT block

&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


0CMD0001No error

1CMD0202Syntax error

1SDP0118Command in false context

1SDP0223Incorrect environment

3CMD2203Incorrect syntax file

32CMD0221System error (internal error)

130SDP0099No further address space available

Example

See section “Creating the procedure body”.