EMS Manual
Procedure Calls for Standard Events
EMS Manual—426909-005
11-36
EMS_USAGE_THRESHOLD_EVT_BLD_
Considerations
If EMS_USAGE_THRESHOLD_CHK_ returns 0 and report event returns ZSPI-
VAL-TRUE, the user should call EMS_USAGE_THRESHOLD_EVT_BLD_ to generate
the standard usage threshold event. Otherwise, the user should not generate the
standard usage threshold event.
The caller should not modify the content of the Usage Threshold Control Block.
EMS_USAGE_THRESHOLD_EVT_BLD_
The EMS_USAGE_THRESHOLD_EVT_BLD_ procedure formats the standard usage
threshold event. The event reports the object whose usage has crossed the configured
threshold value.
The syntax of EMS_USAGE_THRESHOLD_EVT_BLD_ is:
status returned value
INT:value
returns one of these SPI error numbers:
0 No error
-1 Invalid buffer format
-2 Illegal parameter value
-3 Missing parameter
-4 Illegal parameter address
-5 Buffer full
-6 Invalid checksum
-7 Internal error
-8 Token not found
-9 Illegal token code or map
-10 Invalid subsystem ID
-11 Operation not supported
-12 Insufficient stack space
{ status := } EMS_USAGE_THRESHOLD_EVT_BLD_( buffer
!i,o
{ CALL } , maxbuflen !i
, SSID !i
, Event number !i
, Usage Threshold Control Block
!i,o
, 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
);