Previous Topic

Next Topic

Book Contents

Book Index

Editing Rule Definitions in the IOA Edit Environment

Rule Definition parameters can be edited (moved, copied, deleted, repeated) by performing line editing commands, similar to standard ISPF line commands, from within the IOA Edit environment.

The Edit environment in a Rule Definition screen is accessed by typing EDIT in the COMMAND field and pressing Enter.

Figure 394 Edit Environment in The Rule Definition Screen

            LIBRARY : CTB.PROD.RULES                        RULE : REORDER

     COMMAND ===>                                           SCROLL===> CRSR

     +--------------------------------------------------------------------------+

     __ OWNER   M43                      GROUP ACCT_INV

     __ UPDATED 08/08/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

     __   DO

     __              (ENTER "ALWAYS", "IF")

     __ =========================================================================

     __ /* 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     TYPE     STOP    AND/OR

     PLEASE FILL IN RULE DEFINITION.                                     08.50.43

A 2-character line editing command field, marked by underscores, is displayed for each line on the 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.

Control-M/Analyzer performs automatic syntax checking to ensure that the rule definition is still syntactically correct after editing. If an edit will invalidate the rule definition, a message is displayed at the top of the screen and the edit is not performed. For guidelines and recommendations for editing rule definitions, see Maintaining Valid Rule Definitions.

All operations available in the Rule Definition screen can be performed while in the Edit environment (for example, parameter values may be changed, the Rule Definition screen may be saved, and the screen exited).

To exit the Edit environment, retype EDIT in the COMMAND field and press Enter. Line editing command fields are removed from the display.