STOP QMGR


Use STOP QMGR to stop the queue manager.

Synonym: There is no synonym for this command.

STOP QMGR
 
              .-CMDSCOPE(' ')------------.  .-MODE(QUIESCE)-.
>>-STOP QMGR--+--------------------------+--+---------------+--><
              |                     (1)  |  +-MODE(FORCE)---+
              +-CMDSCOPE(qmgr-name)------+  '-MODE(RESTART)-'
              |             (1)          |
              '-CMDSCOPE(*)--------------'
 
 

Notes:

  1. Valid only on full function WebSphere MQ for z/OS when the queue manager is a member of a queue-sharing group.

 

Parameter descriptions

The parameters are optional.

CMDSCOPE
This parameter specifies how the command is executed when the queue manager is a member of a queue-sharing group.

' '
The command is executed on the queue manager on which it was entered. This is the default value.

qmgr-name
The command is executed 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 is executed 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.

MODE
Specifies whether programs currently being executed are allowed to finish.

QUIESCE
Allows programs currently being executed to finish processing. No new program is allowed to start. This is the default.

This option means that all connections to other address spaces must terminate before the queue manager stops. The system operator can determine whether any connections remain by using the DISPLAY THREAD command, and can cancel remaining connections using z/OS commands.

This option deregisters WebSphere MQ from the MVS automatic restart manager (ARM).

FORCE
Terminates programs currently being executed, including utilities. No new program is allowed to start. This option might cause in-doubt situations.

This option might not work if all the active logs are full, and log archiving has not occurred. In this situation issue the z/OS command CANCEL to terminate.

This option deregisters WebSphere MQ from the MVS automatic restart manager (ARM).

RESTART
Terminates programs currently being executed, including utilities. No new program is allowed to start. This option might cause in-doubt situations.

This option might not work if all the active logs are full, and log archiving has not occurred. In this situation issue the MVS command CANCEL to terminate.

This option does not deregister WebSphere MQ from ARM, so the queue manager is eligible for immediate automatic restart.

 

WebSphere is a trademark of the IBM Corporation in the United States, other countries, or both.

 

IBM is a trademark of the IBM Corporation in the United States, other countries, or both.