Executable Block Statements - SET ON and SET OFFf

There are times when it is desirable to change the "on/off" indicator of a variable. One example is when the value of the variable should be output even if it did not change since the last time it was output (i.e., its indicator is still "off").

The indicator may be reset to "on" with the SET_ON statement. If the indicator is "on" and it should be off, the SET_OFF statement may be used. These statements may include one variable or a list of variables.

ALL_VAR may be used to change the indicators of all variables simultaneously.

Three examples are shown below:

Example 1:

SET_ON X_ENDPT Y_ENDPT Z_ENDPT ;

Example 2:

SET_ON ALL_VAR ;

Example 3:

SET_OFF X_CURPOS ;

In example 1, the indicators of three variables are set to "on". In example 2, the indicators of all variables are set to "on". In example 3, the indicator of one variable is turned "off".

Some functionality may be dependent on the product package. Contact your Reseller if you require a license.