[IBM i]

End MQ Command Server (ENDMQMCSVR)

Where allowed to run
All environments (*ALL)
Threadsafe
Yes

The End MQ Command Server (ENDMQMCSVR) command stops the MQ command server for the specified local queue manager.

Parameters

Table 1. Command parameters
Keyword Description Choices Notes
MQMNAME Message Queue Manager name Character value Required, Positional 1
OPTION Option *CNTRLD, *IMMED Optional, Positional 2

Message Queue Manager name (MQMNAME)

Specifies the name of the message queue manager.

queue-manager-name
Specify the name of the queue manager.

Option (OPTION)

Specifies whether the command message currently being processed is allowed to complete.

The possible values are:

*CNTRLD
Allows the command server to complete processing any command message that it has already started. No new message is read from the queue.
*IMMED
Ends the command server immediately. Any action associated with a command message currently being processed might not be completed.