Resolve MQ Channel (RSVMQMCHL)
- Where allowed to run
- All environments (*ALL)
- Threadsafe
- Yes
The Resolve MQ Channel (RSVMQMCHL) command requests a channel to commit or backout in-doubt messages.
This command is used when the other end of a link fails during the confirmation period, and for some reason it is not possible to reestablish the connection.
In this situation, the sending end remains in an in-doubt state, about whether the messages were received. Any outstanding units of work need to be resolved with either backout or commit.
*BCK restores messages to the transmission queue and *CMT discards them.
Use this command for sender (*SDR) and server (*SVR) channels only.
Parameters
Keyword | Description | Choices | Notes |
---|---|---|---|
CHLNAME | Channel name | Character value | Required, Positional 1 |
OPTION | Resolve option | *CMT, *BCK | Required, Positional 2 |
MQMNAME | Message Queue Manager name | Character value, *DFT | Optional, Positional 3 |
Channel name (CHLNAME)
Specifies the name of the channel definition.
The possible values are:
- channel-name
- Specify the channel name.
Resolve option (OPTION)
Specifies whether to back out or commit the messages.
The possible values are:
- *CMT
- The messages are committed, that is, they are deleted from the transmission queue.
- *BCK
- The messages are backed out, that is, they are restored to the transmission queue.
Message Queue Manager name (MQMNAME)
Specifies the name of the message queue manager.
The possible values are:
- *DFT
- The default queue manager is used. If we do not have a default queue manager defined on the system, the command fails.
- message-queue-manager-name
- The name of a message queue manager.
Examples
None
Error messages
Unknown