Previous Topic

Next Topic

Book Contents

Book Index

Thresholds for Repetitive Messages

Some messages appear frequently and only indicate a problem if they appear with more than the usual frequency. The example in Figure 103 demonstrates the handling of a message for which the number of occurrences exceeds a specified threshold.

Figure 103 Example of Thresholds for Repetitive Messages

ON MESSAGE  = $HASP263

   JNAME PROD*    JTYPE J       SMFID        SYSTEM

   ROUTE          DESC          CONSOLEID    CONSOLE

   APPEARED 006   TIMES IN 0003 MINUTES                        And/Or/Not

OWNER IOAADMIN GROUP                         MODE PROD    RUNTSEC

THRESHOLD

DESCRIPTION HANDLING A MESSAGE APPEARING REPETITIVELY

DESCRIPTION JES CHECKPOINT CONTENTION PROBLEM HANDLING

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

DO SHOUT    = TO OPER2             URGENCY R SYSTEM           CTO282I

   MESSAGE JES CHECKPOINT CONTENTION PROBLEM - PLEASE CHECK

Explanation

The following threshold is specified in the ON MESSAGE statement:

APPEARED 006 TIMES IN 0003 MINUTES

This specification causes the rule to be triggered only when the specified message ($HASP263) is issued at least six times within a three minute time span.

The THRESHOLD parameter in the CTOPARM member also limits the number of times that a rule can be triggered in one interval.

If the THRESHOLD parameter of a rule is set to a value different from that set in the THRESHOLD parameter in the CTOPARM member, the value in the rule overrides the value set in CTOPARM.

If no value, or a value of 0, is set in the THRESHOLD parameter of a rule or the THRESHOLD parameter in CTOPARM, Control-O does not limit the number of times that the rule can be triggered.

Parent Topic

Working With Control-O Rules