DSM/SCM Event Management Programming Manual

Event Messages
DSM/SCM Event Management Programming Manual529844-003
5-22
Tokens in All Event Messages
ZPHI-TKN-PLANNER-ID.Z-USERNAME
is the user name portion of the planner ID. The planner ID identifies the DSM/SCM
operator or planner who created the request.
ZPHI-TKN-STAGE-CODE
is an internal value that reports the stage within the activity that the event message
was reported.
ZPHI-TKN-SVR-CLS-NM
is the server class name of the DSM/SCM component issuing the event or
interfacing to the utility issuing the event.
ZSPI-TKN-MAX-FIELD-VERSION
is the highest field version among the non-null fields of structures added to the
buffer with EMSADDTOKENMAPS.
ZSPI-TKN-SSID
is the subsystem ID used when the buffer was initialized with EMSINIT. For
DSM/SCM, this token is always assigned the value ZPHI-VAL-SSID.
ZSPI-TKN-USEDLEN
is the number of bytes actually used in the buffer. This value can be used to
determine how many bytes to send to $0 through the WRITEREAD procedure.