|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
MQMessage WriteInt |
« View previous topic :: View next topic » |
Author |
Message
|
bvasanth |
Posted: Mon Aug 23, 2004 9:23 pm Post subject: MQMessage WriteInt |
|
|
Apprentice
Joined: 03 May 2004 Posts: 27 Location: Chennai, India
|
Hi,
I tried to write an integer 128 into a MQ message using writeInt method.
Quote: |
java code:
msg.writeInt(128); |
But the hex value shows '0000003F' instead of '00000080'. If I write 127, it writes correct hex value of '0000007F'. Anything between 128-159, it writes only '0000003F'. For other numbers, it writes fine. Can anyone point me why it is not writing appropriate hex values from writeInt(128) to writeInt(159)?
I specified encoding as Native.
Thanks,
Vasanth |
|
Back to top |
|
 |
kirani |
Posted: Mon Aug 23, 2004 10:21 pm Post subject: |
|
|
Jedi Knight
Joined: 05 Sep 2001 Posts: 3779 Location: Torrance, CA, USA
|
What platform are you running this application on? Also, have you tried reading the same message from the queue and see if it displays the same value? _________________ Kiran
IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries
|
|
Back to top |
|
 |
bvasanth |
Posted: Tue Aug 24, 2004 6:32 am Post subject: |
|
|
Apprentice
Joined: 03 May 2004 Posts: 27 Location: Chennai, India
|
It is due to ASCII which cannot show more than 127..Value 128 is getting fine to mainframe CICS application,and it is working.
Thanks |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|