14.10.1.5 Description

This method is called by an application-managed thread after the thread has finished using the context. The method removes the association between that thread and a context.

Note:

Do not call the clear_ctx method from within a thread that is managed by the Oracle Tuxedo system. The Oracle Tuxedo system performs the appropriate context propagation and cleanup automatically for the threads it manages. If this method is called on a thread managed by the Oracle Tuxedo system, the BAD_PARAM exception is thrown.