Actions taken when ON message or event criteria are satisfied.
Figure 138 DO Parameter Format

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-O performs no more than 10000 actions in a rule before terminating the rule. When DO actions are defined in loops, for example, DO WHILE loops, Control-O counts each iteration of each action.
Table 121 shows valid DO actions. Each is discussed individually later in this chapter.
Table 121 DO Actions
Action  | 
Description  | 
|---|---|
DO ASKOPER  | 
Issue a WTOR (Write To Operator with Reply) message.  | 
DO COMMAND  | 
Issue a specified z/OS, VTAM, or subsystem operator command.  | 
DO COND  | 
Add or delete a prerequisite condition.  | 
DO CTD REQ  | 
Order or force a Control-D report decollating mission.  | 
DO CTOPCMSG  | 
Issue a message to Control-M/Links for Windows NT.  | 
DO DISPLAY  | 
Control the display of the message on the console, or control the execution of a command.  | 
DO DOM  | 
Delete a highlighted, unrollable message from the display.  | 
DO ENDMSG  | 
Delimit DO statements that are processed during message interception in command-response mode or for multi-line messages.  | 
DO EXIT  | 
Exit from a multi-line message block or a DO WHILE block.  | 
DO FORCEJOB  | 
Force a job order under Control-M.  | 
DO IF / DO ELSE / DO ENDIF  | 
Provide Boolean "IF" logic capability allowing for alternative actions to be performed.  | 
DO KSL  | 
Perform a KeyStroke OpenAccess (KOA) script.  | 
DO RESOURCE  | 
Change the quantity of a Quantitative resource.  | 
DO RETURN  | 
Exit from a rule and return to the caller.  | 
DO RULE  | 
Invoke another rule from within the current rule.  | 
DO SET  | 
Assign a value to an AutoEdit variable.  | 
DO SHELL  | 
Run z/OS shell script or REXX program under z/OS UNIX.  | 
DO SHOUT  | 
Issue a message to a console, TSO user, ROSCOE user, IOA Log or Info/Management using the notification facility.  | 
DO SMSCLASS  | 
Set the SMS class name for a new data set.  | 
DO SMSMSG  | 
Define a message to be displayed in the job log for a new data set.  | 
DO STOPJOB  | 
Stop execution of the remaining steps of the job under which the rule is executing.  | 
DO SYSREQ  | 
Execute system programmer requests.  | 
DO TERMINAT  | 
Terminate the process of the triggering rule and any called rules, and continue to the next rule.  | 
DO TSO  | 
Perform a TSO command, CLIST or REXX procedure.  | 
DO WAIT  | 
Delay subsequent action until any of the specified events are completed.  | 
DO WHILE / DO ENDWHILE  | 
Provide repetition (loop) logic capability so that other DO actions can be performed repetitively.  | 
Parent Topic |