C API

In a similar manner to creating the Queue, the parameter structure needs to be set with the details to update. For example, to update the description of the queue:

Figure 33. Updating the propeties of a queue in C

MQeLocalQParms localQParms = LOCAL_Q_INIT_VAL;
 
localQParms.queueDescription = hDescription; //MQeStringHndl
 
localQParms.opFlags |= QUEUE_DESC_OP;
 
      rc = mqeAdministrator_LocalQueue_update(hAdministrator,
                                              &exceptBlk,
                                              hLocalQueueName,
                                              hLocalQMName,
                                              &localQParms);
   }


© IBM Corporation 2002, 2003. All Rights Reserved