Attributes of queues
Some of the attributes of a queue are specified when the queue is defined, and cannot be changed afterwards (for example, the type of the queue). Other attributes of queues can be grouped into those that can be changed:
- By the queue manager during the processing of the queue (for example, the current depth of a queue)
- Only by commands (for example, the text description of the queue)
- By applications, using the MQSET call (for example, whether or not put operations are allowed on the queue)
We can find the values of all the attributes using the MQINQ call.
The attributes that are common to more than one type of queue are:
- QName
- Name of the queue
- QType
- Type of the queue
- QDesc
- Text description of the queue
- InhibitGet
- Whether or not programs are allowed to get messages from the queue (although we can never get messages from remote queues)
- InhibitPut
- Whether or not programs are allowed to put messages on the queue
- DefPriority
- Default priority for messages put on the queue
- DefPersistence
- Default persistence for messages put on the queue
- Scope (not supported on z/OS)
- Controls whether an entry for this queue also exists in a name service
For a full description of these attributes, see the Application Programming Reference.
Parent topic:
Queues
fg10970_