Posted: Thu May 27, 2004 4:22 pm Post subject: the return size of MQMessage.getDataLength() is not right
Newbie
Joined: 26 Nov 2001 Posts: 4
I recently encountered a size problem when I called the method
MQMessage.getDataLength() , It's longer than the acutal size than I
got from using MQ Visual Edit software, ex. the size I got was 616
but actually it should be 596 I found in MQ visual edit -- MQMD attributes
view.
I'll highly appreciate if someone could help me out.
I've figured out what happened it was, that's because I did not issue
the MQC.MQGMO_CONVERT option ( in MQGetMessageOptions ) when
getting data from queue, since I'm using Linux platform and they are
using Mainframe on the other end.
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