Unsubscribe from a queue

To unsubscribe from a queue, use the MQUnsubscribe() function.

For example, specify:
BEGIN WORK;

EXECUTE FUNCTION MQUnsubscribe('AMT.SAMPLE.SUBSCRIBER', 'AMT.SAMPLE.PUB.SUB.POLICY', 
'Weather');(

expression)           1

1 row(s) retrieved.
   Topic: MQ/TIMESERIES.QUEUE.MANAGER             /StreamSupport
   Topic: MQ/S/TIMESERIES.QUEUE.MANAGER           /Subscribers/Identities/*
   Topic: MQ/S/TIMESERIES.QUEUE.MANAGER           /Subscribers/Identities/*
   Topic: MQ/S/TIMESERIES.QUEUE.MANAGER           /Subscribers/Identities/*

COMMIT WORK;