EMS Manual

Procedure Calls for Standard Events
EMS Manual426909-005
11-47
Condition Code Settings
Condition Code Settings
The condition code has no meaning following a call to
EMS_COMMON_TOKENS_EVT_BLD_.
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-
NULL.
User Content type (zems-tkn-content-user): from User Content
type.
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.
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 nonzero, 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.