Previous Topic

Next Topic

Book Contents

Book Index

Balancing Mission

A Control-M/Analyzer rule can be invoked directly from a job step or application program, or triggered through a balancing mission.

Use a balancing mission when you need to specify criteria for running a rule. If the criteria are met, the rule specified by the mission is scheduled for execution. Criteria may specify:

For example, the accounting application may require rule BALINV to be run every day to balance an invoice file. On the weekend, the balanced invoice files are updated by inclusion of several Control-M/Analyzer variables containing weekly totals. Rule UPDATE performs this function.

By using the Mission Definition facility, you also add a level of operational security to the balancing task. For example, you can define a mission which groups rule BALINV and rule UPDATE together, and schedules rule BALINV to run daily and rule UPDATE to run weekly. A job can be defined that refers to this mission rather than to either one of these rules. By doing this, the UPDATE rule cannot be mistakenly run on a weekday.

This exercise demonstrates how a rule is invoked by defining and ordering such a mission.

  1. Enter the Balancing Mission Definition entry panel using one of the following methods:

    The Control-M/Analyzer Mission Definition entry panel is displayed.

    Figure 20 Control-M/Analyzer Mission Definition Entry Panel

    ------------ CONTROL-M/Analyzer MISSION DEFINITION - ENTRY PANEL ------------(BM)

    COMMAND ===>                                                                  

                                                                                 

                                                                                 

                                                                                 

    SPECIFY LIBRARY, MISSION NAME, CATEGORY                                       

                                                                                 

    LIBRARY   ===> CTB.PROD.BALMIS                                               

    MISSION   ===>                      (Blank for mission selection list)       

    CATEGORY  ===>                      (Blank for category selection list)      

                                                                                 

                                                                                 

                                                                                 

                                                                                 

                                                                                 

                                                                                 

                                                                                 

    SHOW DOCUMENTATION       ===> N     (Y/N)                                   

    AUTO-SAVE DOCUMENTATION  ===> Y     (Y/N)                                   

                                                                                 

                                                                                 

                                                                                 

                                                                                 

    USE THE COMMAND "SHPF" TO SEE PFK ASSIGNMENT                           07.38.57

  2. If the mission library name in the LIBRARY field is not CTB.PROD.BALMIS, as shown in the example, correct it to the library name used at your site. Leave the MISSION and CATEGORY fields blank.
  3. Press Enter to display the Mission List screen.

    Figure 21 Mission List Screen

    MISSION LIST IN   CTB.PROD.BALMIS                              ------------(BM)

    COMMAND ===>                                                   SCROLL ===> CRSR

    OPT  NAME ------------ VV.MM  CREATED     CHANGED     SIZE  INIT   MOD   ID   

         ADMIN                                                                    

         ARMISS01                                                                 

    ====== >>>>>>>>>>>>>>>>    NO MORE MISSIONS IN LIBRARY    <<<<<<<<<<<<<< =====

                                                                                 

                                                                                 

                                                                                 

                                                                                 

                                                                                 

                                                                                 

                                                                                 

                                                                                 

                                                                                 

                                                                                 

                                                                                 

                                                                                 

                                                                                 

                                                                                 

                                                                                 

                                                                                 

    OPTIONS:  S SELECT   O ORDER   F FORCE   B BROWSE   D DELETE           07.41.48

This screen shows the list of missions defined for library BALMIS. Locate the ADMIN and ARMISS01 missions on this list.

Parent Topic

Introduction to Control-M/Analyzer Facilities