dspmqtrn (display incomplete transactions)
Display in-doubt and heuristically completed transactions.
Purpose
You can use the dspmqtrn command to display details of transactions. The transactions that can be displayed include transactions that are coordinated by both the IBM® MQ Appliance and external transaction managers.
Syntax
Parameters
- -e
- Specifies that details of externally coordinated, in-doubt transactions are displayed.
- -h
- Specifies that details of externally coordinated, heuristically completed transactions are displayed.
- -i
- Specifies that details of internally coordinated, in-doubt transactions are displayed.
- -a
- Specifies that a list of all transactions known to the queue manager are displayed.
- -q
- Specifies that all the data from the -a parameter and a list of up to 100 unique objects updated within the transaction are displayed.
- -m QMgrName
- Specifies the name of the queue manager for which to display transactions.
Usage notes
- This command must be run from the IBM MQ administration mode. If the system is in the IBM MQ administration mode the prompt includes
mqa(mqcli)#
. To enter the IBM MQ administration mode, entermqcli
on the command line. To exit the IBM MQ administration mode, enterexit
on the command line. - If you do not specify -e, -h, or -i, details of both internally and externally coordinated in-doubt transactions are displayed. Details of externally coordinated, heuristically completed transactions are not displayed.
- Not all of the fields are appropriate for all transactions. When the fields are not meaningful, they are displayed as blank.
- For more information about this command in IBM MQ, see dspmqtrn in the IBM MQ documentation.
Examples
- The following command shows externally coordinated, in-doubt transactions for the queue manager
QM1
:dspmqtrn -e -m QM1