Home | Previous Page | Next Page   Utility Reference > onmode: Change Mode and Shared Memory > Kill a Distributed Transaction >

Determining the Global Transaction Id

The following procedures describe how to determine the global transaction id used by onmode -Z.

  1. Use onstat -x to determine the shared-memory address of the transaction.
  2. Using this shared-memory address, execute onstat -G to determine the global transaction id (XTM-id).
  3. Execute onmode -Z with the global transaction id to kill the transaction.

Important:
onmode -Z should only be used with transactions that are in a prepared state. To determine if a transaction is in a prepared state, see The onstat -G Option.
Home | [ Top of Page | Previous Page | Next Page | Contents | Index ]