EMS Manual
Distributor Event Messages
EMS Manual—426909-005
18-6
EMS Token Codes
ZEMS-VAL-PROGRAMFILE-ERROR 3
ZEMS-VAL-NO-MAP 4
ZEMS-VAL-BAD-SWAPFILE 5
ZEMS-VAL-BAD-FILE-FORMAT 6
ZEMS-VAL-UNLICENSED 7
ZEMS-VAL-BAD-PROCESS-NAME 8
ZEMS-VAL-LIBRARY-CONFLICT 9
ZEMS-VAL-MONITOR-COMM 10
ZEMS-VAL-LIBRARY-FILE 11
ZEMS-VAL-PROGRAM-FILE 12
ZEMS-VAL-NO-EXT-SEGMENT 13
ZEMS-VAL-EXT-SEGMENT-SWAP 14
ZEMS-VAL-BAD-HOMETERM 15
ZEMS-TKN-NEWPROCESS-PRIORITY (type: ZSPI-TYP-INT; nonshared)
is the new process priority in a NEWPROCESS command.
ZEMS-TKN-PROGRAMFILE (type: ZSPI-TYP-FNAME; nonshared)
is the file name of a program file.
ZEMS-TKN-RECORD-ADDRESS (type: ZSPI-TYP-INT2; nonshared)
is an entry-sequenced file address. Suppose that blknum is the block number
(numbering from zero), blklen is the block length (in bytes), and recnum is the
record number (within the block). Then record-address is computed as:
( blknum * blklen ) + recnum
ZEMS-TKN-RECOVERY-ENUM (type: ZSPI-TYP-ENUM; nonshared)
indicates whether the distributor recovered—after failing to access a collector log
file older than the current one—by accessing a more recent log file:
ZEMS-VAL-RECOVERY-OK 0
ZEMS-VAL-NO-RECOVERY 1
ZEMS-TKN-TAKEOVER-REASON (type: ZSPI-TYP-ENUM; nonshared)
is the reason for a takeover by the distributor backup CPU:
ZEMS-VAL-PRIMARY-STOPPED 0
ZEMS-VAL-PRIMARY-ABEND 1
ZEMS-VAL-PRIMARY-CPU-DOWN 2
ZEMS-VAL-CHECKSWITCH 3
ZEMS-TKN-ZFILERR (type: ZSPI-TYP-UINT; nonshared)
is the error code associated with an event.