The REPEAT-STMT command allows you to repeat the execution of a statement (SDF format). During the repetition of the statement, special parts of the statement (name part, operands, operand values) are substituted one after the other by the elements of an input list. These elements can be specified as records in a file, a library element or as list elements of an
S variable, or they can be entered directly at the terminal. The statement specified will be called for each element in the input list.
REPEAT-STMT Alias: REPSTMT | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Return codes
(SC2) | SC1 | Maincode | Meaning/Guaranteed messages |
0 | CMD0001 | No error | |
2 | 0 | SDP2000 | Warning: Not all elements in the input list could be successfully processed. Guaranteed message: SDP2000 |
1 | SDP2001 | None of the elements in the input list could be successfully processed. Guaranteed message: SDP2001 |