NET/MASTER Network Control Language (NCL) Programmer's Guide
The Standard Map $SPI
Standard and User-Defined Maps
11–18 106160 Tandem Computers Incorporated
Table 11-4. SPI Tokens Converted to External Form in an MDO Variable (Page 3 of 3)
SPI Tokens and Fields Conversion Method Used Result of Conversion to External Form
DATA-TYP-INT4 Converted to NCL floating point format. number.number
DATA-TYP-FLOAT64 Converted to NCL floating point format. number.number
DATA-TYP-BOOL Converted to 0 or 1. 0 or 1
DATA-TYP-REAL-ENUM Not converted to external form unless
enumerated and in a shared token, in which case
it is converted to long with the high 16 bits as the
subsystem number. (Removing the high 16 bits
converts to internal form.)
N.A.
DATA-TYP-BYTE-ENUM Not converted to external form unless
enumerated and in a shared token, in which case
it is converted to long with the high 16 bits as the
subsystem number. (Removing the high 16 bits
converts to internal form.)
N.A.
DATA-TYP-STRUCT Fields are converted to external form using the
data types described in the preceding DATA-
TYP- rows.
N.A.
N.A. Not applicable
SPI to MDO Conversion Rule 2h. If a message does not contain ZEMS-TKN-NODENAME,
NonStop NET/MASTER MS passes the value of ZEMS-TKN-SYSTEM to the Guardian
system procedure call GETSYSTEMNAME, which returns the system name associated
with the system number, and places the system name as the value of ZEMS-TKN-
NODENAME in the MDO variable.
For example, in a message that is read by the EMSREAD verb, if a system name of
\SYS1 is associated with a system number of 1, the MDO variable
&$EMS.SPI.TANDEM.ZEMS_TKN_NODENAME contains the value \SYS1.
SPI to MDO Conversion Rule 3
An EMS consumer distributor can create a token called ZEMS-TKN-PASSVAL. This
occurs if the consumer distributor filter passes an event message with the PASS
statement. If a message from an EMS consumer distributor contains ZEMS-TKN-
PASSVAL, NonStop NET/MASTER MS creates a second (repeated) occurrence of the
SPI element with the token and its value.
If the SPI element is repeated, you can use either of the following two variable names
to refer to the first occurrence of the SPI element in an MDO variable:
&$EMS.SPI
&$EMS.SPI{1}
You can use the following variable name to refer to ZEMS-TKN-PASSVAL in the
second occurrence of the SPI element in an MDO variable:
&$EMS.SPI{2}.TANDEM.ZEMS_TKN_PASSVAL