Home

 

Usage notes

  1. Using this call, the application can specify an array of integer attributes, or a collection of character attribute strings, or both. If no errors occur, the attributes specified are all set simultaneously. If an error occurs (for example, if a selector is not valid, or an attempt is made to set an attribute to a value that is not valid), the call fails and no attributes are set.

  2. The values of attributes can be determined using the MQINQ call; see MQINQ - Inquire object attributes for details.
    Note:
    Not all attributes whose values can be inquired using the MQINQ call can have their values changed using the MQSET call. For example, no process-object or queue-manager attributes can be set with this call.

  3. Attribute changes are preserved across restarts of the queue manager (other than alterations to temporary dynamic queues, which do not survive restarts of the queue manager).

  4. We cannot change the attributes of a model queue using the MQSET call. However, if you open a model queue using the MQOPEN call with the MQOO_SET option, we can use the MQSET call to set the attributes of the dynamic local queue that is created by the MQOPEN call.

  5. If the object being set is a cluster queue, there must be a local instance of the cluster queue for the open to succeed.

  6. Changes to attributes resulting from use of the MQSET call do not affect the values of the AlterationDate and AlterationTime attributes.

  7. For more information about object attributes, see:



 

Home