Skip to content

Commit ab20cff

Browse files
committed
Final 9.4.1 updates
1 parent bec6835 commit ab20cff

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ RUN mkdir -p $GOPATH/src $GOPATH/bin $GOPATH/pkg \
6060
# Location of the downloadable MQ client package \
6161
ENV RDURL="https://public.dhe.ibm.com/ibmdl/export/pub/software/websphere/messaging/mqdev/redist" \
6262
RDTAR="IBM-MQC-Redist-Linux${MQARCH}.tar.gz" \
63-
VRMF=9.4.0.0
63+
VRMF=9.4.1.0
6464

6565
# Install the MQ client from the Redistributable package. This also contains the
6666
# header files we need to compile against. Setup the subset of the package

ibmmq/mqiRFH2.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ func NewMQRFH2(md *MQMD) *MQRFH2 {
5656
rfh2.Flags = MQRFH_NONE
5757

5858
rfh2.StrucLength = int32(MQRFH_STRUC_LENGTH_FIXED_2)
59-
59+
rfh2.NameValueCCSID = 1208
6060
if md != nil {
6161

6262
rfh2.Encoding = md.Encoding
@@ -81,13 +81,14 @@ func NewMQRFH2(md *MQMD) *MQRFH2 {
8181
}
8282

8383
// Return a byte array based on the contents of the RFH2 header
84-
// This builds one of the pieces needed for the complete element. This
85-
// function does not need to be public
84+
// This builds one of the pieces needed for the complete element when you are
85+
// PUTting a message. An application will not need to call this, but should
86+
// instead use the Get() function to return the full byte array - header and strings
8687
func (rfh2 *MQRFH2) bytes() []byte {
8788
buf := make([]byte, MQRFH_STRUC_LENGTH_FIXED_2)
8889
offset := 0
8990

90-
copy(buf[offset:], "RHF ")
91+
copy(buf[offset:], "RFH ")
9192
offset += 4
9293
endian.PutUint32(buf[offset:], uint32(MQRFH_VERSION_2))
9394
offset += 4
@@ -177,7 +178,6 @@ func (hdr *MQRFH2) Set(p []string) []byte {
177178

178179
b = append(b, w.Bytes()...)
179180
b = append(b, s...)
180-
//fmt.Printf("b: %d %+v\n", i, b)
181181

182182
}
183183

samples/runSample.deb.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ RUN mkdir -p $GOPATH/src $GOPATH/bin $GOPATH/pkg \
7777
# Location of the downloadable MQ client package \
7878
ENV RDURL="https://public.dhe.ibm.com/ibmdl/export/pub/software/websphere/messaging/mqdev/redist" \
7979
RDTAR="IBM-MQC-Redist-Linux${MQARCH}.tar.gz" \
80-
VRMF=9.4.0.0
80+
VRMF=9.4.1.0
8181

8282
# Install the MQ client from the Redistributable package. This also contains the
8383
# header files we need to compile against. Setup the subset of the package

samples/runSample.ubi.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ RUN mkdir -p $GOPATH/src $GOPATH/bin $GOPATH/pkg \
5656
# Location of the downloadable MQ client package \
5757
ENV RDURL="https://public.dhe.ibm.com/ibmdl/export/pub/software/websphere/messaging/mqdev/redist" \
5858
RDTAR="IBM-MQC-Redist-Linux${MQARCH}.tar.gz" \
59-
VRMF=9.4.0.0
59+
VRMF=9.4.1.0
6060

6161
# Install the MQ client from the Redistributable package. This also contains the
6262
# header files we need to compile against. Setup the subset of the package

0 commit comments

Comments
 (0)