Aborting or Committing Transactions
This topic provides instructions for aborting and committing transactions.
How to Abort a Transaction
To abort a transaction, complete the following procedure.
aborttrans (abort) [-yes] [-g groupname] tranindex
This command is useful when the coordinating site is partitioned or when the client terminates before calling a commit or an abort. If the time-out is large, the transaction remains in the transaction table unless it is aborted.
How to Commit a Transaction
To commit a transaction, complete the following procedure.
committrans (commit) [-yes] [-g groupname] tranindex
Note: Both groupname and tranindex are required arguments.
The operation fails if the transaction is not precommitted or has been marked aborted. This message should be sent to all groups to fully commit the transaction.
Cautions About Using the committrans Command
Be careful about using the committrans command. The only time you need to run it is when both of the following conditions apply:
Also, a client may be blocked on tpcommit(), which will be timed out. If you are going to perform an administrative commit, be sure to inform this client.
Copyright © 2000 BEA Systems, Inc. All rights reserved.