Reset Cluster (RSTMQMCL)
- Where allowed to run
- All environments (*ALL)
- Threadsafe
- Yes
Use the Reset Cluster (RSTMQMCL) command to forcibly remove a queue manager from a cluster.
Parameters
Keyword | Description | Choices | Notes |
---|---|---|---|
CLUSTER | Cluster Name | Character value | Required, Positional 1 |
QMNAME | Queue Manager Name for removal | Character value, *QMID | Required, Positional 2 |
ACTION | Action | *FRCRMV | Optional, Positional 3 |
MQMNAME | Message Queue Manager name | Character value, *DFT | Optional, Positional 4 |
QUEUES | Remove Queues | *NO, *YES | Optional, Positional 5 |
QMID | Queue Manager Id for removal | Character value | Optional, Positional 6 |
Cluster Name (CLUSTER)
>Specifies the name of cluster from which the queue manager is to be forcibly removed.
- cluster-name
- Specify the name of the cluster.
Queue Manager Name for removal (QMNAME)
>Specifies the name of the queue manager to be forcibly removed.
The possible values are:
- *QMID
- This enables you to specify the identifier of the queue manager to be forcibly removed.
- queue-manager-name
- Specify the name of the queue manager.
Action (ACTION)
>Specifies the action to take on the specified queue manager.
- *FRCRMV
- Requests that the queue manager is forcibly removed from the cluster. This might be needed to ensure correct cleanup after a queue manager has been deleted. This action can be requested by a repository queue manager only.
Message Queue Manager name (MQMNAME)
>Specifies the name of the queue manager.
- *DFT
- Use the default queue manager.
- queue-manager-name
- Specify the name of the queue manager.
Remove Queues (QUEUES)
>Specifies whether cluster queues should be removed from the cluster.
The possible values are:
- *NO
- Do not remove the queues belonging to the queue manager being removed from the cluster.
- *YES
- Remove queues belonging to the queue manager being removed from the cluster.
Queue Manager Id for removal (QMID)
>Specifies the identifier of the queue manager to be forcibly removed.
- queue-manager-identifier
- Specify the identifier of the queue manager.
Examples
>None
Error messages
>Unknown
Parent topic: CL commands reference for IBM i