Previous Topic

Next Topic

Book Contents

Book Index

Examples

Example 1

Assume that it is not known whether the %%INDEX_DOLLAR DO SHOUT message variable contains a value. By including the %%RESOLVE NO statement, the DO rule will be processed either way.

The last statement resets AutoEdit resolution to its default mode.

DO SET=%%$RESOLVE NO

DO SHOUT=TO TSO-PROD URGENCY R

MESSAGE SET THE VALUE OF THE %%INDEX_DOLLAR PARAMETER

DO SET=%%$RESOLVE

Example 2

Assume that

In this case, resolution of %%STARTCMD without %%$RESOLVE FORCE results in the following:

SUB=MSTR,LLA=%%$GLOBAL\SYSCLONE

with the value of the global variable %%$GLOBAL\SYSCLONE unchanged.

However, with %%$RESOLVE FORCE, the result is

SUB=MSTR,LLA=01

Example 3

Assume that Control-O operating in the othersys system goes down, and you need to determine the last value set in the colname column of the dbname database. The following statements shout the value:

DO SET=%%$RESOLVE ODOWN

DO SHOUT=THE VARIABLE VALUE IS

%%othersys\dbname\colname

DO SET=%%$RESOLVE

Parent Topic

%%$RESOLVE