Example 2: creating a TIME-initiated Rule with ATSTART


This example shows how to create a TIME-initiated Rule that begins to fire at BBI-SS PAS startup and fires every 15 minutes for a total of 10 times. After the Rule fires 10 times, the Rule will stop firing and it will not begin firing until the next BBI-SS PAS startup. The action that the Rule takes is to display initiators.

Note

TIME-initiated Rules that use ATSTART are automatically suspended or disabled if the Rule is modified. When you modify TIME-initiated Rules that uses ATSTART, a confirmation panel is displayed that warns you about suspending or disabling the Rule, and allows you to cancel or proceed with the changes.

To create this Rule

  1. Enter the new Rule ID and the event type on the Rule Processor Detail Control panel.
  2. Press Enter; the Selection Criteria - TIME panel is displayed as shown in the following figure.

    Figure 1. Creating a TIME-initiated Rule (2): Selection Criteria panel

    BMC Software --------- Selection Criteria - TIME -------- MAINVIEW AutoOPERATOR
    COMMAND ===>                                                 TGT  --- AOAO
                                                                 TIME --- HH:MM:SS
           Rule-set === RULMAGIE             Rule-id  === NEWRULE4

    Start Specification:
    Start Time           ===> ATSTART           hh:mm:ss or ATSTART

    Frequency:
    Interval             ===> 00:15:00          hh:mm:ss

    Stop Specification:
    Stop time            ===>                   hh:mm:ss
              or
    Stop Count           ===> 10



    Press ENTER to continue, END return to Detail Control, CANCEL to cancel changes
  3. Specify the start time for the Rule to fire and the time interval; enter the time specifications as follows:

    • To specify that the Rule begins firing at BBI-SS PAS startup, specify ATSTART for the Start Time field.
    • To specify that the Rule fires every 15 minutes, enter 00:15:00 for the Interval field.
    • To specify the Rule should fire a total of 10 times, specify 10 for the Stop Count field (valid values are 1 to 99999999).

    The Rule will stop firing after 10 times and will not fire again until the next BBI-SS PAS startup.

    For more information about the parameters on the Selection Criteria - TIME panel, see Selection-Criteria-fields

  4. Press Enter; the Variable Dependencies - TIME panel is displayed.
  5. This example does not make use of variables; press Enter.The Action Specification - TIME panel is displayed as shown in the following figure.

    Figure 2. Creating a TIME-initiated Rule (2): Action Specification I panel

    BMC Software  ---------- Action Specification(s) I - TIME -------- AutoOPERATOR
    COMMAND ===>                                                 TGT  --- AOAO     
                                                                                  
           Rule-set === RULMAGIE             Rule-id  === NEWRULE4                 
                                                                                  
    Automation Actions:                                                            
    Journal          ===>           Aux Log ===>                                   
                                                                                  
    * Exec Name/Parms ==>                                                          
                                                                                  
    * Cmd(Type MVS ) ===> $DI                                                      
                                                                                  
    * Issue Msg( WTO ) =>                                                          
                                                                                  
                                                                                  
    POST Target      ===>                                                          
    POST ID          ===>                                                          
    POST Parms       ===>                                                          
                                                                                  
    * Enter a question mark(?) and blank in any field on the line for more options.
    Press ENTER to continue, END return to Detail Control, CANCEL to cancel changes
  6. To specify that the command the Rule issues when it is fired, enter the command in the CMD (Type MVS) field. In this case the MVS command is $DI which causes the initiators to be displayed in the SYSLOG.
  7. Press Enter; the Action Specification(s) - II MSG panel is displayedas shown in the following figure.

    Figure 3. Creating a TIME-initiated Rule (2): Action Specification II panel

    BMC Software  ---------- Action Specification(s) II - MSG  ------- AutoOPERATOR
    COMMAND ===>                                                 TGT  --- DL72     
                                                                                  
           Rule-set === RULAO72              Rule-id  === CTMXSDF                  
                                                                                  
    Send (TSO IDs)   ===>                                                          
    DOM Id           ===>                                   Delete Operator Message
                                                                                  
    Set IOA Variable ===>                                                          
               Value ===>   
                                                          
    CTM Force Job: Table..:          Job.:          Date:                          
                   Library:                                                        
    CTM Set Cond.: Name...:                         Date:        Action:           
                                                                                  
    Press ENTER to continue, END return to Detail Control, CANCEL to cancel changes
  8. Specify that a notification is sent to a TSO user ID, BAOMES1, in the Send (TSO IDs) field.The Rule will issue the command and a notification will be sent to TSO user ID BAOMES1 every 15 minutes.
  9. The Rule will not set variables or issue an ALERT; press Enter until the Rule Processor Detail Control panel is redisplayed.
  10. Press END to apply changes; the Confirm Timer Rule Update panel is displayed as shown in the following figure.

    Figure 4. Creating a TIME-initiated Rule (1): Confirm Timer Rule Update panel

    BMC Software  ------------- Confirm Timer Rule Update ------------ AutoOPERATOR
    COMMAND ===>                                                 TGT  --- RB64     
                                                                                  
                                                                                  
    +----------------------------------------------------------------------------+
    + WARNING! You have added an ATSTART Timer Rule, NEWRULE4.                   +
    +                                                                            +
    +          The NEWRULE4 Rule will be in a SUSPENDED status and will not be   +
    +          eligible to fire until the next time the AutoOPERATOR PAS is      +
    +          stopped and started again.                                        +
    +                                                                            +
    + Please do one of the following:                                            +
    + - Press Enter to continue updating Rule NEWRULE3 in Rule Set RULMAGIE.     +
    + - Enter CANCEL to exit this Rule and cancel changes.                       +
    + - Press END to return to Rule Processor Detail Control for this Rule.      +
    +                                                                            +
    +----------------------------------------------------------------------------+
  11. Press END to apply changes; the Rule Set Overview panel is displayed.
  12. Repeat Step 15 and Step 16 to complete saving the Rule NEWRULE4 to Rule Set RULMAGIE.

 

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