STOP SERVICE on Multiplatforms
Use the MQSC command STOP SERVICE to stop a service.
Using MQSC commands
For information on how you use MQSC commands, see Performing local administration tasks using MQSC commands.
Usage notes
If the service is running, it is requested to stop. This command is processed asynchronously so might return before the service has stopped.
If the service that is requested to stop has no STOP command defined, an error is returned.
Parameter descriptions for STOP SERVICE
- (service-name)
- The name of the service definition to be stopped. This is required. The name must that of an existing service on this queue manager.
- IGNSTATE
- Specifies whether the command fails if the service is already stopped. The possible values are:
- NO
- The command fails if the service is already stopped. This is the default value.
- YES
- The command succeeds regardless of the current state of the service.