Work with MQ Transactions (WRKMQMTRN)

    Where allowed to run
    All environments (*ALL)

    Threadsafe
    Yes

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


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:


Examples

>

None


Error messages

>

Unknown

Parent topic: CL commands reference for IBM i