Actions taken when ON message or event criteria are satisfied.
Optional. Specify DO statements as follows:
After entering a DO statement, another DO line is automatically displayed. Multiple DO statements can be specified.
Note: To prevent infinite loops and performance degradation, Control-M JCL Verify performs no more than 10000 actions in a rule before terminating the rule.
The following table shows valid DO actions. Each is discussed individually later in this chapter.
Tab.JV.3.17 DO Actions
Action |
Description |
STDR |
ENF |
REF |
---|---|---|---|---|
DO ADJMSG |
Suppresses Control-M JCL Verify messages or changes their severity in a dynamic manner. |
Y |
N |
N |
DO ARRANGE |
Specifies the order of the keywords in a JCL statement, according to a JCL statement type (JOB, EXEC, DD). |
N |
N |
Y |
DO COMMENT |
Specifies the starting position of a comment within a JCL statement. |
N |
N |
Y |
DO CONT |
Specifies the starting position of the continuation of a JCL statement. |
N |
N |
Y |
DO DELCMNT |
Deletes a specified comment number. Available only for ON INIT. |
N |
Y |
N |
DO DELREC |
Deletes the current JCL statement. |
N |
Y |
N |
DO ENDSTMT |
Exits from the rule and continues with the next JCL statement. |
Y |
Y |
N |
DO ENFORCE |
Assigns a value to a variable to enforce in a JCL statement. |
N |
Y |
N |
DO IAFTER |
Inserts a new record after the current JCL statement. |
N |
Y |
N |
DO IBEFORE |
Inserts a new record before the current JCL statement. |
N |
Y |
N |
DO ICMNTA |
Inserts a new comment after a specified comment number. Available only for ON INIT. |
N |
Y |
N |
DO ICMNTB |
Inserts a new comment before a specified comment number. Available only for ON INIT. |
N |
Y |
N |
DO IF / DO ELSE / DO ENDIF |
Provide Boolean "IF" logic capability allowing for alternative actions to be performed. |
Y |
Y |
Y |
DO KEYWORDS |
Specifies the number and positions of keywords in a JCL statement. |
N |
N |
Y |
DO MSG |
Defines a message to be displayed in the output. |
Y |
Y |
Y |
DO ONTYPE |
Specifies the starting position of a JCL statement type (JOB, EXEC, DD) in the JCL statement. |
N |
N |
Y |
DO POS |
Specifies the maximum number and column range of positionals in a JCL statement. |
N |
N |
Y |
DO QUITMEM |
Exits from the rule and continues with the next job or procedure. |
Y |
Y |
N |
DO REPCMNT |
Replaces a specified comment number with a new comment. Available only for ON INIT. |
N |
Y |
N |
DO RETURN |
Exits from a rule and returns to Control-M JCL Verify to continue with the next rule. |
Y |
Y |
N |
DO REXX |
Calls user exit written in REXX. |
Y |
Y |
N |
DO SET |
Assigns a value to a user-defined or AutoEdit variable. |
Y |
Y |
Y |
DO WHILE / DO ENDWHILE |
Enable use of repetition (loop) logic allowing for repeated DO actions for as long as a specified condition is met. |
Y |
Y |
Y |
Parent Topic |