![]() | Programming Guide | ![]() |
Cancels an outstanding service request
service_cancel[services]
services- Specifies which services to cancel:
CALLcallid- Cancel the specific service request identified by
callid.ALL [(callid...)]- An unqualified
ALLcancels all outstanding service requests; if followed by a list of service call identifiers (callid),ALLcancels the specified service requests. Enclose the list of call identifiers with parentheses.
JetNet, Oracle Tuxedo
Client, Server
The
service_cancelcommand cancels the specified service requests. An unqualifiedservice_cancelcancels the most recent asynchronous request. You can cancel one or more requests with theCALLandALLoptions. For example, this statement cancels the service request identified by the Panther variablecall_id:service_cancel CALL call_idThis statement cancels all outstanding service requests:
service_cancel ALLYou can cancel both synchronous and asynchronous service calls. Canceling a call does not stop it from running; however, it does stop the reply. If the canceled service is part of a transaction under Oracle Tuxedo, the cancellation should be accompanied by a rollback to ensure the integrity of an XA resource.
service_cancelsets thetp_returnproperty to the number of service calls canceled.
service_cancelcan generate the following exceptions:
Note: A call is considered outstanding as soon as its associated
pre_requestevent has been raised, and is considered complete as soon as its associatedpost_requestevent has been generated. After each request has terminated, apost_requestevent is generated. For more information, refer to "Pre_request and Post_request Events" in JetNet/Oracle Tuxedo Guide.
receive, service_call, service_forward, service_return
![]()
![]()
![]()
![]()