Example 1: creating a Rule where MLWTO minor = ALL
When all of search criteria and variable dependency criteria is met, this example Rule creates an ALERT with the appropriate message.
The MLWTO message is shown here:
D 672 00000281 SYSTEM COMPLETION CODE=0C4
D 672 00000281 TIME=02.28.39 SEQ=00112 CPU=0000 ASID=005A
D 672 00000281 PSW AT TIME OF ERROR 078D1000 80007954 ILC 2 INTC 01
D 672 00000281 ACTIVE LOAD MODULE ADDRESS=00007708 OFFSET=0000024C
D 672 00000281 NAME=ACCTPAY
D 672 00000281 DATA AT PSW 0000794E - 00011311 0A019140 B7F14770
D 672 00000281 GR 0: 00000000_00000001 1: 00000000_FFFF6F70
D 672 00000281 2: 00000000_0000943C 3: 00000000_00009098
D 672 00000281 4: 00000000_000090CA 5: 00000000_000090F2
D 672 00000281 6: 00000000_00000004 7: 00000000_0000917C
D 672 00000281 8: 00000000_000091A4 9: 00000000_00009210
D 672 00000281 A: 00000000_00009706 B: 00000000_00008707
D 672 00000281 C: 00000000_80007708 D: 00000000_00008E60
D 672 00000281 E: 00000000_800078FE F: 00000004_807EF278
E 672 00000281 END OF SYMPTOM DUMP
To create a Rule where MLWTO minor = ALL
Fill in the Selection Criteria - MSG panel as follows:
BMC Software ----------- Selection Criteria - MSG ----------- BMC AMI OpsA
COMMAND ===> TGT --- AOAO
Rule-set === RUL01 Rule-id === ABNDPROD
Text Description:
Text ID ===> IEE995I Ignore leading plus:
Text String (Enter Below):
Issuer Identification:
Job name ===> PROD Name of issuer
Type ===> (JOB, STC, or TSO)
Jobclass ===> Job class of issuer
Acct Info ===> Job accounting information
RACF User ===> RACF Userid
RACF Group ===> RACF Group name
Route Codes ===>
Desc Codes ===>
Console Name ==> Destination Console Name
MLWTO Minor ===> ALL Single/All
Press ENTER to continue, END return to Detail Control, CANCEL to cancel changesWhen MLWTO Minor ===> ALL is specified, all the lines of multiline WTO message are processed by the Rule as a single entity. BMC Software recommends that you use the variables &LINEx_WORDn variables on the Variable Dependencies panel so that the Rule can fire based on specific content of the MLWTO.
With the &LINEx_WORDn, x is set for every line of the MLWTO and n is set for every word in a line.
Press Enter the Variable Dependencies - MSG panel is displayed as shown in the following figure.
BMC Software ------------ Variable Dependencies - MSG ---------- BMC AMI OpsA
COMMAND ===> TGT --- AOAO
Rule-set === RUL01 Rule-id === ABNDPROD
OR/
Variable-name Op Variable-Value AND
LINE2_WORD3:6:3_________________ EQ 0C4________________________________ AND
LINE6_WORD1_____________________ EQ NAME=ACCTPAY_______________________ ___
________________________________ __ ___________________________________ ___
________________________________ __ ___________________________________ ___
________________________________ __ ___________________________________ ___
________________________________ __ ___________________________________ ___
________________________________ __ ___________________________________ ___
________________________________ __ ___________________________________ ___
________________________________ __ ___________________________________ ___
________________________________ __ ___________________________________ ___
________________________________ __ ___________________________________ ___
________________________________ __ ___________________________________ ___
________________________________ __ ___________________________________
--> ATTENTION: Use ASV command to add ASV criteria to the rule <--
Press ENTER to continue, END return to Detail Control, CANCEL to cancel changesPress Enter until the Alert Action(s) I - MSG panel is displayed as shown in the following figure.The following entry on the Alert Action(s) II - MSG panel specify that when the Rule fires, a BMC AMI Ops Automation ALERT will be created.
BMC Software -------------- Alert Action(s) I - MSG ------------- BMC AMI OpsA
COMMAND ===> TGT --- AOAO
Rule-set === RUL01 Rule-id === DA010
Function ===> ADD (ADD, DELETE, DELETEQ)
Key ===> PROD&IMFOJOB
Text ===> PRODUCTION JOB &IMFOJOB ABENDED WITH AN &LINE1_WORD3:6:3 IN
PROGRAM &LINE6_WORD1:6:8
Queues ===> PRODQUE Alert Queue Name(s)
Priority ===> (CRIT,MAJ,MIN,WARN,INFO,CLEAR)
Color ===> RED,PINK,YEL,DKBL,LTBL,GRE,WHI
PCMD ===>
System ===> Return to target after PCMD
* Exec ===> Follow-up EXEC
Help ===> Associated HELP Panel
Targets ===> Target System
Udata ===> User Data
Origin ===> Origin
User ===> Userid
Alarm ===> Sound Alarm (YES/NO)
Publish ===> ADD Alert Publishing Mode
* Enter a question mark(?) and blank for more options.
Press ENTER to continue, END return to Detail Control, CANCEL to cancel change- Press Enter and finish completing the Rule.
In addition, when you specify MLWTO Minor = ALL, the Rule cannot take the action of suppressing the message or preventing it from being recorded in the CONSOLE or the MVS SYSLOG.
To perform both automation and suppress the WTO, you can create another Rule for the WTO but create it the same as any other single line WTO, and do not specify any values in "MLWTO Minor" field. Then, ensure this Rule follows the Rule performing the automation actions and also ensure that Rule Set strategy is ALL.