A 2-character line editing command field, marked by underscores, is displayed for each line on the Rule Definition screen. Editing commands are typed directly onto these underscores. Rule Definition parameters can be edited (moved, copied, deleted, repeated) by performing line editing commands, similar to standard ISPF line commands, from within the Control-M/Analyzer Edit environment.
The Edit environment of the Rule Definition screen is accessed by typing EDIT in the COMMAND field of a definition screen and pressing Enter.
Figure 49 Entering Editing Command
LIBRARY : CTB.PROD.RULES RULE : REORDER
COMMAND ===> SCROLL===> CRSR
+-----------------------------------------------------------------------------+
__ /* COMPARE THE CURRENT ON-HAND AMOUNT (DATABASE VARIABLE
__ /* CURR_ONHAND) TO THE MINIMUM REQUIRED AMOUNT (DATABASE VARIABLE
__ /* MIN_CHR001). DETERMINE IF REORDERING IS NECESSARY, AND PRINT A
__ /* MESSAGE INDICATING THE RESULTS
__ EXECUTE COMPARE UPON C
__ ON DATA
__ ALWAYS
MM DO SET = DIFFER=CURR_ONHAND-MIN_CHR001 C
MM DO SET = REASON=TOLER(CURR_ONHAND,MIN_CHR001,10) C
__ DO
__ IF CURR_ONHAND>=MIN_CHR001 C
B_ DO PRINT = DO NOT REORDER; SURPLUS=%%DIFFER F C
__ DO
__ ELSE
__ DO PRINT = REORDER; DEFICIT=%%DIFFER F C
__ DO
__ (ENTER "ALWAYS", "IF")
__ ===========================================================================
__ EXECUTE UPON C
__ ON
PLEASE FILL IN RULE DEFINITION. 09.02.21
A 2-character line editing command field, marked by underscores, is displayed for each line on the Rule Definition screen. Editing commands are typed directly onto these underscores.
Incorrectly specified line editing commands can be corrected by typing over them correctly. Line editing commands can be deleted by blanking them out or by specifying the RESET command in the COMMAND field.
Specified line editing commands are processed when Enter is pressed.
For additional information about and examples, see Editing Rule Definitions in the IOA Edit Environment.
Parent Topic |