Example 2: creating a Rule where MLSEG Minor = SINGLE


In this example, an IMS MLSEG message is processed by the Rule where each MLSEG segment can cause the Rule to fire because MLSEG Minor ===> SINGLE is specified on the Selection Criteria panel.

This example Rule fires based on the message ID of the major segment and additional information from the minor messages. The following IMS MLSEG message is the same as the message used for Example-1-creating-a-Rule-with-MLSEG-Minor-ALL.


M 09048 13:49:03.44 STC06054 00000090  DFS2503W DYNAMIC ALLOCATION   FAILED FOR 97
D                        978 00000090  (DFS2503W) DATASET NAME AAO.IMS111.DE2PCUST
E                        978 00000090  (DFS2503W) DATABASE BE2PCUST REASON CODE 1708

To create a Rule where MLSEG Minor = SINGLE

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

    BMC Software  ------------- Selection Criteria - IMS  ------------ BMC AMI OpsA
     COMMAND ===>                                                 TGT  --- NS7A     
                                                                                   
            Rule-set === AAORUL01             Rule-id  === DFS2503W                 
                                                                                   
     Text Description:                                                              
     Text ID     ===> DFS2503W                          First word of message       
     Text String (Enter Below):                                                     
                                                                                   
                                                                                   
     Issuer Identification:                                                         
     Job name    ===> IMS11PRD                          Jobname of IMS              
     Type        ===>                                   (JOB, STC, or TSO)          
     Jobclass    ===>                                   Job class of issuer         
     Acct Info   ===>                                   Job accounting information  
     RACF User   ===>                                   RACF Userid                 
     RACF Group  ===>                                   RACF Group name
     MLSEG Minor ===> SINGLE                            All/Single                  
                                                                                   
                                                                                   
                                                                                   
                                                                                   
                                                                                   
     Press ENTER to continue, END return to Detail Control, CANCEL to cancel changes

    When MLSEG Minor ===> SINGLE is specified, each individual line of an IMS multisegment message is processed by the Rule as separate events. BMC recommends that you use the variables &LINE2_WORDn variables on the Variable Dependencies panel so that the Rule can fire based on specific content of the MLSEG.

    Important

    When creating a Rule for a IMS MLSEG message, the Rule compares the selection criteria values to the content of only the first line (major segment) of the MLSEG.

    With the &LINE2_WORDn variable, LINE2 resolves to each and every segment of the MLSEG and a WORDn variable resolves for each word of each line of the MLSEG.

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


    BMC Software  ------------ Variable Dependencies - IMS  ---------- BMC AMI OpsA
    COMMAND ===>                                                 TGT  --- NS7A     
                                                                                  
           Rule-set === AAORUL01             Rule-id  === DFS2503W                 
                                                                               OR/
     Variable-name                    Op  Variable-Value                      AND  
                                                                                  
     LINE2_WORD3:1:4_________________ EQ  BE2P_______________________________  AND
     LINE2_WORD6_____________________ EQ  1708_______________________________  ___
     ________________________________ __  ___________________________________  ___
     ________________________________ __  ___________________________________  ___
     ________________________________ __  ___________________________________  ___
     ________________________________ __  ___________________________________  ___
     ________________________________ __  ___________________________________  ___
     ________________________________ __  ___________________________________  ___
     ________________________________ __  ___________________________________  ___
     ________________________________ __  ___________________________________  ___
     ________________________________ __  ___________________________________  ___
     ________________________________ __  ___________________________________  ___
     ________________________________ __  ___________________________________      
                                                                                   
     --> ATTENTION: Use ASV command to add ASV criteria to the rule <--             
                                                                                   
     Press ENTER to continue, END return to Detail Control, CANCEL to cancel changes


 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*