Disconnecting RRSAF applications from Db2

To disconnect a Resource Recovery Services attachment facility (RRSAF) transaction from Db2, you must abnormally terminate the transaction.

Procedure

Begin general-use programming interface information.To cancel a particular thread:

Issue the CANCEL THREAD command.

The CANCEL THREAD command requires that you know the token for any thread that you want to cancel. Issue the DISPLAY THREAD command to obtain the token number, and then enter the following command to cancel the thread:

-CANCEL THREAD(token)

When you issue the CANCEL THREAD command, Db2 schedules the thread for termination.End general-use programming interface information.