Use the MQSC command STOP CHANNEL to request the channel to stop activity. The channel will not start a new batch of messages until the operator starts the channel again. (For information about restarting stopped channels, see Restarting stopped channels.)
This command can be issued to a channel of any type except MQCHT_CLNTCONN.
You can select the type of stop you require:
STOP CHANNEL(QM1.TO.QM2) MODE(QUIESCE)
This command requests the channel to close down in an orderly way. The current batch of messages is completed and the syncpoint procedure is carried out with the other end of the channel.
STOP CHANNEL(QM1.TO.QM2) MODE(FORCE)
This option stops the channel immediately, but does not terminate the channel's thread or process. The channel does not complete processing the current batch of messages, and can, therefore, leave the channel in doubt. In general, it is recommended that operators use the quiesce stop option.
STOP CHANNEL(QM1.TO.QM2) MODE(TERMINATE)
This option stops the channel immediately, and terminates the channel's thread or process.
STOP CHANNEL(QM1.TO.QM2) STATUS(STOPPED)
This command does not specify a MODE, so will default to MODE(QUIESCE). It requests that the channel be stopped so that it cannot be restarted automatically but must be started manually.
STOP CHANNEL(QM1.TO.QM2) STATUS(INACTIVE)
This command does not specify a MODE, so will default to MODE(QUIESCE). It requests that the channel be made inactive so that it will be restarted automatically when required.
Notices |
Downloads |
Library |
Support |
Feedback
![]() ![]() |
csqzae1070 |