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 » Segmentation stopped working after upgrade from 53 to 6, C#

Post new topic  Reply to topic
 Segmentation stopped working after upgrade from 53 to 6, C# « View previous topic :: View next topic » 
Author Message
yetanothersteve
PostPosted: Wed Feb 28, 2007 1:04 pm    Post subject: Segmentation stopped working after upgrade from 53 to 6, C# Reply with quote

Newbie

Joined: 25 Sep 2006
Posts: 3

I have a C# program that is placing messages that range from 10kb to 20mb in size. I am using segmentation and reassembly by the queue manager, i.e.,
Code:
mqMsg.MessageFlags = MQC.MQMF_SEGMENTATION_ALLOWED


Using MQ Client for Windows, 5.3CSD11, I am able to put a 7mb message on a queue and it was automatically segmented. The channel I am using allows up to 25mb. This succeeds versus both Remote and Local queues that I use.

Using MQ Client for Windows, 6.0.2.0, the same program is unable to put the 7mb message on a queue. The Reason Code returned is a 2010, MQRC_DATA_LENGTH_ERROR with description "Data length parameter not valid."

The MQ Server (Queue manager) is running 5.3CSD08

Does anyone know if there is another flag or property I need to set when using 6.0.2.0 and attempting segmentation and reassembly by the queue manager?

The IBM documentation seems to indicate only the MQC.MQMF_SEGMENTATION_ALLOWED is needed
http://publib.boulder.ibm.com/infocenter/wmqv6/v6r0/index.jsp?topic=/com.ibm.mq.csqzal.doc/handl.htm
Back to top
View user's profile Send private message
Nigelg
PostPosted: Thu Mar 01, 2007 12:33 am    Post subject: Reply with quote

Grand Master

Joined: 02 Aug 2004
Posts: 1046

2010 returned to a client app usually means that the MAXMSGL attribute of the client channel is too small for the msg being put.

Check that the CLNTCONN channel has the right MAXMSGL, either in the AMQCLCHL.TAB client channel table or in the MQCD passed to MQCONNX.
_________________
MQSeries.net helps those who help themselves..
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 » Segmentation stopped working after upgrade from 53 to 6, C#
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.