/*
 * Return the completion code for the last MQ operation on this queue instance
 *
 * Returns => FixNum
 * * WMQ::MQCC_OK       0
 * * WMQ::MQCC_WARNING  1
 * * WMQ::MQCC_FAILED   2
 * * WMQ::MQCC_UNKNOWN  -1
 *
 */
VALUE Queue_comp_code(VALUE self)
{
    PQUEUE pq;
    Data_Get_Struct(self, QUEUE, pq);
    return LONG2NUM(pq->comp_code);
}