gtpo1makOperations

ZMQSC STOP-Stop a TPF MQSeries Channel or Queue Manager

Use this command to stop a TPF MQSeries sender or receiver channel or the TPF MQSeries queue manager.

Requirements and Restrictions

Format




CHL
specifies the name of the channel to be stopped, where:

name
is the 1- to 20-character channel name. A channel name can contain percent signs (%), slashes (/), underscores (_), periods (.), letters in either uppercase (A-Z) or lowercase (a-z), and digits (0-9). If the name is enclosed in single quotation marks, the characters can be mixed case.

If you specify a receiver or server connection channel, the channel is disabled. The channel cannot be started again until you enable the channel with the ZMQSC START command.

ALL
stops all MQSeries servers and channels.

FORCE
stops the transmission of any current batch of messages.

QMGR
stops the TPF MQSeries queue manager.

Additional Information

Examples

The following example stops a TPF MQSeries sender channel.

+--------------------------------------------------------------------------------+
|User:   ZMQSC STOP CHL-TPF.TO.JOHN                                              |
|                                                                                |
|System: MQSC0311I 12.08.32 CHANNEL TPF.TO.JOHN STOPPED                          |
+--------------------------------------------------------------------------------+

The following example stops a TPF MQSeries queue manager.

+--------------------------------------------------------------------------------+
|User:   ZMQSC STOP QMGR                                                         |
|                                                                                |
|System: MQSC0020I 12.08.32 STOP QUEUE MANAGER SUCCESSFUL                        |
+--------------------------------------------------------------------------------+

Related Information

See MQSeries Command Reference for more information about the MQSeries product.