Skip to content

Commit

Permalink
Update for MQ 9.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
ibmmqmet committed Dec 4, 2020
1 parent c52ecc2 commit bef14c7
Show file tree
Hide file tree
Showing 13 changed files with 37 additions and 24 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.

## Dec 04 2020 - v5.1.3
* Update for MQ 9.2.1

## Sep 29 2020 - no new version
* samples - Add script to build a running container with a sample program in it

Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,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-LinuxX64.tar.gz" \
VRMF=9.2.0.0
VRMF=9.2.1.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
7 changes: 4 additions & 3 deletions ibmmq/cmqc_aix.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ package ibmmq
****************************************************************
*
* <BEGIN_BUILDINFO>
* Generated on: 7/9/20 2:30 PM
* Build Level: p920-L200709
* Generated on: 11/12/20 5:27 PM
* Build Level: p921-L201112.1
* Build Type: Production
* <END_BUILDINFO>
*/
Expand Down Expand Up @@ -1004,7 +1004,7 @@ const (
MQCMDI_SEC_SIGNOFF_ERROR int32 = 17
MQCMDI_SEC_TIMER_ZERO int32 = 14
MQCMDI_SEC_UPPERCASE int32 = 21
MQCMDL_CURRENT_LEVEL int32 = 920
MQCMDL_CURRENT_LEVEL int32 = 921
MQCMDL_LEVEL_1 int32 = 100
MQCMDL_LEVEL_101 int32 = 101
MQCMDL_LEVEL_110 int32 = 110
Expand Down Expand Up @@ -1046,6 +1046,7 @@ const (
MQCMDL_LEVEL_914 int32 = 914
MQCMDL_LEVEL_915 int32 = 915
MQCMDL_LEVEL_920 int32 = 920
MQCMDL_LEVEL_921 int32 = 921
MQCMD_ACCOUNTING_MQI int32 = 167
MQCMD_ACCOUNTING_Q int32 = 168
MQCMD_ACTIVITY_MSG int32 = 69
Expand Down
7 changes: 4 additions & 3 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: 7/9/20 2:30 PM
* Build Level: p920-L200709
* Generated on: 11/12/20 5:27 PM
* Build Level: p921-L201112.1
* Build Type: Production
* <END_BUILDINFO>
*/
Expand Down Expand Up @@ -1002,7 +1002,7 @@ const (
MQCMDI_SEC_SIGNOFF_ERROR int32 = 17
MQCMDI_SEC_TIMER_ZERO int32 = 14
MQCMDI_SEC_UPPERCASE int32 = 21
MQCMDL_CURRENT_LEVEL int32 = 920
MQCMDL_CURRENT_LEVEL int32 = 921
MQCMDL_LEVEL_1 int32 = 100
MQCMDL_LEVEL_101 int32 = 101
MQCMDL_LEVEL_110 int32 = 110
Expand Down Expand Up @@ -1044,6 +1044,7 @@ const (
MQCMDL_LEVEL_914 int32 = 914
MQCMDL_LEVEL_915 int32 = 915
MQCMDL_LEVEL_920 int32 = 920
MQCMDL_LEVEL_921 int32 = 921
MQCMD_ACCOUNTING_MQI int32 = 167
MQCMD_ACCOUNTING_Q int32 = 168
MQCMD_ACTIVITY_MSG int32 = 69
Expand Down
7 changes: 4 additions & 3 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: 7/9/20 2:30 PM
* Build Level: p920-L200709
* Generated on: 11/12/20 5:27 PM
* Build Level: p921-L201112.1
* Build Type: Production
* <END_BUILDINFO>
*/
Expand Down Expand Up @@ -1002,7 +1002,7 @@ const (
MQCMDI_SEC_SIGNOFF_ERROR int32 = 17
MQCMDI_SEC_TIMER_ZERO int32 = 14
MQCMDI_SEC_UPPERCASE int32 = 21
MQCMDL_CURRENT_LEVEL int32 = 920
MQCMDL_CURRENT_LEVEL int32 = 921
MQCMDL_LEVEL_1 int32 = 100
MQCMDL_LEVEL_101 int32 = 101
MQCMDL_LEVEL_110 int32 = 110
Expand Down Expand Up @@ -1044,6 +1044,7 @@ const (
MQCMDL_LEVEL_914 int32 = 914
MQCMDL_LEVEL_915 int32 = 915
MQCMDL_LEVEL_920 int32 = 920
MQCMDL_LEVEL_921 int32 = 921
MQCMD_ACCOUNTING_MQI int32 = 167
MQCMD_ACCOUNTING_Q int32 = 168
MQCMD_ACTIVITY_MSG int32 = 69
Expand Down
7 changes: 4 additions & 3 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: 7/9/20 2:30 PM
* Build Level: p920-L200709
* Generated on: 11/12/20 5:27 PM
* Build Level: p921-L201112.1
* Build Type: Production
* <END_BUILDINFO>
*/
Expand Down Expand Up @@ -1002,7 +1002,7 @@ const (
MQCMDI_SEC_SIGNOFF_ERROR int32 = 17
MQCMDI_SEC_TIMER_ZERO int32 = 14
MQCMDI_SEC_UPPERCASE int32 = 21
MQCMDL_CURRENT_LEVEL int32 = 920
MQCMDL_CURRENT_LEVEL int32 = 921
MQCMDL_LEVEL_1 int32 = 100
MQCMDL_LEVEL_101 int32 = 101
MQCMDL_LEVEL_110 int32 = 110
Expand Down Expand Up @@ -1044,6 +1044,7 @@ const (
MQCMDL_LEVEL_914 int32 = 914
MQCMDL_LEVEL_915 int32 = 915
MQCMDL_LEVEL_920 int32 = 920
MQCMDL_LEVEL_921 int32 = 921
MQCMD_ACCOUNTING_MQI int32 = 167
MQCMD_ACCOUNTING_Q int32 = 168
MQCMD_ACTIVITY_MSG int32 = 69
Expand Down
7 changes: 4 additions & 3 deletions ibmmq/cmqc_linux_s390x.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ package ibmmq
****************************************************************
*
* <BEGIN_BUILDINFO>
* Generated on: 7/9/20 2:30 PM
* Build Level: p920-L200709
* Generated on: 11/12/20 5:27 PM
* Build Level: p921-L201112.1
* Build Type: Production
* <END_BUILDINFO>
*/
Expand Down Expand Up @@ -1002,7 +1002,7 @@ const (
MQCMDI_SEC_SIGNOFF_ERROR int32 = 17
MQCMDI_SEC_TIMER_ZERO int32 = 14
MQCMDI_SEC_UPPERCASE int32 = 21
MQCMDL_CURRENT_LEVEL int32 = 920
MQCMDL_CURRENT_LEVEL int32 = 921
MQCMDL_LEVEL_1 int32 = 100
MQCMDL_LEVEL_101 int32 = 101
MQCMDL_LEVEL_110 int32 = 110
Expand Down Expand Up @@ -1044,6 +1044,7 @@ const (
MQCMDL_LEVEL_914 int32 = 914
MQCMDL_LEVEL_915 int32 = 915
MQCMDL_LEVEL_920 int32 = 920
MQCMDL_LEVEL_921 int32 = 921
MQCMD_ACCOUNTING_MQI int32 = 167
MQCMD_ACCOUNTING_Q int32 = 168
MQCMD_ACTIVITY_MSG int32 = 69
Expand Down
7 changes: 4 additions & 3 deletions ibmmq/cmqc_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ package ibmmq
****************************************************************
*
* <BEGIN_BUILDINFO>
* Generated on: 7/9/20 2:30 PM
* Build Level: p920-L200709
* Generated on: 11/12/20 5:27 PM
* Build Level: p921-L201112.1
* Build Type: Production
* <END_BUILDINFO>
*/
Expand Down Expand Up @@ -1002,7 +1002,7 @@ const (
MQCMDI_SEC_SIGNOFF_ERROR int32 = 17
MQCMDI_SEC_TIMER_ZERO int32 = 14
MQCMDI_SEC_UPPERCASE int32 = 21
MQCMDL_CURRENT_LEVEL int32 = 920
MQCMDL_CURRENT_LEVEL int32 = 921
MQCMDL_LEVEL_1 int32 = 100
MQCMDL_LEVEL_101 int32 = 101
MQCMDL_LEVEL_110 int32 = 110
Expand Down Expand Up @@ -1044,6 +1044,7 @@ const (
MQCMDL_LEVEL_914 int32 = 914
MQCMDL_LEVEL_915 int32 = 915
MQCMDL_LEVEL_920 int32 = 920
MQCMDL_LEVEL_921 int32 = 921
MQCMD_ACCOUNTING_MQI int32 = 167
MQCMD_ACCOUNTING_Q int32 = 168
MQCMD_ACTIVITY_MSG int32 = 69
Expand Down
2 changes: 1 addition & 1 deletion ibmmq/mqi.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ of MQOPEN etc.
For more information on the MQI, including detailed descriptions of the functions,
constants and structures, see the MQ Knowledge Center
at https://www.ibm.com/support/knowledgecenter/en/SSFKSJ_9.1.0/com.ibm.mq.dev.doc/q023720_.htm#q023720_
at https://www.ibm.com/support/knowledgecenter/en/SSFKSJ_latest/com.ibm.mq.dev.doc/q023720_.htm#q023720_
If an MQI call returns MQCC_FAILED or MQCC_WARNING, a custom error
type is returned containing the MQCC/MQRC values as well as
Expand Down
4 changes: 4 additions & 0 deletions ibmmq/mqistr.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// +build go1.13

package ibmmq

/*
Expand Down Expand Up @@ -1377,6 +1379,8 @@ func MQItoString(class string, value int) string {
s = "MQCMDL_LEVEL_915"
case 920:
s = "MQCMDL_LEVEL_920"
case 921:
s = "MQCMDL_LEVEL_921"
default:
s = ""
}
Expand Down
4 changes: 2 additions & 2 deletions samples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ connect to a queue manager running on the host machine.
## More information
Comments in the programs explain what they are doing. For more detailed information about the
MQ API, the functions, structures, and constants, see the
[MQ Knowledge Center](https://www.ibm.com/support/knowledgecenter/en/SSFKSJ_9.1.0/com.ibm.mq.ref.dev.doc/q089590_.htm).
[MQ Knowledge Center](https://www.ibm.com/support/knowledgecenter/en/SSFKSJ_latest/com.ibm.mq.ref.dev.doc/q089590_.html).

You can also find general MQ application development advice [here](https://www.ibm.com/support/knowledgecenter/en/SSFKSJ_9.1.0/com.ibm.mq.dev.doc/q022830_.htm).
You can also find general MQ application development advice [here](https://www.ibm.com/support/knowledgecenter/en/SSFKSJ_latest/com.ibm.mq.dev.doc/q022830_.html).
Information about development for procedural programming languages such as C in that
documentation is most relevant for the interface exported by this Go package.
2 changes: 1 addition & 1 deletion samples/runSample.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,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-LinuxX64.tar.gz" \
VRMF=9.2.0.0
VRMF=9.2.1.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
2 changes: 1 addition & 1 deletion samples/runSample.gomod
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ module amqsput/v5
go 1.13

require (
github.com/ibm-messaging/mq-golang/v5 v5.1.2
github.com/ibm-messaging/mq-golang/v5 v5
)

0 comments on commit bef14c7

Please sign in to comment.