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 » Creating RFH2 in C#

Post new topic  Reply to topic
 Creating RFH2 in C# « View previous topic :: View next topic » 
Author Message
angka
PostPosted: Tue Jan 29, 2008 7:47 pm    Post subject: Reply with quote

Chevalier

Joined: 20 Sep 2005
Posts: 406

Hi,

I am using C#.net. I follow the steps but somehow MQC.MQRFH_STRUC_LENGTH_FIXED_2 value is 36. is this the correct value?? I used rfhutil to send the same Publish message, but the MQC.MQRFH_STRUC_LENGTH_FIXED_2 seems to be 40.

I added 4 to the MQC.MQRFH_STRUC_LENGTH_FIXED_2 in my code and then it works...
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Wed Jan 30, 2008 4:11 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

angka wrote:
Hi,

I am using C#.net. I follow the steps but somehow MQC.MQRFH_STRUC_LENGTH_FIXED_2 value is 36. is this the correct value?? I used rfhutil to send the same Publish message, but the MQC.MQRFH_STRUC_LENGTH_FIXED_2 seems to be 40.

I added 4 to the MQC.MQRFH_STRUC_LENGTH_FIXED_2 in my code and then it works...

You can do a search and read all about the length rules for the RFH2 or use the XMS support pack (JMS for non java languages).

Enjoy
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
angka
PostPosted: Wed Jan 30, 2008 6:45 pm    Post subject: Reply with quote

Chevalier

Joined: 20 Sep 2005
Posts: 406

Hi,

Thanks.. I will look around for the length rules.. =)
Back to top
View user's profile Send private message
angka
PostPosted: Wed Jan 30, 2008 7:31 pm    Post subject: Reply with quote

Chevalier

Joined: 20 Sep 2005
Posts: 406

Hi,

I know why I need to add 4 already.. it is for the writeInt4 which is for the NameValueLength. Thanks.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ API Support » Creating RFH2 in C#
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.