STOP QMGR on z/OS
Use the MQSC command STOP QMGR to stop the queue manager.
Use MQSC commands
For information on how we use MQSC commands, see Performing local administration tasks using MQSC commands.
We can issue this command from sources CR. For an explanation of the source symbols, see Sources from which we can issue MQSC commands on z/OS .
Synonym: There is no synonym for this command.
STOP QMGR
Notes:- 1 Valid only when the queue manager is a member of a queue sharing group.
Parameter descriptions for STOP QMGR
The parameters are optional.
- 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.
We can specify a queue manager name, other than the queue manager on which the command was entered, only if we 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.
- 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 CONN command, and can cancel remaining connections using z/OS commands.
This option deregisters IBM MQ from the z/OS 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 we must issue the z/OS command CANCEL to terminate.
This option deregisters IBM MQ from the z/OS 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 we must issue the z/OS command CANCEL to terminate.
This option does not deregister IBM MQ from ARM, so the queue manager is eligible for immediate automatic restart.
Parent topic: MQSC commands