Delete MQ Subscription (DLTMQMSUB)

    Where allowed to run
    All environments (*ALL)

    Threadsafe
    Yes

The Delete MQ Subscription (DLTMQMSUB) command deletes an existing MQ subscription.


Parameters

Keyword Description Choices Notes
SUBID Subscription identifier Character value, *NONE Optional, Positional 1
SUBNAME Subscription name Character value, *NONE Optional, Positional 2
MQMNAME Message Queue Manager name Character value, *DFT Optional, Positional 3


Subscription identifier (SUBID)

>

The subscription identifier of the subscription to delete.

The possible values are:

    subscription-name
    Specify a maximum of 256 bytes for the subscription name.

    Note: Subscription names of greater than 256 bytes can be specified using MQSC.


Subscription name (SUBNAME)

>

The name of the subscription to delete.

The possible values are:

    subscription-name
    Specify a maximum of 256 bytes for the subscription name.

    Note: Subscription names of greater than 256 bytes can be specified using MQSC.


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 Queue Manager.


Examples

>

None


Error messages

>

Unknown

Parent topic: CL commands reference for IBM i