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 » General IBM MQ Support » MQQueue::Get ended with MQRC_DATA_LENGTH_ERROR

Post new topic  Reply to topic
 MQQueue::Get ended with MQRC_DATA_LENGTH_ERROR « View previous topic :: View next topic » 
Author Message
xmqymshr
PostPosted: Fri Jul 22, 2016 5:43 am    Post subject: MQQueue::Get ended with MQRC_DATA_LENGTH_ERROR Reply with quote

Novice

Joined: 13 Jan 2016
Posts: 14

I am getting a MQQueue::Get ended with MQRC_DATA_LENGTH_ERROR for some messages while trying to fetch messages using .net mq client. I have verified with the MQ admin about the channel maxmeslength property. It is set to 65536. Is there anything i have to change on the client side to receive those messages. Please help
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri Jul 22, 2016 5:49 am    Post subject: Re: MQQueue::Get ended with MQRC_DATA_LENGTH_ERROR Reply with quote

Grand High Poobah

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

xmqymshr wrote:
I have verified with the MQ admin about the channel maxmeslength property. It is set to 65536.


So the MQ admin says the max msg length is 65536, i.e. the channel will only accept a message of 65,536 bytes? Ask how they came up with that number and why the default (4 Mb) wasn't suitable for them.

xmqymshr wrote:
Is there anything i have to change on the client side to receive those messages. Please help


Have the channel's max msg length set to a value large enough to accept your message.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
xmqymshr
PostPosted: Fri Jul 22, 2016 6:05 am    Post subject: Reply with quote

Novice

Joined: 13 Jan 2016
Posts: 14

Yeah i asked mq admin to change it to 4MB now it works fine. What is the maxlength it can be set to
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri Jul 22, 2016 6:41 am    Post subject: Reply with quote

Grand High Poobah

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

xmqymshr wrote:
Yeah i asked mq admin to change it to 4MB now it works fine.


You might want to ask why they changed it. That number is suspiciously like another limit and they might have fat fingered the alteration.

xmqymshr wrote:
What is the maxlength it can be set to


The value quoted in the product documentation
_________________
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 » General IBM MQ Support » MQQueue::Get ended with MQRC_DATA_LENGTH_ERROR
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.