Set queue attributes

Use this information to learn how to set queue attributes using the MQSET call.

We can set only the following queue attributes using the MQSET call:

  • InhibitGet (but not for remote queues)
  • DistList (not on z/OS )
  • InhibitPut
  • TriggerControl
  • TriggerType
  • TriggerDepth
  • TriggerMsgPriority
  • TriggerData

The MQSET call has the same parameters as the MQINQ call. However, for MQSET, all parameters except the completion code and reason code are input parameters. There are no partial-completion situations.

Note: We cannot use the MQI to set the attributes of IBM MQ objects other than locally defined queues.

For more details about the MQSET call, see MQSET.

Parent topic: Inquiring about and setting object attributes