ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » MQSIputdata with MQSeries v5.2

Post new topic  Reply to topic
 MQSIputdata with MQSeries v5.2 « View previous topic :: View next topic » 
Author Message
jhalstead
PostPosted: Mon Sep 17, 2001 4:25 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
kolban
PostPosted: Mon Sep 17, 2001 2:59 pm    Post subject: Reply with quote

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
View user's profile Send private message
jhalstead
PostPosted: Tue Sep 18, 2001 2:53 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
jhalstead
PostPosted: Fri Sep 28, 2001 6:40 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » MQSIputdata with MQSeries v5.2
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.