DELETE SERVICE (delete a service definition) on Multiplatforms
Use the MQSC command DELETE SERVICE to delete a service definition.
Using MQSC commands
For information on how you use MQSC commands, see Performing local administration tasks using MQSC commands.
Usage notes for DELETE SERVICE
- The command fails if an application has the specified service object open, or if the service is currently running.
Keyword and parameter descriptions for DELETE SERVICE
- (service-name)
-
The name of the service definition to be deleted. This is required. The name must be that of an existing service defined on the local queue manager.
- IGNSTATE
- This parameter allows you to specify whether you want the command to return an error code if the object is already in the state the command moves it to.