The REPEAT-CMD command allows you to repeat the execution of a command. During the repetition of the command, special parts of the command (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 command specified will be called for each element in the input list.
REPEAT-CMD Alias: REPCMD | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
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 |