EMS Manual

Standard Events
EMS Manual426909-005
9-19
Common-Standard Tokens That EMS Provides
Sender
Process ID
ZEMS-TKN-NODENUM (ZSPI-TYP-INT2,U)
ZEMS-TKN-CPU (ZSPI-TYP-UINT,U)
ZEMS-TKN-PIN (ZSPI-TYP-UINT,U)
ZEMS-TKN-PROC-DESC (ZSPI-TYP-STRING,U)
ZEMS-TKN-USERID (ZSPI-TYP-BYTE-PAIR,U)
The Expand system-number, CPU number, PIN, process descriptor, and user
ID of the process reporting the event. These tokens reflect the sender only
when WRITEREAD(X) is used to send the event to the collector. If the
management application only handles events (tokenized) sent by
WRITEREAD(X), these tokens can be used to get sender ID data. However, if
the management application must also process the HP numbered console
messages or events (text, non-tokenized) sent by WRITE(X), then the special
EMS tokens, ZEMS-TKN-XSENDERID and/or ZEMS-TKN-XSENDERID-PD
must be supplied to the EMSGET or EMSGETTKN procedure.
Max field
Version
ZSPI-TKN-MAX-FIELD-VERSION (ZSPI-TYP-VERSION,U)
The highest field version among the nonnull fields of the extensible structures
added to the buffer with EMSADDTOKENS.
Bytes used
ZSPI-TKN-USEDLEN (ZSPI-TYP-INT,U)
The number of bytes actually used in the event message buffer. A subsystem
can use this to determine how many bytes to send to a collector through the
WRITEREAD procedure.