End MQ Service (ENDMQMSVC)

    Where allowed to run
    All environments (*ALL)

    Threadsafe
    Yes

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


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:


Examples

>

None


Error messages

>

Unknown

Parent topic: CL commands reference for IBM i