Home

 

dspmqtrn (display transactions)

 

 

Purpose

Use the dspmqtrn command to display details of in-doubt transactions. This includes transactions coordinated by WebSphere MQ and by an external transaction manager.

For each in-doubt transaction, a transaction number (a human-readable transaction identifier), the transaction state, and the transaction ID are displayed. (Transaction IDs can be up to 128 characters long, hence the need for a transaction number.)

 

Syntax


>>-dspmqtrn--+-----+--+-----+--+--------------+----------------><     '- -e-' '- -i-' '- -m QMgrName-'   

 

Optional parameters

-e

Requests details of externally coordinated, in-doubt transactions. Such transactions are those for which WebSphere MQ has been asked to prepare to commit, but has not yet been informed of the transaction outcome.

-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 WebSphere MQ has yet to inform the resource managers of the transaction outcome.

Information about the state of the transaction in each of its participating resource managers is displayed. This information can help you assess the affects of failure in a particular resource manager.

If you specify neither -e nor -i, details of both internally and externally coordinated in-doubt transactions are displayed.

-m QMgrName

The name of the queue manager for which to display transactions. If you omit the name, the default queue manager’s transactions are displayed.

 

Return codes

0 Successful operation
36 Invalid arguments supplied
40 Queue manager not available
49 Queue manager stopping
69 Storage not available
71 Unexpected error
72 Queue manager name error
102 No transactions found

 

Related commands

rsvmqtrn Resolve transaction

 

Parent topic:

The control commands


fa15750_


 

Home