MQ Tips – Using RESET CHANNEL Command

The MQSC command RESET CHANNEL is used for resetting the message sequence number of an IBM MQ channel. A specified value for sequence number cab be used with this command so that the channel will use it next time it is started.

This command can be used with any MQ channel except server connection or client connection channels. In case the reset channel command is used with a Sender or Server channel, then the sequence number at the other end of the channel (Receiver / requester) will also be reset to the same sequence number. However, when this command is issued to receiver / requester channel, the sequence number at the other end will not be changed.

Example :

RESET CHANNEL(channel name) SEQNUM(1)

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top