STOP QUEUEMANAGER: Put a queue manager in drain state: Difference between revisions

From m204wiki
Jump to navigation Jump to search
(Created page with "==Summary== <dl> <dt>Privileges <dd>System manager or User 0 <dt>Function <dd>Places a queue manager in a drain state. </p> </dl> ==Syntax== <p class="syntax">STOP {QUEUEMANAG...")
 
No edit summary
 
Line 4: Line 4:
<dd>System manager or User 0
<dd>System manager or User 0
<dt>Function
<dt>Function
<dd>Places a queue manager in a drain state. </p>
<dd>Places a queue manager in a drain state.
</dl>
</dl>
==Syntax==
==Syntax==

Latest revision as of 04:39, 18 December 2021

Summary

Privileges
System manager or User 0
Function
Places a queue manager in a drain state.

Syntax

STOP {QUEUEMANAGER | QM} name

Where:

name identifies a queue manager created with a DEFINE QUEUEMANAGER command.

Usage

If the queue manager does not exist, or has not been started, an error message is issued. If it has already been stopped, the command is ignored.

Once the command is issued, you cannot open any queues for this queue manager. Attempts to open such queues fail with a $STATUS return code of six (6). However, any current users with open connections to the queue manager are not impacted. You can make the queue manager available again by issuing the START QUEUEMANAGER command.