Message/Event Selection parameters specify selection conditions that must be fulfilled before Control-O will perform designated actions.
Figure 19 shows a typical screen with Message Event Selection parameters.
Figure 19 Message Event Selection Parameters
RL: $HASP100 LIB CTO.PROD.RULES TABLE: JOB
COMMAND ===> SCROLL===> CRSR
+-----------------------------------------------------------------------------+
ON MESSAGE = $HASP100
JNAME JTYPE SMFID SYSTEM
ROUTE DESC CONSOLEID CONSOLE
APPEARED TIMES IN MINUTES And/Or/Not
OWNER IOAADMIN GROUP MODE PROD RUNTSEC
THRESHOLD
DESCRIPTION JES2 'JOB ON RDR' MESSAGE SUPPRESSION
DESCRIPTION
===========================================================================
DO DISPLAY = SUPPRESS Y ROUTE DESC CONSOLEID CONSOLE
SYSTEM
Table 33 shows the options available when setting the ON parameter.
Table 33 ON Parameter Options
Parameter |
Description |
---|---|
ON |
Specifies the conditions under which the rule is to be performed. An ON statement is comprised of the ON field and the optional parameters listed below. At least one ON statement is required. Additional ON statements can be specified using the And/Or/Not option described below. Type one of the following options or abbreviations in the ON field and press Enter. Specify a value for the selected option, and specify values as indicated for any additional subparameters.
The rule is performed when data set disposition is performed by MVS, for specified data sets, at deallocation time during step termination or dynamic deallocation. Data set name and disposition are specified in subparameters.
Examples: Jobs submitted by a TSO user, jobs submitted by CICS, and jobs received over an NJE network. |
ON (continued) |
|
ON (continued) |
The first ten characters of the value specified for the selected options will appear as the name of the rule in the Rule List and Rule Status screens. Mask characters (* and ?) can be used when specifying values for all ON selection options except ON EVENT and ON RULE. Control-O AutoEdit variables can be specified and are resolved during rule ordering. For more information, see ON Statement: Message/Event Selection Parameter. |
Table 34 shows the And/Or/Not subparameter that is displayed for all types of ON statements except ON EVENT and ON RULE.
Table 34 ON Statement And/Or/Not Subparameter
Subparameter |
Description |
---|---|
And/Or/Not |
Conjunctional parameter for linking ON statements. Specifying A (And), O (Or), or N (Not) opens a new ON statement and links the new statement to the line containing the A/O/N specification. Examples ON MESSAGE - OR ON COMMAND ON DSNEVENT JOBA STEPA OR ON DSNEVENT JOBA STEPB |
Note: When specifying multiple ON statements, ensure that the statements are not mutually exclusive or not connected by an AND parameter. Rules containing mutually exclusive ON statements connected by an AND parameter will never be triggered. |
ON MESSAGE, ON STRING, ON COMMAND and ON CTOPCMSG Subparameters
Figure 20 shows the unique subparameters that are displayed for the following types of ON statements:
These subparameters cannot contain AutoEdit symbols.
Figure 20 Unique Subparameters for ON MESSAGE, ON STRING, ON COMMAND, ON CTOPCMSG
RL: $HASP263 LIB CTO.PROD.RULES TABLE: JOB
COMMAND ===> SCROLL===> CRSR
+-----------------------------------------------------------------------------+
ON MESSAGE = $HASP263
JNAME JTYPE SMFID SYSTEM
ROUTE DESC CONSOLEID 01 CONSOLE
APPEARED 006 TIMES IN 0003 MINUTES And/Or/Not
OWNER IOAADMIN GROUP MODE PROD RUNTSEC
THRESHOLD
DESCRIPTION JES CHECKPOINT CONTENTION PROBLEM HANDLING
DESCRIPTION
===========================================================================
DO SHOUT = TO OPER2 URGENCY R SYSTEM CTO282I
MESSAGE JES CHECKPOINT CONTENTION PROBLEM -- PLEASE CHECK
Table 35 shows these unique subparameters, together with descriptions of each of them.
Table 35 Unique Subparameters for ON MESSAGE, ON STRING, ON COMMAND, ON CTOPCMSG
Subparameter |
Description |
---|---|
JNAME |
Name of the job that issues the message. Mask characters (* and ?) are supported. |
JTYPE |
Job type that issues the message. |
SMFID |
SMF ID of the CPU on which the message or command is issued. |
SYSTEM |
Name of the system from which the message or command originated. Mask characters (* and ?) are supported. |
ROUTE |
Route code of the message. |
DESC |
Descriptor code of the message. |
CONSOLEID |
Console ID to which the message is issued or on which the operator command is entered. |
CONSOLE |
Name of the console on which the message is displayed. Mask characters (* and ?) are supported. |
APPEARED n TIMES IN m MINUTES |
Number of times the message must appear within a specified number of minutes before the rule is triggered. |
ON DSNEVENT and ON STEP Subparameters
Figure 21 shows the screen displayed when ON DSNEVENT is entered in the ON statement field.
Figure 21 Unique Subparameters for ON DSNEVENT and ON STEP Statements
RL: PRDJ0003 LIB CTO.PROD.RULES TABLE: JOB
COMMAND ===> SCROLL===> CRSR
+-----------------------------------------------------------------------------+
ON DSNEVENT = PRDJ0003 JTYPE SMFID SYSTEM
DSN PROD.* DISP CATLG
PROCSTEP PGMSTEP STEPRC OK And/Or/Not
OWNER IOAADMIN GROUP MODE PROD RUNTSEC
THRESHOLD
DESCRIPTION NEW DATASET CREATED - TRIGGER A BACKUP JOB
DESCRIPTION
===========================================================================
Table 36 shows the subparameters that are displayed for ON DSNEVENT or ON STEP statements. These subparameters cannot contain AutoEdit symbols.
Table 36 Unique Subparameters for ON DSNEVENT and ON STEP Statements
Subparameter |
Description |
---|---|
jobname |
Name (or mask) of the job to be monitored for data set events. |
JTYPE |
Job type which issues the message. |
SMFID |
SMF ID of the CPU to monitor for data set events. Mask characters (* and ?) are supported. |
SYSTEM |
Name of the system to monitor for data set events. Mask characters (* and ?) are supported. |
DSN |
Name of data set (or masks) to be monitored. |
DISP |
Data set disposition. |
PROCSTEP |
Procedure step name (or mask) to be monitored for this event within the selected jobs. |
PGMSTEP |
Program step name (or mask) to be monitored for this event within the selected jobs. |
STEPRC |
Completion code of the step which is monitored. |
Parent Topic |