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 IOA 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 250 Edit Environment in a Rule Definition Screen

RL: CANCEL *   LIB CTO.PROD.RULES                               TABLE: JOB

COMMAND ===>                                                    SCROLL===> CRSR

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

__ ON COMMAND  = CANCEL *

__    JNAME          JTYPE         SMFID        SYSTEM       USERID

__    ROUTE          DESC          CONSOLEID 01 CONSOLE

__    APPEARED        TIMES IN       MINUTES                          And/Or/Not

__ OWNER IOAADMIN GROUP                         MODE PROD    RUNTSEC

__ DESCRIPTION ASK FOR OPERATOR'S CONFIRMATION OF SENSITIVE COMMANDS

__ DESCRIPTION

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

__ /* SUPPRESS ORIGINAL COMMAND

__ DO DISPLAY  = SUPPRESS Y           ROUTE             DESC      CONSOLEID

__ /* ASK OPERATOR FOR CONFIRMATION

__ WHILE    %%$RPLYTXT NE YES AND %%$RPLYTXT NE NOT

__ DO ASKOPER  = ENTER "YES" OR "NOT" FOR CONFIRMATION

__               ROUTE                CONSOLEID         TIMEOUT

__ ENDWHILE

__ /* UPON CONFIRMATION, RE-ISSUE THE ORIGINAL COMMAND

__ IF       %%$RPLYTXT EQ YES

__ DO COMMAND  = %%$CMD                                  WAIT      CONSOLEID

__    WAITMODE   N

__ ENDIF

__ DO

FILL IN RULE DEFINITION. CMDS: EDIT, SCHED, OPT, SHPF                  14.51.58

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.

Control-O 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 can be changed, the Rule Definition screen can 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.

Line editing commands can be performed on any single ON or DO statement or on a block of ON or DO statements.