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 - Maximum Message Length with Q program

Post new topic  Reply to topic
 Error 2010 - Maximum Message Length with Q program « View previous topic :: View next topic » 
Author Message
smart_germany
PostPosted: Wed Dec 14, 2005 8:13 am    Post subject: Error 2010 - Maximum Message Length with Q program Reply with quote

Newbie

Joined: 14 Dec 2005
Posts: 2
Location: Germany

Hi Everybody,

We are going crazy trying to get a message more than 4 MB from a MQ Client installation into our MQ Server installation.

We went thru all the previous post in here hoping that we will find a solution as we always find for our previous errors, but nothing helped us.

We didnt have any problems with smaller messages until we reached the 4 MB limit.

The problem appears when we try to put the message(file) into the queue.


Our systems are:
============================================
Client installation:
Unix
connection over the server with the MQSERVER variable set as:
MQSERVER=CLIENT.TCP.QHMCPOP1/TCP/XX.YY.ZZ.WW(1417)
(real ip removed from this post)
============================================
Server installation:
Unix
Queue Maager QHMCPOP1 Maximum Message Length: 5000000 (5MB)
Queue QHMC.SI.0.BCT_C80N.IN Maximum Message Length: 5000000 (5MB)
in the Client Connections section:
a) CLIENT.TCP.QHMCPOP1: Maximum Message Length: 5000000 (5MB)
b) SYSTEM.DEF.CLNTCONN: Maximum Message Length: 5000000 (5MB)
in the Channels section:
a) CLIENT.TCP.QHMCPOP1
b) SYSTEM.ADMIN.SVRCONN
c) SYSTEM.AUTO.RECEIVER
d) SYSTEM.AUTO.SVRCONN
e) SYSTEM.DEF.RECEIVER
f) SYSTEM.DEF.SERVER
g) SYSTEM.DEF.SVRCONN
all are defined as: Maximum Message Length: 5000000 (5MB)
============================================

We used in both sides the standard Q program from Paul Clarke version 4.3
q in the server side to take the message from the q into a file
qc in the client side to put the message in the queue, one file per message

============================================
The command to put the message is:
qc -mQHMCPOP1 -oQHMC.SI.0.BCT_C80N.IN -F/interface/data/sap_dms/cognos.00000236.dat -d3 -v5
============================================
the result of the qc program is:
MQSeries Q Program by Paul Clarke [ V4.3 Build:Jun 9 2004 ]
MQ_CONNECT_TYPE=
Connecting ...MQOPEN on object '' returned 0 .
MQINQ on object '' returned 0 .
MQINQ on object '' returned 0 .
connected to 'QHMCPOP1 '.
MQCONN on object 'QHMCPOP1' returned 0 .
MQOPEN on object 'QHMC.SI.0.BCT_C80N.IN' returned 0 .
MQPUT on object 'QHMC.SI.0.BCT_C80N.IN' returned 2010 Data length error..
MQPUT 4194407 bytes
MQPUT on object 'QHMC.SI.0.BCT_C80N.IN' returned 2010 Data length error..
MQDISC on object 'QHMCPOP1' returned 0 .
============================================

We want to continue using the Q/QC program from Paul Clarke!

Questions:
1 - Are we missing something to modify to allow us transfer one file bigger than 4 MB into one single message?
2 - Another posibility will be to break the message into parts and in the receiver side to "assemble" all of them into one file. Can we do that with the qc program? what will be the commands?

Any idea will be highly appreciated!!!

Glad to finally contribute to this group!


Regards

smartie
Back to top
View user's profile Send private message
sebastianhirt
PostPosted: Wed Dec 14, 2005 8:16 am    Post subject: Re: Error 2010 - Maximum Message Length with Q program Reply with quote

Yatiri

Joined: 07 Jun 2004
Posts: 620
Location: Germany

smart_germany wrote:
Hi Everybody,

We are going crazy trying to get a message more than 4 MB from a MQ Client installation into our MQ Server installation.

connection over the server with the MQSERVER variable set as:
MQSERVER=CLIENT.TCP.QHMCPOP1/TCP/XX.YY.ZZ.WW(1417)


If I don't go terribly wrong, and remember right, MQSERVER will never ever support more than 4MB. You will have to try channel tabs

cheers
Sebastian
Back to top
View user's profile Send private message
smart_germany
PostPosted: Wed Dec 14, 2005 8:25 am    Post subject: Book? Reply with quote

Newbie

Joined: 14 Dec 2005
Posts: 2
Location: Germany

In which book should I check about channel tabs?

Thank you
Back to top
View user's profile Send private message
wschutz
PostPosted: Wed Dec 14, 2005 9:02 am    Post subject: Reply with quote

Jedi Knight

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

The MQ Clients manual....
_________________
-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 - Maximum Message Length with Q program
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.