MQCMD_DELETE_SERVICE (Delete Service) on Multiplatforms
The Delete Service (MQCMD_DELETE_SERVICE) PCF command deletes an existing service definition.
Required parameters
- ServiceName (MQCFST)
- Service name (parameter identifier: MQCA_SERVICE_NAME).
This parameter is the name of the service definition to be deleted.
The maximum length of the string is MQ_OBJECT_NAME_LENGTH.
Optional parameters
- IgnoreState (MQCFST)
- Specifies whether the command returns an error code if the object is already in the state the
command would move it to (parameter identifier MQIACF_IGNORE_STATE). The value can be any of the
following values:
- MQIS_YES
- The return code and message are the same as if the object has not been deleted.
- MQIS_NO
- The return code is zero, even if the object has been deleted. This is the default value.