[IBM i]

WRKMQMTRN (Work with MQ Transactions)

The work with MQ transactions (WRKMQMTRN) command lists details of internally or externally coordinated in-doubt transactions.

Where allowed to run
All environments (*ALL)
Threadsafe
Yes

Parameters

Table 1. Command parameters
Keyword Description Choices Notes
TYPE Transaction type *ALL, *EXT, *INT, *MQI, *XA, *OS400 Optional, Positional 1
MQMNAME Message Queue Manager name Character value, *DFT Optional, Positional 2

Transaction type (TYPE)

Specifies the type of transactions.

*ALL
Requests details of all the in-doubt transactions.
*EXT
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.
*INT
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.

Message Queue Manager name (MQMNAME)

Specifies the name of the message queue manager.

The possible values are:

*DFT
Use the default queue manager.
message-queue-manager-name
Specify the name of the queue manager.