Example 1: creating a Rule where MLWTO minor = ALL

In this example, a MLWTO message is processed by the Rule as a complete entity because MLWTO minor = ALL is specified on the Selection Criteria panel.

The Rule in this example uses the Variable Dependencies panel and the variable LINEx_WORDn to help the Rule fire based on content within the MLWTO such as the message ID of the major message, the job name, and some additional information in the first and fifth minor lines of the message.

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

M 05109 02:28:39.43 STC07239 00000281  IEA995I SYMPTOM DUMP OUTPUT 672
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

  1. Fill in the Selection Criteria - MSG panel as follows:

    BMC Software --------- Selection Criteria - MSG  --------- MainView AutoOPERATOR
    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 changes

    When 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.

    Note

    When creating a Rule for a MLWTO message, the Rule compares the selection criteria values to the content of only the first line (Major line) 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.

  2. Press Enter the Variable Dependencies - MSG panel is displayed as shown in the following figure.

    Variable Dependencies for MLWTO Minor=ALL

    BMC Software ------------ Variable Dependencies - MSG ---------- AutoOPERATOR
    COMMAND ===> TGT --- AOAO
    Rule-set === RUL01 Rule-id === ABNDPROD
    OR/
    Variable-name Op Variable-Value AND
    LINE2_WORD3:6:3_________________ EQ 0C4________________________________ AND
    LINE5_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 changes
  3. Press 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 MainView AutoOPERATOR ALERT will be created.

    Alert Action(s) I - MSG for MLWTO Minor=ALL

    BMC Software -------------- Alert Action(s) I - MSG ------------- AutoOPERATOR
    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 &LINE5_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
  4. Press Enter and finish completing the Rule.

Was this page helpful? Yes No Submitting... Thank you

Comments