Message Processing Information
| Function or Variable | Description |
|---|---|
| ACTIONDL() &ACTIONDL |
Returns the reason for which
the NetView® program deleted
the associated message, which is one of the following values:
|
| ACTIONMG() &ACTIONMG |
Returns a 1 if the message is an action message. Otherwise it returns a 0. |
| AREAID() &AREAID |
Returns a 1-letter (A - Z) identifier for the area on the multiple console support console panel that displays the message. |
| ATTNID() &ATTNID |
Returns the VSE attention identifier
ID. A plus sign (+) indicates that a reply is required for this message immediately.
A minus sign (-) indicates that a reply is required for this message. This function has a value if the message is from a VSE system, but null for non-VSE messages. |
| AUTOTOKE() &AUTOTOKE |
Returns the 1 - 8 character name
of the MVS message processing
facility (MPF) automation token. Note: If you have specified
AUTO(YES) or AUTO(NO) in
the MPF table, the values YES and NO are
not automation tokens. |
| DESC() &DESC |
Returns the MVS DESCriptor codes as a series of 16 on (1) and off (0) EBCDIC characters representing the bits in order. Refer to the MVS library for information about code values. |
| EVENT() | The NetView event that satisfied
the WAIT instruction is determined by the value of the REXX EVENT()
function. The REXX command list can use the EVENT() function to set
a variable and take appropriate action based on the set value. The
following returned values from the EVENT() function are possible:
If you do not issue a WAIT instruction in a command list, the value of the EVENT() function is replaced with a value of null. |
| HDRMTYPE() &HDRMTYPE |
Specifies the 1-character NetView buffer type of the received message or MSU. Buffer types are described in IBM Z® NetView Programming: Assembler. |
| IFRAUGMT() &IFRAUGMT |
Returns the UTC mean time when the automation internal function request (AIFR) was created. The variable IFRAUGMT is returned as an 8-byte hexadecimal value in store clock format. |
| IFRAUIND() &IFRAUIND |
Returns 2 bytes of indicator bits
as a series of 16 on (1) and off (0) EBCDIC characters representing
the bits in order. This data is mapped in DSIIFR. The following bit
positions are valid:
Note:
|
| IFRAUIN3() &IFRAUIN3 |
Returns 1 byte of indicator bits
as a series of eight on (1) and off (0) EBCDIC characters representing
the bits in order. This data is mapped in DSIIFR. The following bit
positions and meanings are valid:
|
| IFRAUI3X() &IFRAUI3X |
Returns a 32-byte string of '1' and 0' values corresponding to control flags in the IFRAUI3X word of the DSIIFR. The first 8 bits are the same as IFRAUIN3, allowing all 32 bits to be accessed at once. |
| IFRAUSB2() &IFRAUSB2 |
Returns a 2-byte user field in DSIIFR
as a string of 2 characters. Note:
|
| IFRAUSC2() &IFRAUSC2 |
Returns a 16-byte user field in DSIIFR
as a series of 128 on (1) and off (0) EBCDIC characters representing
the bits in order. Note: IFRAUSC2 and IFRAUSRC refer to the same
user field, but return the value in different formats.
|
| IFRAUSDR() &IFRAUSDR |
Returns the 1 - 8 character name of the originating NetView task. |
| IFRAUSRB() &IFRAUSRB |
Returns a 2-byte user field in DSIIFR
as a series of 16 on (1) and off (0) EBCDIC characters representing
the bits in order. Note: IFRAUSRB and IFRAUSB2 refer to the same user
field, but return the value in different formats.
|
| IFRAUSRC() &IFRAUSRC |
Returns a 16-byte user field in DSIIFR
as a string of 16 characters. Note:
|
| IFRAUTA1() &IFRAUTA1 |
Returns 6 bytes of indicator bits
as a series of 48 on (1) and off (0) EBCDIC characters representing
the bits in order. IFRAUTA1 enables checking of control information.
The following bit positions are valid:
Note:
|
| IFRAUWF1() &IFRAUWF1 |
Returns 4-byte MVS-specific WTO information
as a series of 32 on (1) and off (0) EBCDIC characters representing
the bits in order. The following specific bit positions with defined uses
are valid:
Note: Other bits can be tested but have no defined use.
MLWTO flags in this area also have no defined use. MLWTO
indicators are moved into the data buffers.
|
| JOBNAME() &JOBNAME |
Returns the 1 - 8 character MVS job name identifier. Because
JOBNAME is the name of the job that originated the message, it might
not always be the same as the name of the job to which the message
is referring. For example, the job names might be different when MVS issues a message about the NetView job. Also, JOBNAME can
contain the name of an initiator (instead of the actual job name)
when a job is started or stopped. If the message is issued during
startup or stopping, extract the job name from the message text rather
than using the JOBNAME function. The same information is available using MSGCOJBN. |
| JOBNUM() &JOBNUM |
Returns the 8-character MVS job number identifier. Note: The MVS job identifier might contain embedded blanks.
|
| KEY() &KEY |
Returns the 8-character retrieval key associated with the message. |
| LINETYPE() &LINETYPE |
Returns the following multiline write-to-operator
(MLWTO) line type or MSU data buffer type:
|
| MCSFLAG() &MCSFLAG |
Returns the system message flags
in a series of eight on (1) and off (0) EBCDIC characters representing
the bits in order. The following bit positions and meanings are valid:
Note:
|
| MSGASID() &MSGASID |
Returns the MVS system address space identifier from which
the message was issued. The value of MSGASID is a 1–5 digit decimal
number. Note: This value is null for messages that do not come from
an MVS address space.
|
| MSGAUTH() &MSGAUTH |
Returns the 2-character value indicating
whether the message was issued from an authorized program.
|
| MSGCATTR() &MSGCATTR |
Returns the 16-bit MVS message attribute flags as a series of on
(1) and off (0) EBCDIC characters representing the bits in order.
The following bit positions and meanings are valid:
Note: Other
bits can be tested but have no defined use.
|
| MSGCMISC() &MSGCMISC |
Returns the 8-bit MVS miscellaneous routing flags as a series of
on (1) and off (0) EBCDIC characters representing the bits in order.
The following bit positions and meanings are valid:
Note:
|
| MSGCMLVL() &MSGCMLVL |
Returns the 16-bit MVS message level flags as a series of on (1)
and off (0) EBCDIC characters representing the bits in order. The
following bit positions and meanings are valid:
Note: Other
bits can be tested but have no defined use.
|
| MSGCMSGT() &MSGCMSGT |
Returns the 16-bit MVS message type flags as a series of on (1)
and off (0) EBCDIC characters representing the bits in order. The
following bit positions and meanings are valid:
Note:
|
| MSGCNT() &MSGCNT |
|
| MSGCOJBN() &MSGCOJBN |
Returns the 1 - 8 character originating job name. (The same information is available using JOBNAME.) |
| MSGCPROD() &MSGCPROD |
Returns the 16-character MVS product level. The characters are defined
in the following way:
Note: The value is useful
only for solicited messages. Examine bit 16 of the ifrauind() function
to verify that the current message is solicited before using this
function.
|
| MSGCSPLX() &MSGCSPLX |
Returns the 1- 8 character
name of the MVS SYSPLEX where
the received message originated. Note: The value is useful only for solicited messages. Examine
bit 16 of the ifrauind() function to verify that the current message
is solicited before using this function.
|
| MSGCSYID() &MSGCSYID |
Returns the 1 - 3 digit decimal number
system identification for DOM. Note: The value is useful only for solicited messages. Examine
bit 16 of the ifrauind() function to verify that the current message
is solicited before using this function.
|
| MSGDOMFL() &MSGDOMFL |
Returns the 8-bit MVS DOM flags as a series of on (1) and off (0)
EBCDIC characters representing the bits in order. The following bit
positions and meanings are valid:
Note: The
value is useful only for solicited messages. Examine bit 16 of the
ifrauind() function to verify that the current message is solicited
before using this function.
|
| MSGGBGPA() &MSGGBGPA |
Returns the 4-byte hexadecimal background
presentation attributes. The following bytes and descriptions are
valid:
Use one of the following forms to check for hexadecimal values:
Note: The
value is useful only for solicited messages. Examine bit 16 of the
ifrauind() function to verify that the current message is solicited
before using this function.
|
| MSGGDATE() &MSGGDATE |
Returns the message date in a 7-character
format of yyyyddd, where yyyy is
the year and ddd indicates a calendar day. Note: This
is not necessarily the current date. It might be the date with which MVS associates the message as having
been issued.
|
| MSGGFGPA() &MSGGFGPA |
Returns the 4-byte hexadecimal foreground
presentation attributes. The following bytes and meanings are valid:
You can use one of the following forms to check for hexadecimal values:
Note: The
value is useful only for solicited messages. Examine bit 16 of the
ifrauind() function to verify that the current message is solicited
before using this function.
|
| MSGGMFLG() &MSGGMFLG |
Returns the 16-bit MVS general message flags. The following bit
positions and meanings are valid:
Note: The
value is useful only for solicited messages. Examine bit 16 of the
ifrauind() function to verify that the current message is solicited
before using this function.
|
| MSGGMID() &MSGGMID |
Returns the 4-character hexadecimal value MVS message identifier field. |
| MSGGSEQ() &MSGGSEQ |
Returns the 1 - 8 character numeric decimal sequence number. This function represents the last three bytes of MSGGMID. |
| MSGGSYID() &MSGGSYID |
Returns the 1 - 3 character numeric decimal system identification. This is the first byte of MSGGMID. |
| MSGGTIME() &MSGGTIME |
Returns an 11-character (including periods) time in the form hh.mm.ss.th, where hh is the hours, mm is the minutes, ss is the seconds, and th is tenths and hundredths of seconds. |
| MSGID() &MSGID |
|
| MSGITEM(n) &MSGITEM |
|
| MSGORIGN() &MSGORIGIN |
Note: The NetView command
list language and REXX versions of this command are spelled slightly
differently; be sure to use the correct spelling when writing your
command list.
|
| MSGSRCNM() &MSGSRCNM |
Returns the 1 - 17 character source
object name. This source name is an identifier from the source object
that was provided by either the DSIMMDBS or CNMPMDB application programming
interface (API) call. For more information about DSIMMDBS, refer to IBM Z NetView Programming: Assembler. For more information about CNMPMDB, refer to IBM Z NetView Programming: PL/I and C. The
source name is selected from the source object by the following rules:
For more information about how the source object is defined, refer to the DSIAIFRO mapping in IBM Z NetView Programming: Assembler. Note: The value is useful only for solicited messages. Examine
bit 16 of the ifrauind() function to verify that the current message
is solicited before using this function.
|
| MSGSTR() &MSGSTR |
|
| MSGTOKEN() &MSGTOKEN |
Returns a 1 - 10 digit decimal number
that indicates the token associated with the message. Note: You
can use a TOKEN value to group WTOs by setting MSGTOKEN before issuing
the WTO command. Later, these messages can be deleted using a single
DOM command by specifying the token value in MSGTOKEN.
|
| MSGTSTMP() &MSGTSTMP |
Returns the message time stamp. The
value of this field is the time when the NetView message buffer was created. The field
is a 6-character string in the form of hhmmss,
where:
|
| MSGVAR(n) | Note: The use of MSGVAR
is supported for compatibility purposes. Use MSGITEM because the MSGVAR(n)
functions do not return data relevant to the current message as
described in Working with Messages.
Use the MSGITEM(n) functions to return current message information.
Returns
the text of a message. The NetView program
changes the values of the MSGVAR(1) through MSGVAR(31) functions to
reflect the text of the message.
Note: MSGVAR(1) through MSGVAR(31)
are equivalent to the NetView command
list language variables &1–&31.
Each MSGVAR(n) function is set to a token of the last message read by MSGREAD. MSGVAR(1) is set to the token following the message identifier—the token used by the MSGID() function. MSGVAR(2) is set to the next token to the right of MSGVAR(1), and so on, up to a maximum of 31 variables. MSGVAR(n) is used for NetView automation with MSGREAD. Refer to the NetView online help for more information about using functions with MSGREAD. The MSGVAR(n) functions can be given values when a command list is called in the same way as are the &1–&31 NetView command list language parameter variables. |
| MSGTYP() &MSGTYP |
Returns the system message type as
a series of three on (1) and off (0) EBCDIC characters representing
the bits in order. An on character (1) in one of the positions corresponds
to the following values:
|
| MVSRTAIN() &MVSRTAIN |
In the automation table, a 3-bit
field describing MVS retain characteristics
of the message. Note: The 3 flags correspond to 3 flags defined in
the MVS WQE control block when NetView is using the SSI interface,
and corresponds to 3 similar flags in the MDB when running in Extended
Console Mode. The exact meaning and use of the flags is a property
of the operating system.
&MVSRTAIN in NetView command list language is a 3-bit field describing MVS retain characteristics of the message. |
| NVDELID() &NVDELID |
Returns the 24-character NetView deletion identifier for a message. You can remove the message from the held queue for all tasks in the NetView program using the NetView DOM NVDELID command. This is the NetView equivalent of the MVS DOM function, but is used for messages that are not MVS WTOs or WTORs. |
| PRTY() &PRTY |
Returns the priority of the message
as set by the originator. This field is a 1–5 digit decimal number.
The NetView program does
not use this field when processing the message. Note: The value is useful only for solicited messages. Examine
bit 16 of the ifrauind() function to verify that the current message
is solicited before using this function.
|
| REPLYID() &REPLYID |
Returns the reply identifier for
WTORs. This field has a maximum length of 8 characters. For messages from VSE systems, the REPLYID is the last three characters of the 6-character message prefix. The three returned characters are the message reply ID only if the sending system uses those characters to designate a reply ID for a message. |
| ROUTCDE() &ROUTCDE |
Returns the MVS routing code or codes assigned to the message.
The value of the field is a series of on (1) and off (0) EBCDIC characters
representing the bits in order. The maximum number of ROUTCDEs assigned
to a message is 128. Note:
|
| SESSID() &SESSID |
Returns the 1 - 8 character ID of
the TAF (terminal access facility) session that sent the message.
See Automation Resource Management for more information about NetView automation. Note: If
TAF session is started with a SESSID equal to the domain ID, SESSID
is set unpredictably and might give unpredictable results. If
the current message originated from a PPI receiver pipe stage, SESSID
shows the SAF ID.
|
| SMSGID() &SMSGID |
Returns a 1 - 10 character decimal
number that identifies a particular instance of a message. This function
can be used by the DOM command to identify action messages to be removed
from the display. Refer to the NetView online
help for more information about DOM. This field contains the same information as MSGGMID, except that SMSGID is returned as a decimal number and MSGGMID is returned as a hexadecimal value. |
| SYSCONID() &SYSCONID |
Returns the MVS system console name associated with the message.
System console names are 2 - 8 characters in length. Note: In
the command revision environment, returns the console name under which
the command was issued.
|
| SYSID() &SYSID |
Returns the 1-8 character identifier
of the MVS system from which
a message arrived. Note: In the command revision environment,
returns the system identifier under which the command was issued.
|
| WTO.REPLY &WTOREPLY |
Returns an operator reply to a WTOR.
|