Previous Topic: EVVARGET Macro

Next Topic: EXECNCL Macro

EVVARSET Macro

The EVVARSET macro sets the values of user-defined EventView variables.

Parameters: EVVARSET Macro

Name

Specifies the character string that, together with the ZREV prefix, forms the name of the variable.

Value

Specifies the value of a named variable.

These fields can contain variables that are resolved at execution time. If you want to code other EventView variables here, they must be retrieved using EVVARGET in a previous step in the process.

Example: EVVARSET Macro

You want the EventView rules to react to messages differently depending on whether the system is attended, as indicated by the value of the &ZREVATTENDED variable. Use the WTOR macro to send a WTOR message and wait for the reply. If a reply is received within two minutes, set the &ZREVATTENDED variable to ATTENDED (see the following).

PROD----- Automation Services : EVVARSET Macro Parameter Definition ----------- Command ===> Function=BROWSE . Set EventView Variables ----------------------------------------------------. | | | Name Value | | ZREV ATTENDED = ATTENDED | | ZREV = | | ZREV = | | ZREV = | | ZREV = | | ZREV = | | | ’-----------------------------------------------------------------------------’