Home
Fields
- StrucId (MQCHAR4)
- Structure identifier.
The value is:
- MQWQR_STRUC_ID
- Identifier for cluster workload queue record.
For the C programming language, the constant MQWQR_STRUC_ID_ARRAY is also defined; this has the same value as MQWQR_STRUC_ID, but is an array of characters instead of a string.
This is an input field to the exit.
- V(MQLONG)
- Structure version number.
The value is:
- MQWQR_VERSION_1
- Version-1 cluster workload queue record.
- MQWQR_VERSION_2
- Version-2 cluster workload queue record.
The following constant specifies the version number of the current version:
- MQWQR_CURRENT_VERSION
- Current version of cluster workload queue record.
This is an input field to the exit.
- StrucLength (MQLONG)
- Length of MQWQR structure.
The value is:
- MQWQR_LENGTH_1
- Length of version-1 cluster workload queue record.
- MQWQR_LENGTH_2
- Length of version-2 cluster workload queue record.
The following constant specifies the length of the current version:
- MQWQR_CURRENT_LENGTH
- Length of current version of cluster workload queue record.
This is an input field to the exit.
- QFlags (MQLONG)
- Queue flags.
These are bit flags that indicate various properties of the queue. The following flags are defined:
- MQQF_LOCAL_Q
- Destination is a local queue.
- MQQF_CLWL_USEQ_ANY
- Allow use of local and remote queues in puts.
- MQQF_CLWL_USEQ_LOCAL
- Only allow local queue puts.
Other flags in the field might be set by the queue manager for internal purposes.
This is an input field to the exit.
- QName (MQCHAR48)
- Queue name.
The length of this field is given by MQ_Q_NAME_LENGTH. This is an input field to the exit.
- QMgrIdentifier (MQCHAR48)
- Queue-manager identifier.
This is a string that acts as a unique identifier for the queue manager that hosts the instance of the queue described by this MQWQR structure. The identifier is generated by the queue manager.
The length of this field is given by MQ_Q_MGR_IDENTIFIER_LENGTH. This is an input field to the exit.
- ClusterRecOffset (MQLONG)
- Logical offset of first cluster record.
This is the logical offset of the first MQWCR structure that belongs to this MQWQR structure. For static caches, this is the offset of the first MQWCR structure that belongs to the MQWQR structure. The offset is measured in bytes from the start of the MQWQR structure. For dynamic caches, the logical offset CANNOT be used in pointer arithmetic. To obtain the address of the next record, the MQXCLWLN call must be used.
This is an input field to the exit.
- QType (MQLONG)
- Queue type.
The following values are possible:
- MQCQT_LOCAL_Q
- Local queue.
- MQCQT_ALIAS_Q
- Alias queue.
- MQCQT_REMOTE_Q
- Remote queue.
- MQCQT_Q_MGR_ALIAS
- Queue-manager alias.
This is an input field to the exit.
- QDesc (MQCHAR64)
- Queue description.
This is the value of the QDesc queue attribute as defined on the queue manager that hosts the instance of the destination queue described by this MQWQR structure.
The length of this field is given by MQ_Q_DESC_LENGTH. This is an input field to the exit.
- DefBind (MQLONG)
- Default binding.
This is the value of the DefBind queue attribute as defined on the queue manager that hosts the instance of the destination queue described by this MQWQR structure. The following values are possible:
- MQBND_BIND_ON_OPEN
- Binding fixed by MQOPEN call.
- MQBND_BIND_NOT_FIXED
- Binding not fixed.
This is an input field to the exit.
- DefPersistence (MQLONG)
- Default message persistence.
This is the value of the DefPersistence queue attribute as defined on the queue manager that hosts the instance of the destination queue described by this MQWQR structure. The following values are possible:
- MQPER_PERSISTENT
- Message is persistent.
- MQPER_NOT_PERSISTENT
- Message is not persistent.
This is an input field to the exit.
- DefPriority (MQLONG)
- Default message priority.
This is the value of the DefPriority queue attribute as defined on the queue manager that hosts the instance of the destination queue described by this MQWQR structure. Priorities are in the range zero (lowest) through MaxPriority (highest), where MaxPriority is the queue-manager attribute of the queue manager that hosts this instance of the destination queue.
This is an input field to the exit.
- InhibitPut (MQLONG)
- Whether put operations on the queue are allowed.
This is the value of the InhibitPut queue attribute as defined on the queue manager that hosts the instance of the destination queue described by this MQWQR structure. The following values are possible:
- MQQA_PUT_INHIBITED
- Put operations are inhibited.
- MQQA_PUT_ALLOWED
- Put operations are allowed.
This is an input field to the exit.
- CLWLQueuePriority (MQLONG)
- Queue priority. This is the value of the CLWLQueuePriority parameter as defined on the queue manager that hosts the instance of the destination queue described by this MQWQR structure.
This is an input field to the exit.
- CLWLQueueRank (MQLONG)
- Queue rank. This is the value of the CLWLQueueRank parameter as defined on the queue manager that hosts the instance of the destination queue described by this MQWQR structure.
This is an input field to the exit.
- Default put response. This field reflects the DEFPRESP attribute for a queue. This is the value of the DefPutResponse queue attribute as defined on the queue manager that hosts the instance of the destination queue described by this MQWQR structure. The following values are possible:
- MQPRT_SYNC_RESPONSE
- Synchronous response to MQPUT or MQPUT1 calls.
- MQPRT_ASYNC_RESPONSE
- Asynchronous response to MQPUT or MQPUT1 calls.
This is an input field to the exit.
Parent topic:
MQWQR - Cluster workload queue-record structure
qc12810_
Home