|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
MQSIputdata with MQSeries v5.2 |
« View previous topic :: View next topic » |
Author |
Message
|
jhalstead |
Posted: Mon Sep 17, 2001 4:25 am Post subject: |
|
|
 Master
Joined: 16 Aug 2001 Posts: 258 Location: London
|
Hi there,
We're using MQSIv2.0.1 and NEON support on AIX. We've just upgraded MQSeries to version 5.2.
One of the utilities provided with NEON support is MQSIputdata. This takes message data from a file and places in on a queue with the appropriately populated MQRFH header after the MQMD header.
However after the upgrade the following exception arrises.
Reason Code 2334 (MQRC_RFH_ERROR)
"This message contains an MQRFH structure but the structure is not valid."
I can only assume that the checking of MQRFH headers has tightened up in this new version? The release notes mention minor changes to application programming functions, althought only the MQRFH2 specified.
Anyone experienced this or got any thoughts...
Thanks in advance.
Jamie |
|
Back to top |
|
 |
kolban |
Posted: Mon Sep 17, 2001 2:59 pm Post subject: |
|
|
 Grand Master
Joined: 22 May 2001 Posts: 1072 Location: Fort Worth, TX, USA
|
Jamie,
Apparently this is a known bug. It would appear that in MQSeries V5.2, the RFH header was defined as a system header file. In this version, the CCSID field must be set to the coded character set id of the data. It defaults to 0 which has a meaning of undefined. |
|
Back to top |
|
 |
jhalstead |
Posted: Tue Sep 18, 2001 2:53 am Post subject: |
|
|
 Master
Joined: 16 Aug 2001 Posts: 258 Location: London
|
Thanks for information! I'll see if MQ Assist come up with a fix. I'll post details incase this effects anyone else in the future.
Jamie |
|
Back to top |
|
 |
jhalstead |
Posted: Fri Sep 28, 2001 6:40 am Post subject: |
|
|
 Master
Joined: 16 Aug 2001 Posts: 258 Location: London
|
The MQSIputdata code is in the examples directory of the NEON install.
/usr/lpp/mqi110/examples on AIX.
This needs to have the following line added when the MQRFH header is being constructed in the build message function. Insert in the if(sendHeader) code block.
RFHeader.CodedCharSetId = MQCCSI_INHERIT;
IBM provided a compiled version, unfortunately I don't have access to a CPP compiler so I haven't been able to test. But it should work... |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|