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.
Fig.JV.C.1 Edit Environment in a Rule Definition Screen
- CONTROL-M/JCLVERIFY RULE: DOTYP05 TABLE: DOTYPES0
COMMAND ===> SCROLL===> CRSR
+-----------------------------------------------------------------------------+
__ RULE DOTYP05 ENVIRONMENT GENERAL PRIORITY 50 CONTINUE SEARCH Y
__ DESC DOTYP05 RETURN
__ DESC
__ ===========================================================================
__ JOBNAME *
__ LIBRARY * MEMBER DOTYPE01
__ SCHDLIB SCHDTAB O/N
__ ===========================================================================
__ ON JOB CLASS PRTY USER
__ ACCOUNT O/N
__ ===========================================================================
__ DO SET %%Q = %%$BLANK
__ DO
__ IF %%Q EQ %%$BLANK
__ DO MSG TYPE E RETURN ACTIVATED RC 0010 RS 2222
__ DO
__ RETURN RC 0010 RS X' 2222 '
__ ENDIF
__ DO SET %%A = RULE DOTYP06 %% PLUS
__ DO SET %%B = PR 50 CONTINUE SEARCH Y
__ DO MSG TYPE I TEST FOR %%A %%B
__ DO SET %%E = %%C%%$PLUS%%D
__ DO SET %%C = 1
__ DO SET %%D = 2
__ DO MSG TYPE I %%C PLUS %%D IS %%E
__ DO
FILL IN RULE DEFINITION. CMDS: EDIT DOOPT ONOPT CANCEL 18.52.23
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.
Specified line editing commands are processed when Enter is pressed.
Control-M JCL Verify 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.