View previous topic :: View next topic
|
Author |
Message |
r2k1984
New User
Joined: 21 Jun 2005 Posts: 69 Location: chennai
|
|
|
|
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 |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8697 Location: Dubuque, Iowa, USA
|
|
|
|
I don't have MQ at my site but from what I've heard, the segment length is 32 bits so you should be passing X'00000100' to indicate a length of 256. |
|
Back to top |
|
|
|