The following code demonstrates how to cancel a program's
interest in events that were selected by a call to the
cond_setup service. For the callable service, see
cond_cancel (BPX1CCA, BPX4CCA) — Cancel interest in events.
AMODE 31 callers use
BPXICCA (cond_cancel) example.
CALL BPX4CCA, Cancel cond_setup +
(RETVAL, Return value: 0 or -1 +
RETCODE, Return code +
RSNCODE), Reason code +
MF=(E,PLIST) ----------------------------------
* The return value (RETVAL) does not matter. When your program
* receives control following the call to cond_cancel, it is no
* longer eligible to receive event notifications via cond_post.