dspmqtrn (display incomplete transactions)
Display in-doubt and heuristically completed transactions.
Purpose
Use the dspmqtrn command to display details of transactions. This command includes transactions coordinated by IBM MQ and by an external transaction manager.
Syntax
![](./c.gif)
![](./c.gif)
Optional parameters
- -e
- Requests details of externally coordinated, in-doubt transactions. Such transactions are those for which IBM MQ has been asked to prepare to commit, but has not yet been informed of the transaction outcome.
- -h
- Requests details of externally coordinated transactions that were resolved by the rsvmqtrn command, and the external transaction coordinator has yet to acknowledge with an xa-forget command. This transaction state is termed heuristically completed by X/Open. Note: If we do not specify -e, -h, or -i, details of both internally and externally coordinated in-doubt transactions are displayed, but details of externally coordinated, heuristically completed transactions are not displayed.
- -i
- Requests details of internally coordinated, in-doubt transactions. Such transactions are those for which each resource manager has been asked to prepare to commit, but IBM MQ has yet to inform the resource managers of the transaction outcome.
- -a
- Requests a list of all transactions known to the queue manager . The returned data includes transaction details for all transactions known to the queue manager. If a transaction is currently associated with an IBM MQ application connection, information related to that IBM MQ application connection is also returned. The data returned by this command might typically be correlated with the output of a runmqsc DISPLAY CONN command, and the output fields have the same meaning as in that command.
- -q
- Specifying this parameter on its own is the same as specifying -a -q.
- -m QMgrName
- The name of the queue manager for which to display transactions. If you omit the name, the transaction of the default queue manager are displayed.
Return codes
Return code | Description |
---|---|
0 | Successful operation |
26 | Queue manager running as a standby instance. |
36 | Invalid arguments supplied |
40 | Queue manager not available |
49 | Queue manager stopping |
58 | Inconsistent use of installations detected |
69 | Storage not available |
71 | Unexpected error |
72 | Queue manager name error |
102 | No transactions found |
Related commands
Command | Description |
---|---|
rsvmqtrn | Resolve transaction |