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 » MQRC 2010 using MQSeries Perl MQI

Post new topic  Reply to topic
 MQRC 2010 using MQSeries Perl MQI « View previous topic :: View next topic » 
Author Message
MozBink
PostPosted: Wed Dec 08, 2010 12:37 pm    Post subject: MQRC 2010 using MQSeries Perl MQI Reply with quote

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
View user's profile Send private message
Vitor
PostPosted: Wed Dec 08, 2010 12:54 pm    Post subject: Re: MQRC 2010 using MQSeries Perl MQI Reply with quote

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
View user's profile Send private message
mqjeff
PostPosted: Wed Dec 08, 2010 3:53 pm    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Can we see the code?
Back to top
View user's profile Send private message
skoobee
PostPosted: Wed Dec 08, 2010 9:33 pm    Post subject: Reply with quote

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
View user's profile Send private message
PeterPotkay
PostPosted: Thu Dec 09, 2010 9:06 am    Post subject: Reply with quote

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
View user's profile Send private message
zpat
PostPosted: Fri Jan 21, 2011 6:53 am    Post subject: Reply with quote

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
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 » MQRC 2010 using MQSeries Perl MQI
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.