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 » IBM MQ API Support » RFH2 header causes 2334 - how to debug?

Post new topic  Reply to topic Goto page Previous  1, 2
 RFH2 header causes 2334 - how to debug? « View previous topic :: View next topic » 
Author Message
ThomasT
PostPosted: Wed Jun 17, 2009 9:03 am    Post subject: Re: Solution found! Reply with quote

Novice

Joined: 23 Apr 2006
Posts: 12

RogerLacroix wrote:

Actually, you should be doing:
Code:
rfhCodedCharSetId = MQC.MQCCSI_INHERIT;



Ahhh...thanks.

RogerLacroix wrote:

Also, why are you converting MCD, JMS & USR folders to byte arrays? They should be string (aligned on a 4-byte boundary and padded with blanks - if necessary).


Why not? To get the number of bytes (an I think that counts, not length of string) I need to know and do the encoding anyway. Remember that with UFT-8 1 char is not necessary 1 byte.
Back to top
View user's profile Send private message
vol
PostPosted: Thu Jun 18, 2009 12:34 am    Post subject: Reply with quote

Acolyte

Joined: 01 Feb 2009
Posts: 69

Quote:
52 46 48 20 00 00 00 02 00 00 00 94 00 00 01 11


The header length is wrong. It is not x94 long, it is xA8.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Goto page Previous  1, 2 Page 2 of 2

MQSeries.net Forum Index » IBM MQ API Support » RFH2 header causes 2334 - how to debug?
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.