Use these variables to retrieve information about a message. Some of the variables have equivalent AOM NCL system variables that are described in more detail in the Network Control Language Reference Guide.
You can use the variables to pass values to a message rule, to the parameters of macros used in the rule, and to NCL procedures invoked from the rule.
Note: The special messages prefixes ($AA-, $DN-, or $MN-) may be used in ResourceView to enhance functionality. A message captured by using such a prefix has the prefix included in the message variables.
Contains the text of the current line of a message.
Contains a word in the current line of a message. n is a number indicating the position of the word in the message and is in the range 1 through 32. Words are delimited by a blank or a comma.
Contains the identification number of the job that sends the message.
Contains the name of the job that issued the message. The value may be overridden by a job name supplied by JES. Thus, messages originating from JES can have the name of the target job, rather than the JES job name.
Contains the first word of the message text and is equivalent to &ZMSGWORD1. If the message is a multiline WTO or WTOR message, &ZMSGMSGID contains the first word of the major line text.
Contains the text of the message. If the message is a multiline WTO or WTOR message, &ZMSGTEXT contains the first (major) line of the message. Use the &ZMSGATEXT variable to retrieve the current line (which can be a minor line) of a message.
Contains the time of message arrival, in the form hh.mm.ss. The value can be in the range 00.00.00 through 23.59.59.
Contains a word in the message text. If the message is a multi-line WTO or WTOR message, it is treated as one long string and ZMSGWORDn variables are assigned accordingly. Words are delimited by a blank or a comma. Use the &ZMSGAWORDn variable to retrieve a word in the current line (which can be a minor line) of a message.
Contains the WTOR reply number. The value is blank if the message is not of the WTOR type.
The following variables are available to EventView message rules only:
Contains the name of the job that issued the WTO or WTOR message.
Contains the name of the system from which the message originates.
The following variables are available to completed (or triggered) EventView message group rules:
Contains the correlation key used for the triggered message group rule.
Contains the name of the triggered message group rule.
Contains the number of messages that triggered the message group rule.
Contains the text of one of the messages that triggered the message group rule. n is a message arrival sequence number and is in the range 1 to &ZMSGTXTN.
The following variables are not available to EventView correlation keys, replacement text, and ZREV variables:
Contains the date of message arrival, in the form dd-mmm-yyyy (for example, 14-JUN-2000).
Contains the day of message arrival, in the form ddd (for example, WED).
The following variables are not available to EventView:
Contains each line of a multi-line WTO or WTOR, where &ZMSGLINE1 is the major line.
Contains the number of lines in a multi-line WTO or WTOR.
Contains a word from a line in a multi-line WTO or WTOR, for example, &ZMSGL24w16 is the 16th word in line 24.
| Copyright © 2011 CA. All rights reserved. | Tell Technical Publications how we can improve this information |