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, a daily category is scheduled every day, but a monthly category is scheduled at month end. With this facility, different rules may be scheduled for execution on these different occasions.
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.
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
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 |