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 » Error 2010

Post new topic  Reply to topic
 Error 2010 « View previous topic :: View next topic » 
Author Message
gh
PostPosted: Wed Aug 23, 2006 12:57 am    Post subject: Error 2010 Reply with quote

Novice

Joined: 12 Aug 2006
Posts: 14
Location: eq

Hi All,

I'm getting 2010 Error in my VB.NET application while executing get method of Queue object, the data length of message is 4404710.
Maximum message length of Queue and Server connection channel is 99999999.
I'm using amqmdnet.dll in my application.
My application is running on system with MQ Client v6.0.

Plz tell me should I need to do something in my code to increase maximum message length and how can I do this ?

Thanks
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
Vitor
PostPosted: Wed Aug 23, 2006 1:03 am    Post subject: Re: Error 2010 Reply with quote

Grand High Poobah

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

gh wrote:


Plz tell me should I need to do something in my code to increase maximum message length and how can I do this ?




If you look up 2010, it's not a problem with the length of the data (these are 2079 & 2080 IIRC) it's a problem with the parameter in your call. Check it's defined correctly, initialised properly, etc, etc.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
gh
PostPosted: Wed Aug 23, 2006 1:10 am    Post subject: Error 2010 Reply with quote

Novice

Joined: 12 Aug 2006
Posts: 14
Location: eq

2010 stands for MQRC_DATA_LENGTH_ERROR

I'm not getting this error for short messages.
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
Vitor
PostPosted: Wed Aug 23, 2006 1:16 am    Post subject: Re: Error 2010 Reply with quote

Grand High Poobah

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

gh wrote:
2010 stands for MQRC_DATA_LENGTH_ERROR

I'm not getting this error for short messages.


Okay - I stand to be corrected. From the manual:

Code:
MQRC_DATA_LENGTH_ERROR (2010, X’7DA’) Data length parameter not valid.


Code:
MQRC_TRUNCATED_MSG_ACCEPTED (2079, X’81F’) Truncated message returned (processing completed).


Code:
MQRC_TRUNCATED_MSG_FAILED (2080, X’820’) Truncated message returned (processing not completed).


(The mqrc thing just doesn't tell the whole story)

Now my interpretation of this is that if the length has wrong you'd have got a 2079 or 2080 depending on the get message options as the message was truncated. I believed that the 2010 referred to a problem with the parameter definition or usage.

Still, can't be right all the time & I'm VB6 not .NET - oh well
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed Aug 23, 2006 1:41 am    Post subject: Re: Error 2010 Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

gh wrote:
Maximum message length of Queue and Server connection channel is 99999999.


The maximum value these fields can hold is 104857600.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
wschutz
PostPosted: Wed Aug 23, 2006 1:45 am    Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

Quote:
This reason can also be returned to an MQ client program on the MQGET, MQPUT, or MQPUT1 call, if the BufferLength parameter exceeds the maximum message size that was negotiated for the client channel.

Maybe the svrconn end of the channel is > 4meg, but I'd bet the clntconn end isn't...a quick look at the .net user's manual seems to indicate you can't set the maxmsgl on the clntconn end of the channel....so, 4M might be the max you can move ....
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
gh
PostPosted: Wed Aug 23, 2006 1:56 am    Post subject: error 2010 Reply with quote

Novice

Joined: 12 Aug 2006
Posts: 14
Location: eq

Yes, these are my server's setting max msg length is set 99999999 but i'm still getting error while running get on message with the data length 4404710.
Plz suugest me how can I solve this problem
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
tleichen
PostPosted: Thu Aug 24, 2006 7:35 am    Post subject: Reply with quote

Yatiri

Joined: 11 Apr 2005
Posts: 663
Location: Center of the USA

Make sure that the parameter is being passed correctly, and that it is of proper type.
_________________
IBM Certified MQSeries Specialist
IBM Certified MQSeries Developer
Back to top
View user's profile Send private message
wschutz
PostPosted: Thu Aug 24, 2006 9:16 am    Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

I think that 4 meg (4*1024*1024) is the maximum message you can get (or put) using the .net client .....
(based on the fact that there doesn't appear to be any field that you can set in the interface to set the client channel end of maxmsgl)....
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » Error 2010
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.