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 » Getting Reason Code 2010 on messages greater than 2 MB on MQ

Post new topic  Reply to topic
 Getting Reason Code 2010 on messages greater than 2 MB on MQ « View previous topic :: View next topic » 
Author Message
moresh
PostPosted: Wed Jan 30, 2008 9:04 am    Post subject: Getting Reason Code 2010 on messages greater than 2 MB on MQ Reply with quote

Newbie

Joined: 30 Jan 2008
Posts: 2

Hi

I am using MQS to communicate messages between 2 applications. The MAXMSGL on Queue , Channel and Manager is defined to be 4MB

We can send messages upto 4 MB on the queue. However when we try to read a message greater than 2MB , it throws an 2010 error.

We were able to split the messages in batches of slightly less than 2 MB. Can any one advise on where the problem could be.

Thanks
Moresh
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed Jan 30, 2008 9:10 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Quote:
MQRC_DATA_LENGTH_ERROR
Explanation:

The DataLength parameter is not valid. Either the parameter pointer is not valid, or it points to read-only storage. (It is not always possible to detect parameter pointers that are not valid; if not detected, unpredictable results occur.)

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.
Completion Code:

MQCC_FAILED
Programmer Response:

Correct the parameter.

If the error occurs for an MQ client program, also check that the maximum message size for the channel is big enough to accommodate the message being sent; if it is not big enough, increase the maximum message size for the channel.

_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
moresh
PostPosted: Wed Jan 30, 2008 9:19 am    Post subject: Reply with quote

Newbie

Joined: 30 Jan 2008
Posts: 2

Hi

I am using a 3rd party Application which uses MQS client to read the queue.

Where can i see the data length parameters or the bufferlenght parameter ?

Please advise.

Moresh
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed Jan 30, 2008 9:24 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

You need to look at the client connection channel definition and the server connection channel definition.

Depending on what's being used, this may be the cause of the problem.

You should also look at both the version of the MQ Server and the version of the MQ Client install that the 3rd party app is using.

You should also raise this as an issue with the 3rd party app.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
MartynB
PostPosted: Thu Mar 20, 2008 7:59 am    Post subject: 2010 issues... Reply with quote

Novice

Joined: 14 Jan 2008
Posts: 24

Im having a similar issue against a mainframe queue manager I'm attempting to send a message to over MQClient.
The channel, queue and queue manager maxmsgl indicate enough capacity but I'm still getting @rsey: 2010.
Are there any underlying DASD issues on the mainframe I may need to be aware of? (excuse me if I have the incorrect terminology however I'm a windoze person myself).
I've tried this using two independant tools (although both written by myself). I'm using MQCONNX to connect. Are there and settings in the MQCD or MQPMO on the client that affect this behaviour?

Any assistance greatly recieved.

Regards,

Martyn
Back to top
View user's profile Send private message Send e-mail
jefflowrey
PostPosted: Thu Mar 20, 2008 8:38 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

You must be using a client connection table to do this.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
bruce2359
PostPosted: Thu Mar 20, 2008 8:42 am    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9469
Location: US: west coast, almost. Otherwise, enroute.

Quote:
Are there any underlying DASD issues on the mainframe


No.
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
zpat
PostPosted: Mon Mar 24, 2008 11:42 pm    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

The client channel max message size is defined at both the client and the queue manager side, the lowest value of the two is used.
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 » Getting Reason Code 2010 on messages greater than 2 MB on MQ
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.