[IBM i]

ENDMQMSVC (End MQ Service)

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

The End MQ Service (ENDMQMSVC) command ends an MQ service.

Parameters

Table 1. Command parameters
Keyword Description Choices Notes
SVCNAME Service name Character value Required, Positional 1
MQMNAME Message Queue Manager name Character value, *DFT Optional, Positional 2

Service name (SVCNAME)

The name of the MQ service object to end.

The possible values are:

*NONE
No service object is specified.
service-name
Specify the name of the service definition. The maximum length of the string is 48 bytes.

Message Queue Manager name (MQMNAME)

Specifies the name of the queue manager.

The possible values are:

*DFT
Use the default queue manager.
queue-manager-name
The name of a message queue manager.