MQCO_DELETE_PURGE
public final static int
The queue is deleted, and any messages on it purged, if either of the following is true:
- It is a permanent dynamic queue and there are no uncommitted get or put requests outstanding for the queue (either for the current task or any other task).
- It is the temporary dynamic queue that was created by the MQOPEN call that returned Hobj.
In all other cases the call fails with reason code MQRC_OPTION_NOT_VALID_FOR_TYPE, and the object is not deleted.
uj17480_