The handle of the bag to be deleted. This must be the handle of a bag
created by the user, not the handle of a system bag. MQRC_SYSTEM_BAG_NOT_DELETABLE
results if you specify the handle of a system bag. The handle is reset to
MQHB_UNUSABLE_HBAG.
If the bag contains system-generated bags, they
are also deleted.
CompCode(MQLONG) - output
Completion code.
Reason(MQLONG) - output
Reason code qualifying CompCode.
The following reason codes indicating error conditions can be returned
from the mqDeleteBag call:
MQRC_HBAG_ERROR
Bag handle not valid, or invalid parameter address, or parameter location
is read only.