The various selection criteria and instructions defined in each Control-M/Analyzer rule are called rule parameters. Rule parameters are grouped together logically to form subunits called EXECUTE blocks. General parameters and a series of EXECUTE blocks combine to form a rule definition.
This chapter is comprised of:
BMC recommends that all Control-M/Analyzer users read the overview of the Rule Definition screen and the description of the Online Scheduling facility in Online Facilities before reading this section.
Rule Definition parameters are defined through the Online facility using pre-formatted, "fill-in-the-blank" screens. Rule definitions may also be created and modified using a standard editor and Control-M/Analyzer Rule Definition language commands. This method is discussed in Rule Definition Using an Editor.
Figure 173 Control-M/Analyzer Rule Definition Screen
LIBRARY : CTB.PROD.RULES RULE : REORDER
COMMAND ===> SCROLL===> CRSR
+-----------------------------------------------------------------------------+
OWNER M43 GROUP ACCT_INV
UPDATED 04/04/00 - 15:25:54 BY M43
DESC REORDER INVENTORY ITEM CHR001 IF NECESSARY
OPTIONS
===========================================================================
/* INITIALIZATION OF THE MINIMUM AMOUNT REQUIRED ON-HAND FOR
/* INVENTORY ITEM CHR001.
EXECUTE SETUP UPON C
ON DATA
ALWAYS
DO SET = MIN_CHR001=100 C
===========================================================================
/* DETERMINE CURRENT ON-HAND QUANTITY OF INVENTORY ITEM CHR001 BY
/* EXTRACTING THIS VALUE FROM SYSOUT DDNAME INVENTRY.
EXECUTE CHECK UPON C
ON SYSOUT PROCST PGMST DDNAME INVENTRY JOBNM
MODE PG LINECT 0060 DATASTAMP
WHEN LINE 001 - 060 COL 010 - 020 STOP AND/OR
STRING = CHR001
PLEASE FILL IN RULE DEFINITION. 09.25.30
All rule definitions are stored as members in standard user libraries. One member must exist for each rule, and the member name is identical to the rule name. Maintenance within the library and management of the operating instructions are performed using the Online Rule Definition facility or a standard editor.
When defining rule definitions using the Online facility, definitions can be modified by entering the Control-M/Analyzer Edit Environment. ISPF-like line commands may be specified to copy, delete, insert, move, and repeat lines of the definition. For additional information and examples refer to Editing Rule Definitions in the IOA Edit Environment.
There are four types of rule parameters:
This chapter first describes the EXECUTE block structure, followed by an overview of Control-M/Analyzer variables, and then presents a quick summary of the rule parameters in each of the four groups listed above.
The summary is followed by detailed descriptions of each parameter and statement in alphabetical order. Subparameters are presented in the order of their fields on the screen.
The detailed descriptions of the parameters are followed by an overview and quick reference guide for creating and modifying rules using a standard editor. The guide contains the syntax and options of each parameter. Examples are also provided.
Parent Topic |