tkadmin abort transaction
Purpose
Aborts a transaction.
Synopsis
tkadmin abort transaction -server server_name tid Arguments
- -server server_name
- Specifies the server affected by the command. This should be the name that was specified when the server was configured.
- tid
- Identifies the transaction.
Description
The tkadmin abort transaction command aborts the transaction identified by tid. Only transactions that have not been prepared can be aborted via this command. The states of the unresolved transactions at the server can be obtained via the tkadmin list transactions command. You can abort active or inactive transactions.
Aborting a transaction frees all locks that were previously held by it. You can abort transactions that are obstructing the operation of the Toolkit server.
Unresolved transactions that have reached the prepared state can be forced to a specific outcome using the tkadmin force transaction command.
Examples
The following command aborts the transaction identified by tid 438:
% tkadmin abort transaction 438