Previous Topic: Display the Changed PanelNext Topic: Specify Recognition Criteria


Specify Rule Actions

Rule actions define the changes that are to be made to a panel when this rule is applied. Rule actions include:

Rule action definition begins at the Add Rules—Rule Actions menu; a sample is shown next. To display this menu, press Enter from the Add Rules—Ruleset Description or Add Rules—Confirm Selection panels.

Note: Since rules actions are applied in the order they appear in the ruleset, you should insert the actions in the order you want them applied.

-----------------------ADD RULES - RULE ACTIONS---------------     ENTER COMMAND ===>                                                                                                                                   RULE NAME: RUL00001            RULESET NAME:     TCADS.CCC.ORDERAPP.001                                        TEST STREAM NAME: TCADS.CCC.ORDERAPP.001                                                                                DESCRIPTION  ===>                                                                   ===>                                                                                                                                          1  FIELD RECOGNITION                   11  GENERATE FIELD VALUE        2  SCREEN RECOGNITION                  12  INSERT SCREENS        3  VARIABLE FIELD                      13  DELETE SCREENS        4  DELETE FIELD                        14  CUT SCREEN FIELD        5  MOVE FIELD                          15  PASTE SCREEN FIELD        6  CHANGE FIELD VALUE                  20  USERID LOGGING        7  NEW FIELD                           21  TERMINAL ID LOGGING        8  CHANGE AID KEY                      22  APPLICATION ID LOGGING        9  CHANGE CURSOR LOCATION                                                      10  CHANGE WCC VALUES                                                                                                                                                                                                 F1-HELP       F2-PREVIEW     F3-END       F4-RETURN       F9-SELECT

For a description of the RULESET NAME, TEST STREAM, and RULE NAME fields, see the previous section, Use the Rules Function Panels.

DESCRIPTION (optional)

Type a description for this rule.

FIELD RECOGNITION

Select option 1, Field Recognition, to identify which fields to find on a screen before this rule can be applied.

SCREEN RECOGNITION

Select option 2, Screen Recognition, to apply this rule only to this screen.

VARIABLE FIELD

Select option 3, Variable Field, to create a new variable field or change an existing one. Variable fields identify fields that CA Verify for VTAM should ignore in a logical comparison. An example of a field containing a variable value would be date or time.

DELETE FIELD

Select option 4, Delete Field, to remove an existing field from a panel.

MOVE FIELD

Select option 5, Move Field, to change the placement of an existing field on the panel.

CHANGE FIELD VALUE

Select option 6, Change Field Value, to change the value of a field.

NEW FIELD

Select option 7, New Field, to add a new field to the panel.

CHANGE AID KEY

Select option 8, Change AID Key, to change the value assigned to an AID key.

CHANGE CURSOR LOCATION

Select option 9, Change Cursor Location, to change the placement of the cursor on the panel or to make the cursor location a variable.

CHANGE WCC VALUES

Select option 10, Change WCC Values, to change the Write Control Character or to make it a variable.

GENERATE FIELD VALUE

Select option 11, Generate Field Value, if you need to generate or accumulate values for a numerical field or for date aging.

INSERT SCREENS

Select option 12, Insert Screens, if you need to insert logical screens from a test stream.

DELETE SCREENS

Select option 13, Delete Screens, if you need to delete logical screens from a test stream.

CUT SCREEN FIELD

Select option 14, Cut Screen Field, if you need to use some data from this screen on another screen.

PASTE SCREEN FIELD

Select option 15, Paste Screen Field, to place data that was cut from one screen onto this screen.

USERID LOGGING
TERMINAL ID LOGGING
APPLICATION ID LOGGING

Select one of these options to create a list to include or exclude user IDs (option 20), terminal IDs (option 21), or application IDs (option 22) while logging. These selections are discussed in the chapter "Log Function".