EMS Manual

Procedure Calls for Standard Events
EMS Manual426909-005
11-27
EMS_OPER_ATTN_COMPED_EVT_BLD_
Procedure
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.
The subject of this event is the object that needs operator attention. The Subject
value must be fully qualified so that it can be uniquely identified from any point in
a network. An example is \nodename.$volume.subvolume.filename.
Use EMSADDSUBJECT or EMSADDSUBJECTMAP to specify additional subjects.
EMS_OPER_ATTN_COMPED_EVT_BLD_
Procedure
The EMS_OPER_ATTN_COMPED_EVT_BLD_ procedure formats the standard
operator attention completed event. The event reports the object that no longer needs
operator attention.
The syntax of EMS_OPER_ATTN_COMPED_EVT_BLD_ is:
status returned value
INT:value
returns one of these SPI error numbers:
0 No error
-1 Invalid buffer format
{ status := } EMS_OPER_ATTN_COMPED_EVT_BLD_( buffer
!i,o
{ CALL } , maxbuflen !i
, SSID !i
, Event number !i
, Action ID !i
, Subject token ID !i
, Subject value !i
, [ Subject length ] !i
, [ Subject SSID ] !i
, [ buflen ] !o
, [ Critical indicator ] !i
, [ Manager name:Manager name length ] !i:i
, [ Job ID ] !i
);