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-CMD Repeat a command

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

CMD = <text 0..1800 with-low>

,SUBSTITUTION-LIST = *TERMINAL / <filename 1..54 without-gen-vers> / *VARIABLE(...) /





*LIBRARY-ELEMENT(...)


*VARIABLE(...)




VARIABLE-NAME = <composed-name 1..255>


*LIBRARY-ELEMENT(...)




LIBRARY = <filename 1..54 without-vers>




,ELEMENT = <composed-name 1..64>(...)





<composed-name 1..64>(...)







VERSION = *HIGHEST-EXISTING / <composed-name 1..24>




,TYPE = S / <alphanum-name 1..8>

,DIALOG-SELECTION = *NO / *YES

,CONTINUE-AFTER-ERROR = *YES / *NO

Return codes

(SC2)

SC1

Maincode

Meaning/Guaranteed messages


0CMD0001No error
20SDP2000Warning: Not all elements in the input list could be successfully processed.
Guaranteed message: SDP2000

1SDP2001None of the elements in the input list could be successfully processed.
Guaranteed message: SDP2001