Step 4. Setting variables as additional action specification
The following figure shows an example of the Action: Set Variables panel.
You can use the fields on this panel to define a Rule’s actions to do the following:
- set one or more SHARED variables
increase or decrease a SHARED variable’s numerical value
To increase or decrease the numerical value, specify +n or -n, where n is a number.
- use variable substringing
Refer to Using-variables-in-Rule-Processor-application-fields for more information about using variables in Rules and using the Action: Set Variables panel.
Figure 1. Action: Set Variables - MSG panel
COMMAND ===> TGT --- DL72
Rule-set === RULAO72 Rule-id === MPDMSG
Variable Name Variable Value
MYVAR1___________________________ 10_________________________________________
MYVAR2___________________________ -15________________________________________
MYVAR3___________________________ +20________________________________________
_________________________________ ___________________________________________
_________________________________ ___________________________________________
_________________________________ ___________________________________________
_________________________________ ___________________________________________
_________________________________ ___________________________________________
_________________________________ ___________________________________________
_________________________________ ___________________________________________
--> ATTENTION: Use AAV command to use Advanced Set Variables panel <--
Press ENTER to continue, END return to Detail Control, CANCEL to cancel changes
The first field is 33 characters long and SHARED variables are valid. Use the first field to specify the variable to be modified.
The second field is 43 characters long and SHARED variables and constants are valid. Use the second field to assign a new value (with a variable or an unsigned constant) or modify a numeric value (with a signed constant).