DefinitionType (10-digit signed integer)

Queue definition type.

Local Model Alias Remote Cluster
Y Y      

This indicates how the queue was defined. The value is one of the following:

QDPRE

Predefined permanent queue.

The queue is a permanent queue created by the system administrator; only the system administrator can delete it.

Predefined queues are created using the

DEFINE MQSC command, and can be deleted only by using the

DELETE MQSC command. Predefined queues cannot be created from model queues.

Commands can be issued either by an operator, or by an authorized user sending a command message to the command input queue (see the CommandInputQName attribute described in Attributes for the queue manager).

QDPERM

Dynamically defined permanent queue.

The queue is a permanent queue that was created by an application issuing an MQOPEN call with the name of a model queue specified in the object descriptor MQOD. The model queue definition had the value QDPERM for the DefinitionType attribute.

This type of queue can be deleted using the MQCLOSE call. See MQCLOSE - Close object for more details.

The value of the QSGDisp attribute for a permanent dynamic queue is QSGDQM.

QDTEMP

Dynamically defined temporary queue.

The queue is a temporary queue that was created by an application issuing an MQOPEN call with the name of a model queue specified in the object descriptor MQOD. The model queue definition had the value QDTEMP for the DefinitionType attribute.

This type of queue is deleted automatically by the MQCLOSE call when it is closed by the application that created it.

The value of the QSGDisp attribute for a temporary dynamic queue is QSGDQM.

QDSHAR

Dynamically defined shared queue.

The queue is a shared permanent queue that was created by an application issuing an MQOPEN call with the name of a model queue specified in the object descriptor MQOD. The model queue definition had the value QDSHAR for the DefinitionType attribute.

This type of queue can be deleted using the MQCLOSE call. See MQCLOSE - Close object for more details.

The value of the QSGDisp attribute for a shared dynamic queue is QSGDSH.

This attribute in a model queue definition does not indicate how the model queue was defined, because model queues are always predefined. Instead, the value of this attribute in the model queue is used to determine the DefinitionType of each of the dynamic queues created from the model queue definition using the MQOPEN call.

To determine the value of this attribute, use the IADEFT selector with the MQINQ call.