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 » the return size of MQMessage.getDataLength() is not right

Post new topic  Reply to topic
 the return size of MQMessage.getDataLength() is not right « View previous topic :: View next topic » 
Author Message
benwang
PostPosted: Thu May 27, 2004 4:22 pm    Post subject: the return size of MQMessage.getDataLength() is not right Reply with quote

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.

Thanks.
Back to top
View user's profile Send private message
benwang
PostPosted: Thu May 27, 2004 7:07 pm    Post subject: Reply with quote

Newbie

Joined: 26 Nov 2001
Posts: 4

Hi All,

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.

Thanks you all.
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 » the return size of MQMessage.getDataLength() is not right
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.