EMS Manual
Distributor Errors
EMS Manual—426909-005
21-2
SPI Token Codes
ZSPI-TKN-ERRLIST (type list)
is the SPI token that begins an error list.
ZSPI-TKN-ERROR (type error)
is the standard SPI error token. The DDL for ZSPI-TKN-ERROR is:
DEFINITION ZSPI-DDL-ERROR.
02 Z-SSID TYPE ZSPI-DDL-SSID.
02 Z-ERROR TYPE ZSPI-DDL-ENUM.
END
ZSPI-TKN-PARM-ERR
is the standard SPI error token. The DDL for ZSPI-TKN-PARM-ERR is:
DEF ZSPI-DDL-PARM-ERR.
02 Z-TOKENCODE TYPE ZSPI-DDL-TOKENCODE.
02 Z-INDEX TYPE ZSPI-DDL-UINT.
02 Z-OFFSET TYPE ZSPI-DDL-UINT.
END
The ZSPI-TKN-PARM-ERR token gives the token-code and index (but not the
value) of a parameter token that is incorrect.
If the value was incorrect, the error list also includes the token and its erroneous value.
ZSPI-TKN-PROC-ERR (type enum)
specifies a procedure associated with the error. (The exact association depends on
the particular error and is described with the related ZSPI-TKN-ERROR value.)
ZSPI-TKN-PROC-ERR can have these values:
ZEMS-VAL-FILTER-EVAL 20
ZEMS-VAL-ZFILAWAITIO 21
ZEMS-VAL-ZFILOPEN 22
ZEMS-VAL-ZFILPOSITION 23
ZEMS-VAL-ZFILREAD 24
ZEMS-VAL-ZFILWRITE 25
ZEMS-VAL-ZFILWRITEREAD 26
ZEMS-VAL-FILTER-READ 27
ZEMS-VAL-FILTER-VERIFY 28
ZEMS-VAL-EMSADDBUFFER 29
ZEMS-VAL-EMSADDSUBJECT 30
ZEMS-VAL-EMSADDTOKENS 31
ZEMS-VAL-EMSGET 32
ZEMS-VAL-EMSINIT 33
ZEMS-VAL-EMSSEND 34
ZEMS-VAL-CHECKOPEN 35
ZEMS-VAL-NEWPROCESS 36
ZEMS-VAL-CHECKPOINT 37
ZEMS-VAL-CHECKMONITOR 38
ZEMS-VAL-FINDDEV 39