EMS Manual

Procedure Calls for Standard Events
EMS Manual426909-005
11-6
Considerations
Considerations
To generate the common tokens:
SSID: from SSID.
Event subject token code: from Subject token ID
Event subject value: from Subject value
Event subject SSID: from Subject SSID
Manager Name (zems-tkn-name-manager): from Manager name.
Conditional.
Event Number (zems-tkn-eventnumber): from Event number
Standard Content type (zems-tkn-content-standard):
ZEMS-VAL-TRANSIENT-FAULT.
User Content type (zems-tkn-content-user): ZEMS-VAL-NULL.
Critical Indicator (zems-tkn-emphasis): from Critical
indicator.
Suppress display (zems-tkn-suppress-display): ZSPI-VAL-FALSE.
Batch job ID (zems-tkn-batchjob-id): from Job ID.
Conditional.
The values for User Content type and Suppress display can be
changed by calling EMSADDTOKENS.
To generate the additional tokens:
Transient fault type (zems-tkn-txfault-type): from Transient
fault type.
If Job ID is not present or the value is zero, the procedure calls system procedure
PROCESS_GETINFO_ to get the job ID. If the job ID obtained is not zero, the job
ID is added to the event buffer. Otherwise, the job ID is not added to the event
buffer.
The nonzero job ID obtained from calling PROCESS_GETINFO_ is the NetBatch
job ID associated with the process that calls this EMS event-building procedure.
If the subject reported in this event is managed by a process different from the
process that calls this EMS event-building procedure, the caller should provide the
Job ID, which is the NetBatch job ID associated with the process that manages
the subject.
If the Subject token ID has a variable-length value, choose one of these ways
to specify the length:
If the Subject length is present, the Subject length is the length, in
bytes, of the Subject value.
If the Subject length is not present, place the subject length in the two
bytes that immediately precede the Subject value. Make the Subject