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 Java / JMS » Length error while converting a message from .NET to MQ.

Post new topic  Reply to topic
 Length error while converting a message from .NET to MQ. « View previous topic :: View next topic » 
Author Message
r2k1984
PostPosted: Mon Jun 21, 2010 2:54 am    Post subject: Length error while converting a message from .NET to MQ. Reply with quote

Newbie

Joined: 21 Jun 2010
Posts: 1

Hai,

Iam currently working on a project for passing the data from .Net to MQ series.


Iam passing the data with the following data.

1. IIH header data.
2. LL field.
3. ZZ field
4. Data for the header.

I have converted the LL field to Big endian to little endian , since Iam sending the data from .NEt application to Mainframe application.

My data is 252 bytes and Iam have added 4 bytes to the lenght field(LL). Since LL and ZZ are 2 bytes binary.

So the total record length is 256 . and equivalent hexa decimal value is 0100 and I have tried all the four combinations

0100
1000
0010
0001

But Iam getting the same length error for all the same. (MQFB_DATA_LENGTH_NEGATIVE).

Could any one please let us know how to solve the issue.
Back to top
View user's profile Send private message
Vitor
PostPosted: Mon Jun 21, 2010 5:07 am    Post subject: Re: Length error while converting a message from .NET to MQ. Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

r2k1984 wrote:
Could any one please let us know how to solve the issue.


Not unless we manage to help this poster.....
_________________
Honesty is the best policy.
Insanity is the best defence.
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 Java / JMS » Length error while converting a message from .NET to MQ.
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.