The example in Figure 110 demonstrates how a command can be suppressed when a specified condition is true.
Figure 110 Example of Preventing the Starting CICS when is it already Active
ON COMMAND = START CICS
JNAME JTYPE SMFID SYSTEM USERID
ROUTE DESC CONSOLEID CONSOLE
APPEARED TIMES IN MINUTES And/Or/Not
OWNER IOAADMIN GROUP MODE LOG RUNTSEC
THRESHOLD
DESCRIPTION CICS IS ACTIVE - PREVENT STARTING IT
===========================================================================
DO DISPLAY = SUPPRESS Y ROUTE DESC CONSOLEID CONSOLE
SYSTEM
DO SHOUT = TO OPER URGENCY R SYSTEM CTO282I
MESSAGE CICS IS ACTIVE - START SUPPRESSED
============================================================================
IN CICS-UP STAT
TIME FROM UNTIL INTERVAL PRIORITY CONTINUE SEARCH Y
Explanation
IN CICS-UP
When the CICS-UP condition is present in the IOA Conditions file, the rule is activated, or ready to be triggered. This rule is triggered when the START CICS command is requested by the operator.
The following statement is used to suppress the requested command:
DO DISPLAY=SUPPRESS Y
The operator is then informed that the command was suppressed and is given the reason for suppression.
Parent Topic |