The example in Figure 99 demonstrates how the reply number for a WTOR message can be saved for use at a later time (for example, by another rule).
Figure 99 Example of Storing a Reply Number for Later Use
ON MESSAGE = DFS996I
JNAME JTYPE SMFID SYSTEM
ROUTE DESC CONSOLEID CONSOLE
APPEARED TIMES IN MINUTES And/Or/Not
OWNER IOAADMIN GROUP MODE PROD RUNTSEC
THRESHOLD
DESCRIPTION KEEPING THE REPLY NUMBER IN A GLOBAL AUTOEDIT VARIABLE
===========================================================================
DO SET = %%IMS-REPLY = %%$REPLY GLOBAL Y
Explanation
The %%$REPLY system variable contains the reply number of the WTOR message that triggered the rule. In this rule, the %%IMS-REPLY user-defined variable is used to store the reply number (by way of the DO SET statement) for use at a later time.
Parent Topic |