Previous Topic

Next Topic

Book Contents

Book Index

Reacting to an Event in a Sysplex Environment

Messages are often sent to all members (systems) in the Sysplex environment. Control-O can react to a message originating in any system in the Sysplex environment.

To trigger a rule that responds to a message that originated in another system (or an event that sends out a corresponding message), specify a SYSTEM value in the ON statement (valid for ON JOBARRIV, ON JOBEND, ON MESSAGE, and ON STRING).

Note: If the triggering message originated on another computer in the Sysplex the JTYPE subparameter is treated differently. Because reissued messages are handled by the CONSOLE address space, a rule on another computer will be triggered only if the value of the JTYPE subparameter is either blank (the default) or S.

Figure 114 Example of Reacting to an Event in a Sysplex Environment

ON JOBEND   = CICS    JTYPE S   SMFID      SYSTEM MVS1  And/Or/Not

OWNER N25     GROUP                        MODE PROD    RUNTSEC

THRESHOLD

DESCRIPTION

===========================================================================

IF       %%$REISSUED  EQ  N

DO SHOUT    = TO OPER              URGENCY R SYSTEM         CTO282I

   MESSAGE CICS ON %%$SYSTEMNM IS DOWN

ELSE

DO COMMAND  = S CICS

   WAIT        SYSTEM             CONSOLE          CONSOLEID

   WAITMODE   N

   ENDIF

Explanation

The above rule is triggered when the CICS job is ended in the MVS1 system.

The %%$REISSUED System variable is used to determine whether or not the CICS job ended in the current system.

Parent Topic

Working With Control-O Rules