The cond_cancel callable service allows the thread to cancel the effects of a call to the cond_setup service (BPX1CSE).
Condition | Environment |
---|---|
Authorization: | Supervisor state or problem state, any PSW key |
Dispatchable unit mode: | Task |
Cross memory mode: | PASN = HASN |
AMODE (BPX1CCA): | 31-bit |
AMODE (BPX4CCA): | 64-bit |
ASC mode: | Primary address space control (ASC) mode |
Interrupt status: | Enabled for interrupts |
Locks: | Unlocked |
Control parameters: | All parameters must be addressable by the caller and in the primary address space. |
|
AMODE 64 callers use BPX4CCA with the same parameters.
The name of a fullword in which the service returns a 0 to indicate that the interest in event notifications has been canceled, or -1 if it has not.
The name of a fullword in which the service stores the return code. The cond_cancel service stores a return code only if the return value is -1. See z/OS UNIX System Services Messages and Codes for a complete list of possible return code values.
The name of a fullword in which the service routine stores the reason code. The reason code further qualifies the return code value. The cond_cancel service stores a reason code only when the return value is -1. See z/OS UNIX System Services Messages and Codes for the reason codes.
There are no restrictions on the use of the cond_cancel service.
For an example that uses this callable service, see BPXICCA (cond_cancel) example.