Skip to content

Commit

Permalink
Update for MQ 9.4.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ibmmqmet committed Jun 18, 2024
1 parent b3442b6 commit 2a31ece
Show file tree
Hide file tree
Showing 18 changed files with 614 additions and 404 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# Changelog
Newest updates are at the top of this file.

## Jun 18 2024 - v5.6.0
- Update for MQ 9.4.0

## Feb 29 2024 - v5.5.4
- Update for MQ 9.3.5
- ibmmq - Add simple tracing for MQI calls (MQIGO_TRACE env var)
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

ARG BASE_IMAGE=ubuntu:18.04
ARG BASE_IMAGE=ubuntu:20.04
FROM $BASE_IMAGE

ARG GOPATH_ARG="/go"
Expand Down Expand Up @@ -60,7 +60,7 @@ RUN mkdir -p $GOPATH/src $GOPATH/bin $GOPATH/pkg \
# Location of the downloadable MQ client package \
ENV RDURL="https://public.dhe.ibm.com/ibmdl/export/pub/software/websphere/messaging/mqdev/redist" \
RDTAR="IBM-MQC-Redist-Linux${MQARCH}.tar.gz" \
VRMF=9.3.5.0
VRMF=9.4.0.0

# Install the MQ client from the Redistributable package. This also contains the
# header files we need to compile against. Setup the subset of the package
Expand Down
14 changes: 10 additions & 4 deletions ibmmq/cmqc_aix.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ package ibmmq
****************************************************************
*
* <BEGIN_BUILDINFO>
* Generated on: 2/1/24 12:04 PM
* Build Level: p935-L240201
* Generated on: 6/5/24 2:30 PM
* Build Level: p940-L240605.1
* Build Type: Production
* <END_BUILDINFO>
*/
Expand Down Expand Up @@ -1032,7 +1032,7 @@ const (
MQCMDI_SEC_SIGNOFF_ERROR int32 = 17
MQCMDI_SEC_TIMER_ZERO int32 = 14
MQCMDI_SEC_UPPERCASE int32 = 21
MQCMDL_CURRENT_LEVEL int32 = 935
MQCMDL_CURRENT_LEVEL int32 = 940
MQCMDL_LEVEL_1 int32 = 100
MQCMDL_LEVEL_101 int32 = 101
MQCMDL_LEVEL_110 int32 = 110
Expand Down Expand Up @@ -1085,6 +1085,7 @@ const (
MQCMDL_LEVEL_933 int32 = 933
MQCMDL_LEVEL_934 int32 = 934
MQCMDL_LEVEL_935 int32 = 935
MQCMDL_LEVEL_940 int32 = 940
MQCMD_ACCOUNTING_MQI int32 = 167
MQCMD_ACCOUNTING_Q int32 = 168
MQCMD_ACTIVITY_MSG int32 = 69
Expand Down Expand Up @@ -1338,6 +1339,8 @@ const (
MQCNO_VERSION_8 int32 = 8
MQCODL_AS_INPUT int32 = -1
MQCOMPRESS_ANY int32 = 268435455
MQCOMPRESS_LZ4FAST int32 = 16
MQCOMPRESS_LZ4HIGH int32 = 32
MQCOMPRESS_NONE int32 = 0
MQCOMPRESS_NOT_AVAILABLE int32 = -1
MQCOMPRESS_RLE int32 = 1
Expand Down Expand Up @@ -1862,7 +1865,7 @@ const (
MQIACF_INVALID_DEST_COUNT int32 = 1371
MQIACF_ITEM_COUNT int32 = 1378
MQIACF_KNOWN_DEST_COUNT int32 = 1369
MQIACF_LAST_USED int32 = 1465
MQIACF_LAST_USED int32 = 1466
MQIACF_LDAP_CONNECTION_STATUS int32 = 1409
MQIACF_LISTENER_ATTRS int32 = 1222
MQIACF_LISTENER_STATUS_ATTRS int32 = 1223
Expand Down Expand Up @@ -2078,6 +2081,7 @@ const (
MQIACF_SYSP_UNIT_STATUS int32 = 1215
MQIACF_SYSP_WLM_INTERVAL int32 = 1202
MQIACF_SYSP_WLM_INT_UNITS int32 = 1268
MQIACF_SYSP_ZHYPERLINK int32 = 1466
MQIACF_SYSP_ZHYPERWRITE int32 = 1414
MQIACF_SYSTEM_OBJECTS int32 = 1404
MQIACF_THREAD_ID int32 = 1025
Expand Down Expand Up @@ -3411,6 +3415,7 @@ const (
MQRCCF_HB_INTERVAL_WRONG_TYPE int32 = 4078
MQRCCF_HOBJ_ERROR int32 = 3315
MQRCCF_HOST_NOT_AVAILABLE int32 = 4010
MQRCCF_INCOMPATIBLE_QM_IN_QSG int32 = 3389
MQRCCF_INCORRECT_Q int32 = 3079
MQRCCF_INCORRECT_STREAM int32 = 3075
MQRCCF_INDOUBT_VALUE_ERROR int32 = 3053
Expand Down Expand Up @@ -4973,6 +4978,7 @@ const (
MQ_CERT_LABEL_LENGTH int32 = 64
MQ_CERT_VAL_POLICY_ANY int32 = 0
MQ_CERT_VAL_POLICY_DEFAULT int32 = 0
MQ_CERT_VAL_POLICY_NONE int32 = 2
MQ_CERT_VAL_POLICY_RFC5280 int32 = 1
MQ_CF_LEID_LENGTH int32 = 12
MQ_CF_STRUC_DESC_LENGTH int32 = 64
Expand Down
14 changes: 10 additions & 4 deletions ibmmq/cmqc_darwin.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ package ibmmq
****************************************************************
*
* <BEGIN_BUILDINFO>
* Generated on: 2/1/24 12:04 PM
* Build Level: p935-L240201
* Generated on: 6/5/24 2:30 PM
* Build Level: p940-L240605.1
* Build Type: Production
* <END_BUILDINFO>
*/
Expand Down Expand Up @@ -1032,7 +1032,7 @@ const (
MQCMDI_SEC_SIGNOFF_ERROR int32 = 17
MQCMDI_SEC_TIMER_ZERO int32 = 14
MQCMDI_SEC_UPPERCASE int32 = 21
MQCMDL_CURRENT_LEVEL int32 = 935
MQCMDL_CURRENT_LEVEL int32 = 940
MQCMDL_LEVEL_1 int32 = 100
MQCMDL_LEVEL_101 int32 = 101
MQCMDL_LEVEL_110 int32 = 110
Expand Down Expand Up @@ -1085,6 +1085,7 @@ const (
MQCMDL_LEVEL_933 int32 = 933
MQCMDL_LEVEL_934 int32 = 934
MQCMDL_LEVEL_935 int32 = 935
MQCMDL_LEVEL_940 int32 = 940
MQCMD_ACCOUNTING_MQI int32 = 167
MQCMD_ACCOUNTING_Q int32 = 168
MQCMD_ACTIVITY_MSG int32 = 69
Expand Down Expand Up @@ -1338,6 +1339,8 @@ const (
MQCNO_VERSION_8 int32 = 8
MQCODL_AS_INPUT int32 = -1
MQCOMPRESS_ANY int32 = 268435455
MQCOMPRESS_LZ4FAST int32 = 16
MQCOMPRESS_LZ4HIGH int32 = 32
MQCOMPRESS_NONE int32 = 0
MQCOMPRESS_NOT_AVAILABLE int32 = -1
MQCOMPRESS_RLE int32 = 1
Expand Down Expand Up @@ -1862,7 +1865,7 @@ const (
MQIACF_INVALID_DEST_COUNT int32 = 1371
MQIACF_ITEM_COUNT int32 = 1378
MQIACF_KNOWN_DEST_COUNT int32 = 1369
MQIACF_LAST_USED int32 = 1465
MQIACF_LAST_USED int32 = 1466
MQIACF_LDAP_CONNECTION_STATUS int32 = 1409
MQIACF_LISTENER_ATTRS int32 = 1222
MQIACF_LISTENER_STATUS_ATTRS int32 = 1223
Expand Down Expand Up @@ -2078,6 +2081,7 @@ const (
MQIACF_SYSP_UNIT_STATUS int32 = 1215
MQIACF_SYSP_WLM_INTERVAL int32 = 1202
MQIACF_SYSP_WLM_INT_UNITS int32 = 1268
MQIACF_SYSP_ZHYPERLINK int32 = 1466
MQIACF_SYSP_ZHYPERWRITE int32 = 1414
MQIACF_SYSTEM_OBJECTS int32 = 1404
MQIACF_THREAD_ID int32 = 1025
Expand Down Expand Up @@ -3411,6 +3415,7 @@ const (
MQRCCF_HB_INTERVAL_WRONG_TYPE int32 = 4078
MQRCCF_HOBJ_ERROR int32 = 3315
MQRCCF_HOST_NOT_AVAILABLE int32 = 4010
MQRCCF_INCOMPATIBLE_QM_IN_QSG int32 = 3389
MQRCCF_INCORRECT_Q int32 = 3079
MQRCCF_INCORRECT_STREAM int32 = 3075
MQRCCF_INDOUBT_VALUE_ERROR int32 = 3053
Expand Down Expand Up @@ -4973,6 +4978,7 @@ const (
MQ_CERT_LABEL_LENGTH int32 = 64
MQ_CERT_VAL_POLICY_ANY int32 = 0
MQ_CERT_VAL_POLICY_DEFAULT int32 = 0
MQ_CERT_VAL_POLICY_NONE int32 = 2
MQ_CERT_VAL_POLICY_RFC5280 int32 = 1
MQ_CF_LEID_LENGTH int32 = 12
MQ_CF_STRUC_DESC_LENGTH int32 = 64
Expand Down
14 changes: 10 additions & 4 deletions ibmmq/cmqc_linux_amd64.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ package ibmmq
****************************************************************
*
* <BEGIN_BUILDINFO>
* Generated on: 2/1/24 12:04 PM
* Build Level: p935-L240201
* Generated on: 6/5/24 2:30 PM
* Build Level: p940-L240605.1
* Build Type: Production
* <END_BUILDINFO>
*/
Expand Down Expand Up @@ -1032,7 +1032,7 @@ const (
MQCMDI_SEC_SIGNOFF_ERROR int32 = 17
MQCMDI_SEC_TIMER_ZERO int32 = 14
MQCMDI_SEC_UPPERCASE int32 = 21
MQCMDL_CURRENT_LEVEL int32 = 935
MQCMDL_CURRENT_LEVEL int32 = 940
MQCMDL_LEVEL_1 int32 = 100
MQCMDL_LEVEL_101 int32 = 101
MQCMDL_LEVEL_110 int32 = 110
Expand Down Expand Up @@ -1085,6 +1085,7 @@ const (
MQCMDL_LEVEL_933 int32 = 933
MQCMDL_LEVEL_934 int32 = 934
MQCMDL_LEVEL_935 int32 = 935
MQCMDL_LEVEL_940 int32 = 940
MQCMD_ACCOUNTING_MQI int32 = 167
MQCMD_ACCOUNTING_Q int32 = 168
MQCMD_ACTIVITY_MSG int32 = 69
Expand Down Expand Up @@ -1338,6 +1339,8 @@ const (
MQCNO_VERSION_8 int32 = 8
MQCODL_AS_INPUT int32 = -1
MQCOMPRESS_ANY int32 = 268435455
MQCOMPRESS_LZ4FAST int32 = 16
MQCOMPRESS_LZ4HIGH int32 = 32
MQCOMPRESS_NONE int32 = 0
MQCOMPRESS_NOT_AVAILABLE int32 = -1
MQCOMPRESS_RLE int32 = 1
Expand Down Expand Up @@ -1862,7 +1865,7 @@ const (
MQIACF_INVALID_DEST_COUNT int32 = 1371
MQIACF_ITEM_COUNT int32 = 1378
MQIACF_KNOWN_DEST_COUNT int32 = 1369
MQIACF_LAST_USED int32 = 1465
MQIACF_LAST_USED int32 = 1466
MQIACF_LDAP_CONNECTION_STATUS int32 = 1409
MQIACF_LISTENER_ATTRS int32 = 1222
MQIACF_LISTENER_STATUS_ATTRS int32 = 1223
Expand Down Expand Up @@ -2078,6 +2081,7 @@ const (
MQIACF_SYSP_UNIT_STATUS int32 = 1215
MQIACF_SYSP_WLM_INTERVAL int32 = 1202
MQIACF_SYSP_WLM_INT_UNITS int32 = 1268
MQIACF_SYSP_ZHYPERLINK int32 = 1466
MQIACF_SYSP_ZHYPERWRITE int32 = 1414
MQIACF_SYSTEM_OBJECTS int32 = 1404
MQIACF_THREAD_ID int32 = 1025
Expand Down Expand Up @@ -3411,6 +3415,7 @@ const (
MQRCCF_HB_INTERVAL_WRONG_TYPE int32 = 4078
MQRCCF_HOBJ_ERROR int32 = 3315
MQRCCF_HOST_NOT_AVAILABLE int32 = 4010
MQRCCF_INCOMPATIBLE_QM_IN_QSG int32 = 3389
MQRCCF_INCORRECT_Q int32 = 3079
MQRCCF_INCORRECT_STREAM int32 = 3075
MQRCCF_INDOUBT_VALUE_ERROR int32 = 3053
Expand Down Expand Up @@ -4973,6 +4978,7 @@ const (
MQ_CERT_LABEL_LENGTH int32 = 64
MQ_CERT_VAL_POLICY_ANY int32 = 0
MQ_CERT_VAL_POLICY_DEFAULT int32 = 0
MQ_CERT_VAL_POLICY_NONE int32 = 2
MQ_CERT_VAL_POLICY_RFC5280 int32 = 1
MQ_CF_LEID_LENGTH int32 = 12
MQ_CF_STRUC_DESC_LENGTH int32 = 64
Expand Down
14 changes: 10 additions & 4 deletions ibmmq/cmqc_linux_arm64.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ package ibmmq
****************************************************************
*
* <BEGIN_BUILDINFO>
* Generated on: 2/1/24 12:04 PM
* Build Level: p935-L240201
* Generated on: 6/5/24 2:30 PM
* Build Level: p940-L240605.1
* Build Type: Production
* <END_BUILDINFO>
*/
Expand Down Expand Up @@ -1032,7 +1032,7 @@ const (
MQCMDI_SEC_SIGNOFF_ERROR int32 = 17
MQCMDI_SEC_TIMER_ZERO int32 = 14
MQCMDI_SEC_UPPERCASE int32 = 21
MQCMDL_CURRENT_LEVEL int32 = 935
MQCMDL_CURRENT_LEVEL int32 = 940
MQCMDL_LEVEL_1 int32 = 100
MQCMDL_LEVEL_101 int32 = 101
MQCMDL_LEVEL_110 int32 = 110
Expand Down Expand Up @@ -1085,6 +1085,7 @@ const (
MQCMDL_LEVEL_933 int32 = 933
MQCMDL_LEVEL_934 int32 = 934
MQCMDL_LEVEL_935 int32 = 935
MQCMDL_LEVEL_940 int32 = 940
MQCMD_ACCOUNTING_MQI int32 = 167
MQCMD_ACCOUNTING_Q int32 = 168
MQCMD_ACTIVITY_MSG int32 = 69
Expand Down Expand Up @@ -1338,6 +1339,8 @@ const (
MQCNO_VERSION_8 int32 = 8
MQCODL_AS_INPUT int32 = -1
MQCOMPRESS_ANY int32 = 268435455
MQCOMPRESS_LZ4FAST int32 = 16
MQCOMPRESS_LZ4HIGH int32 = 32
MQCOMPRESS_NONE int32 = 0
MQCOMPRESS_NOT_AVAILABLE int32 = -1
MQCOMPRESS_RLE int32 = 1
Expand Down Expand Up @@ -1862,7 +1865,7 @@ const (
MQIACF_INVALID_DEST_COUNT int32 = 1371
MQIACF_ITEM_COUNT int32 = 1378
MQIACF_KNOWN_DEST_COUNT int32 = 1369
MQIACF_LAST_USED int32 = 1465
MQIACF_LAST_USED int32 = 1466
MQIACF_LDAP_CONNECTION_STATUS int32 = 1409
MQIACF_LISTENER_ATTRS int32 = 1222
MQIACF_LISTENER_STATUS_ATTRS int32 = 1223
Expand Down Expand Up @@ -2078,6 +2081,7 @@ const (
MQIACF_SYSP_UNIT_STATUS int32 = 1215
MQIACF_SYSP_WLM_INTERVAL int32 = 1202
MQIACF_SYSP_WLM_INT_UNITS int32 = 1268
MQIACF_SYSP_ZHYPERLINK int32 = 1466
MQIACF_SYSP_ZHYPERWRITE int32 = 1414
MQIACF_SYSTEM_OBJECTS int32 = 1404
MQIACF_THREAD_ID int32 = 1025
Expand Down Expand Up @@ -3411,6 +3415,7 @@ const (
MQRCCF_HB_INTERVAL_WRONG_TYPE int32 = 4078
MQRCCF_HOBJ_ERROR int32 = 3315
MQRCCF_HOST_NOT_AVAILABLE int32 = 4010
MQRCCF_INCOMPATIBLE_QM_IN_QSG int32 = 3389
MQRCCF_INCORRECT_Q int32 = 3079
MQRCCF_INCORRECT_STREAM int32 = 3075
MQRCCF_INDOUBT_VALUE_ERROR int32 = 3053
Expand Down Expand Up @@ -4973,6 +4978,7 @@ const (
MQ_CERT_LABEL_LENGTH int32 = 64
MQ_CERT_VAL_POLICY_ANY int32 = 0
MQ_CERT_VAL_POLICY_DEFAULT int32 = 0
MQ_CERT_VAL_POLICY_NONE int32 = 2
MQ_CERT_VAL_POLICY_RFC5280 int32 = 1
MQ_CF_LEID_LENGTH int32 = 12
MQ_CF_STRUC_DESC_LENGTH int32 = 64
Expand Down
14 changes: 10 additions & 4 deletions ibmmq/cmqc_linux_ppc64le.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ package ibmmq
****************************************************************
*
* <BEGIN_BUILDINFO>
* Generated on: 2/1/24 12:04 PM
* Build Level: p935-L240201
* Generated on: 6/5/24 2:30 PM
* Build Level: p940-L240605.1
* Build Type: Production
* <END_BUILDINFO>
*/
Expand Down Expand Up @@ -1032,7 +1032,7 @@ const (
MQCMDI_SEC_SIGNOFF_ERROR int32 = 17
MQCMDI_SEC_TIMER_ZERO int32 = 14
MQCMDI_SEC_UPPERCASE int32 = 21
MQCMDL_CURRENT_LEVEL int32 = 935
MQCMDL_CURRENT_LEVEL int32 = 940
MQCMDL_LEVEL_1 int32 = 100
MQCMDL_LEVEL_101 int32 = 101
MQCMDL_LEVEL_110 int32 = 110
Expand Down Expand Up @@ -1085,6 +1085,7 @@ const (
MQCMDL_LEVEL_933 int32 = 933
MQCMDL_LEVEL_934 int32 = 934
MQCMDL_LEVEL_935 int32 = 935
MQCMDL_LEVEL_940 int32 = 940
MQCMD_ACCOUNTING_MQI int32 = 167
MQCMD_ACCOUNTING_Q int32 = 168
MQCMD_ACTIVITY_MSG int32 = 69
Expand Down Expand Up @@ -1338,6 +1339,8 @@ const (
MQCNO_VERSION_8 int32 = 8
MQCODL_AS_INPUT int32 = -1
MQCOMPRESS_ANY int32 = 268435455
MQCOMPRESS_LZ4FAST int32 = 16
MQCOMPRESS_LZ4HIGH int32 = 32
MQCOMPRESS_NONE int32 = 0
MQCOMPRESS_NOT_AVAILABLE int32 = -1
MQCOMPRESS_RLE int32 = 1
Expand Down Expand Up @@ -1862,7 +1865,7 @@ const (
MQIACF_INVALID_DEST_COUNT int32 = 1371
MQIACF_ITEM_COUNT int32 = 1378
MQIACF_KNOWN_DEST_COUNT int32 = 1369
MQIACF_LAST_USED int32 = 1465
MQIACF_LAST_USED int32 = 1466
MQIACF_LDAP_CONNECTION_STATUS int32 = 1409
MQIACF_LISTENER_ATTRS int32 = 1222
MQIACF_LISTENER_STATUS_ATTRS int32 = 1223
Expand Down Expand Up @@ -2078,6 +2081,7 @@ const (
MQIACF_SYSP_UNIT_STATUS int32 = 1215
MQIACF_SYSP_WLM_INTERVAL int32 = 1202
MQIACF_SYSP_WLM_INT_UNITS int32 = 1268
MQIACF_SYSP_ZHYPERLINK int32 = 1466
MQIACF_SYSP_ZHYPERWRITE int32 = 1414
MQIACF_SYSTEM_OBJECTS int32 = 1404
MQIACF_THREAD_ID int32 = 1025
Expand Down Expand Up @@ -3411,6 +3415,7 @@ const (
MQRCCF_HB_INTERVAL_WRONG_TYPE int32 = 4078
MQRCCF_HOBJ_ERROR int32 = 3315
MQRCCF_HOST_NOT_AVAILABLE int32 = 4010
MQRCCF_INCOMPATIBLE_QM_IN_QSG int32 = 3389
MQRCCF_INCORRECT_Q int32 = 3079
MQRCCF_INCORRECT_STREAM int32 = 3075
MQRCCF_INDOUBT_VALUE_ERROR int32 = 3053
Expand Down Expand Up @@ -4973,6 +4978,7 @@ const (
MQ_CERT_LABEL_LENGTH int32 = 64
MQ_CERT_VAL_POLICY_ANY int32 = 0
MQ_CERT_VAL_POLICY_DEFAULT int32 = 0
MQ_CERT_VAL_POLICY_NONE int32 = 2
MQ_CERT_VAL_POLICY_RFC5280 int32 = 1
MQ_CF_LEID_LENGTH int32 = 12
MQ_CF_STRUC_DESC_LENGTH int32 = 64
Expand Down
Loading

0 comments on commit 2a31ece

Please sign in to comment.