List of constants

 


The following sections list the named constants that are mentioned in this book, and show their values.

 

MQ_* (Lengths of character string and byte fields)


MQ_CF_STRUC_NAME_LENGTH 12 X'0000000C'
MQ_CLUSTER_NAME_LENGTH 48 X'00000030'
MQ_EXIT_DATA_LENGTH 32 X'00000020'
MQ_EXIT_USER_AREA_LENGTH 16 X'00000010'
MQ_Q_DESC_LENGTH 64 X'00000040'
MQ_Q_MGR_IDENTIFIER_LENGTH 48 X'00000030'
MQ_Q_MGR_NAME_LENGTH 48 X'00000030'
MQ_Q_NAME_LENGTH 48 X'00000030'
MQ_QSG_NAME_LENGTH 4 X'00000004'

 

MQBND_* (Binding)


See the DefBind field described in MQWQR - Cluster workload queue-record structure.

MQBND_BIND_ON_OPEN 0 X'00000000'
MQBND_BIND_NOT_FIXED 1 X'00000001'

 

MQCHS_* (Channel status)


See the ChannelState field described in MQWDR - Cluster workload destination-record structure.

MQCHS_INACTIVE 0 X'00000000'
MQCHS_BINDING 1 X'00000001'
MQCHS_INITIALIZING 13 X'0000000D'
MQCHS_STARTING 2 X'00000002'
MQCHS_RUNNING 3 X'00000003'
MQCHS_STOPPING 4 X'00000004'
MQCHS_RETRYING 5 X'00000005'
MQCHS_STOPPED 6 X'00000006'
MQCHS_REQUESTING 7 X'00000007'
MQCHS_PAUSED 8 X'00000008'

 

MQCQT_* Cluster queue(type)


See the QType field described in MQWQR - Cluster workload queue-record structure.

MQCQT_LOCAL_Q 1 X'00000001'
MQCQT_ALIAS_Q 2 X'00000002'
MQCQT_REMOTE_Q 3 X'00000003'
MQCQT_Q_MGR_ALIAS 4 X'00000004'

 

MQPER_* (Persistence)


See the DefPersistence field described in MQWQR - Cluster workload queue-record structure.

MQPER_NOT_PERSISTENT 0 X'00000000'
MQPER_PERSISTENT 1 X'00000001'

 

MQQA_* (Inhibit put)


See the InhibitPut field described in MQWQR - Cluster workload queue-record structure.

MQQA_PUT_ALLOWED 0 X'00000000'
MQQA_PUT_INHIBITED 1 X'00000001'

 

MQQF_* (Queue flags)


See the QFlags field described in MQWQR - Cluster workload queue-record structure.

MQQF_LOCAL_Q 1 X'00000001'

 

MQQMF_* (Queue-manager flags)


See the QMgrFlags field described in MQWDR - Cluster workload destination-record structure.

MQQMF_CLUSSDR_AUTO_DEFINED 16 X'00000010'
MQQMF_REPOSITORY_Q_MGR 2 X'00000002'
MQQMF_AVAILABLE 32 X'00000020'
MQQMF_CLUSSDR_USER_DEFINED 8 X'00000008'

 

MQWDR_* (Cluster workload exit destination-record length)


See the StrucLength field described in MQWDR - Cluster workload destination-record structure.

MQWDR_LENGTH_1 124 X'0000007C'
MQWDR_CURRENT_LENGTH 124 X'0000007C'

 

MQWDR_* (Cluster workload exit destination-record structure identifier)


See the StrucId field described in MQWDR - Cluster workload destination-record structure.

>MQWDR_STRUC_ID 'WDRb'

For the C programming language, the following array version is also defined:

>MQWDR_STRUC_ID_ARRAY 'W','D','R','b'

 

MQWDR_* (Cluster workload exit destination-record version)


See the Version field described in MQWDR - Cluster workload destination-record structure.

MQWDR_VERSION_1 1 X'00000001'
MQWDR_CURRENT_VERSION 1 X'00000001'

 

MQWQR_* (Cluster workload exit queue-record length)


See the StrucLength field described in MQWQR - Cluster workload queue-record structure.

MQWQR_LENGTH_1 200 X'000000C8'
MQWQR_CURRENT_LENGTH 200 X'000000C8'

 

MQWQR_* (Cluster workload exit queue-record structure identifier)


See the StrucId field described in MQWQR - Cluster workload queue-record structure.

>MQWQR_STRUC_ID 'WQRb'

For the C programming language, the following array version is also defined:

>MQWQR_STRUC_ID_ARRAY 'W','Q','R','b'

 

MQWQR_* (Cluster workload exit queue-record version)


See the Version field described in MQWQR - Cluster workload queue-record structure.

MQWQR_VERSION_1 1 X'00000001'
MQWQR_CURRENT_VERSION 1 X'00000001'

 

MQWXP_* (Cluster workload exit structure identifier)


See the StrucId field described in MQWXP - Cluster workload exit parameter structure.

>MQWXP_STRUC_ID 'WXPb'

For the C programming language, the following array version is also defined:

>MQWXP_STRUC_ID_ARRAY 'W','X','P','b'

 

MQWXP_* (Cluster workload exit structure version)


See the Version field described in MQWXP - Cluster workload exit parameter structure.

MQWXP_VERSION_1 1 X'00000001'
MQWXP_CURRENT_VERSION 1 X'00000001'

 

MQXCC_* (Exit response)


See the ExitResponse field described in MQWXP - Cluster workload exit parameter structure.

MQXCC_SUPPRESS_FUNCTION -1 X'FFFFFFFF'
MQXCC_SUPPRESS_EXIT -5 X'FFFFFFFB'
MQXCC_OK 0 X'00000000'

 

MQXR_* (Exit reason)


See the ExitReason field described in MQWXP - Cluster workload exit parameter structure.

MQXR_INIT 11 X'0000000B'
MQXR_TERM 12 X'0000000C'
MQXR_CLWL_OPEN 20 X'00000014'
MQXR_CLWL_PUT 21 X'00000015'
MQXR_CLWL_MOVE 22 X'00000016'
MQXR_CLWL_REPOS 23 X'00000017'
MQXR_CLWL_REPOS_MOVE 24 X'00000018'

 

MQXT_* (Exit identifier)


See the ExitId field described in MQWXP - Cluster workload exit parameter structure.

MQXT_CLUSTER_WORKLOAD_EXIT 20 X'00000014'

 

MQXUA_* (Exit user area)


See the ExitUserArea field described in MQWXP - Cluster workload exit parameter structure.

>MQXUA_NONE X'00...00' (16 nulls)

For the C programming language, the following array version is also defined:

>MQXUA_NONE_ARRAY '\0','\0',...'\0','\0'