[z/OS]

STOP CHINIT (stop channel initiator) on z/OS

Use the MQSC command STOP CHINIT to stop a channel initiator. The command server must be running.

Using MQSC commands

For information on how you use MQSC commands, see Performing local administration tasks using MQSC commands.

You can issue this command from sources CR. For an explanation of the source symbols, see Sources from which you can issue MQSC commands on z/OS®.

Synonym: STOP CHI

STOP CHINIT

Read syntax diagramSkip visual syntax diagram STOP CHINIT CMDSCOPE(' ')CMDSCOPE(qmgr-name)1CMDSCOPE(*)1SHARED(RESTART)SHARED(STOP)
Notes:
  • 1 Valid only when the queue manager is a member of a queue sharing group.

Usage notes for STOP CHINIT

  1. When you issue the STOP CHINIT command, IBM® MQ stops any channels that are running in the following way:
    • Sender and server channels are stopped using STOP CHANNEL MODE(QUIESCE) STATUS(INACTIVE)
    • All other channels are stopped using STOP CHANNEL MODE(FORCE)

    See STOP CHANNEL (stop a channel) for information about what this involves.

  2. You might receive communications-error messages as a result of issuing the STOP CHINIT command.

Parameter descriptions for STOP CHINIT

CMDSCOPE
This parameter specifies how the command runs when the queue manager is a member of a queue sharing group.
' '
The command runs on the queue manager on which it was entered. This is the default value.
qmgr-name
The command runs on the queue manager you specify, providing the queue manager is active within the queue sharing group.

You can specify a queue manager name, other than the queue manager on which the command was entered, only if you are using a queue sharing group environment and if the command server is enabled.

*
The command runs on the local queue manager and is also passed to every active queue manager in the queue sharing group. The effect of this is the same as entering the command on every queue manager in the queue sharing group.
SHARED
Specifies whether the channel initiator should attempt to restart any active sending channels, started with CHLDISP(SHARED), that it owns on another queue manager. The possible values are:
RESTART
Shared sending channels are to be restarted. This is the default.
STOP
Shared sending channels are not to be restarted, so will become inactive.
(Active channels started with CHLDISP(FIXSHARED) are not restarted, and always become inactive.)