Author |
Message
|
MozBink |
Posted: Wed Dec 08, 2010 12:37 pm Post subject: MQRC 2010 using MQSeries Perl MQI |
|
|
Newbie
Joined: 08 Dec 2010 Posts: 2
|
All,
I have an issue with existing software that my company has been using for messaging files in Client mode to IBM Websphere 6.
We use MQSeries.pm Perl module. Everything is fine but occasionally we will get files that are over 4 meg in size. When this happens the file cannot be put on the Queue and the call returns a MQRC 2010.
I have made sure the channels are set greater than 4 meg and the destination Queue is also greater than 4 meg, but to no avail.
Is there somewhere in the Perl module where the message length is being defined? I had searched and could not find it.
I am trying to see how I can get larger than 4meg messages to go through using the Perl module. Our Websphere infrastructure is set to allow 100 meg messages if need be. That is what I changed the channel and Queue sizes to.
Here is some info about the system I am running:
I am running Cobalt Linux 2.2
Perl : version 5.005_03 MQSeries.pm,v 16.5 2001/02/07 18:19:11 wpm Exp $ |
|
Back to top |
|
 |
Vitor |
Posted: Wed Dec 08, 2010 12:54 pm Post subject: Re: MQRC 2010 using MQSeries Perl MQI |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
MozBink wrote: |
Is there somewhere in the Perl module where the message length is being defined? I had searched and could not find it.
|
Ok, understand that my Perl is as good as my Java. And my Ancient Egyptian.
But that error code typically refers to the parameter being passed in the put call, rather than any max sixes in any WMQ objects (which would result in 2018, 2030 or 2031). So it implies a code issue rather than a configuration one. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
mqjeff |
Posted: Wed Dec 08, 2010 3:53 pm Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
|
Back to top |
|
 |
skoobee |
Posted: Wed Dec 08, 2010 9:33 pm Post subject: |
|
|
Acolyte
Joined: 26 Nov 2010 Posts: 52
|
2010 = MQRC_DATA_LENGTH_ERROR
This means that a msg being put by a client has exceeded the client channel maximum msg length. By default, when using the MQSERVER method, this is 4Mb and cannot be increased.
So, to enable msgs of more than 4Mb to be passed across a client channel some other method of defining the client channel has to be used. The available options are defining a CLNTCONN/SVRCONN pair, or using MQCONNX and passing in a channel definition.
I do not know whether either of these can be used by the Perl client. |
|
Back to top |
|
 |
PeterPotkay |
Posted: Thu Dec 09, 2010 9:06 am Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
skoobee wrote: |
By default, when using the MQSERVER method, this is 4Mb and cannot be increased.
|
Unless you upgrade to WMQ 7. _________________ Peter Potkay
Keep Calm and MQ On |
|
Back to top |
|
 |
zpat |
Posted: Fri Jan 21, 2011 6:53 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
Both ends of the channel need to be > 4MB as the lowest maxmsgsize value of the two ends is chosen if they are different.
So this means both a CCDT change and a svrconn change. |
|
Back to top |
|
 |
|