The MQUnsubscribe() function is 3used to unregister interest in WMQ messages subscription on a specified 3topic. The subscriber_name specifies a logical 3destination for messages that match the specified topic.
3This function requires the installation of the WMQ Publish/Subscribe 3Component of WMQ and that the Message Broker must be running.
3The following table describes how the arguments for the MQUnsubscribe() function are 3interpreted. 3
3 3| Usage | 3Argument Interpretation | 3
|---|---|
| MQUnsubscribe(arg1) | 3arg1 = topic | 3
| MQUnsubscribe(arg1, arg2) | 3
3 arg1 = service_name 3arg2 = topic 3 |
3
| MQUnsubscribe(arg1, arg2, arg3) | 3
3 arg1 = service_name 3arg2 = policy_name 3arg3 = topic 3 |
3