Thanks Scott.. Its working now..
Thank you all for the support provided for me...
Thanks,
Eka...
John Scott <[EMAIL PROTECTED]> wrote:
John Scott <[EMAIL PROTECTED]> wrote:
Your SVRCONN and CLNTCONN definitions must have the same name. You have called your SVRCONN "EKASVRCHL" and the CLNTCONN "EKACLNTCONN". They both need to be the same value. See Chapter 8 (Using Channels) of the Clients manual, under the section "Creating both definitions on the server".RegardsJohn ScottIBM Certified Specialist - MQSeriesARG Infrastructure Services - Middleware-----Original Message-----
From: MQSeries List [mailto:[EMAIL PROTECTED]
Sent: 28 July 2005 22:40
To: [email protected]
Subject: Re: MQGET fails returning with response code 2010Thanks Tony,I have defined two channels as shown below:DEFINE CHANNEL(EKASVRCHL) CHLTYPE(SVRCONN) TRPTYPE(TCP) MAXMSGL(41943040)DEFINE CHANNEL(EKACLNTCHL) CHLTYPE(CLNTCONN) TRPTYPE(TCP) MAXMSGL(41943040) CONNAME(mqserverbox) QMNAME(QMGR)where mqserverbox is my unix box name or ip (tried both) where MQSeries server resides and QMGR is my queue manager.Then i moved the file AMQCLCHL.TAB from /var/mqm/qmgrs/QMGR/@ipcc to my windows box where i have my client installation.Set the environment variable MQCHLLIB in windows to the path where i have AMQCLCHL.TABTried setting with and without MQCHLTAB environment varibale.Restarted the MQSeries server and tried executing my application.. I failed with the following error:(MQSeries RC=2059 CC=2)(MQSeries RC=2059 CC=2)Did i miss to do anything?Thanks,Eka...
"Tony.Allison" <[EMAIL PROTECTED]> wrote:Eka,In order to use the AMQCLCHL.TAB file you must first create the client connection channels. By doing this it will populate the AMQCLCHL.TAB file with the connection information for each server / client connection channel you build. Then once this is done copy the file from the @ipcc directory and put on your client system. This should solve your problems.Tony AllisonTarget Corporation
From: MQSeries List [mailto:[EMAIL PROTECTED] On Behalf Of sadhasivam ekambaram
Sent: Thursday, July 28, 2005 2:39 PM
To: [email protected]
Subject: Re: MQGET fails returning with response code 2010Thanks for your help..As u said i tried moving the AMQCLCHL.TAB file on the client place and placed it on the MQSeries client installation directory. I removed the MQSERVER definition and i made the MQCHLLIB and MQCHLTAB to point to the directory where i placed the file and the name of the file with path..When i try to run the application i got the following erro:(MQSeries RC=2058 CC=2) Unable to connect to queue manager: QMGR
(MQSeries RC=2058 CC=2) Unable to connect to queue manager: QMGRBasically we specify the channel, protocol and the server with port on the MQSERVER env variable. If i remove it i dont know how it will connect to my server. Does the AMQCLCHL.TAB file has the information of the server too..Eka..
Francois Van der Merwe1 <[EMAIL PROTECTED]> wrote:Eka
You received a little known "funny" with MQ. If you use the MQServer
environment variable to set up the client channel then you are limited to a
maximum message length of 4M. The solution is easy: You must use MQ
channel tables to set up the MQ client channel.
You must DISCARD the MQSERVER environment variable and instead use MQCHLLIB
and MQCHLTAB environment variables after you configured a server connection
channel and a client connection channel. After you created the client
connection channel, look for the file AMQCLCHL.TAB in the @ipcc
subdirectory inside the queue manager directory. Copy this file where the
client machine can see it and point MQCHLLIB and MQCHLTAB to it. If you
use the default file name as the queue manager created it, you can leave
out the MQCHLTAB.
Inside this file is the "client side" definition of th e channel between the
MQClient machine and the MQServer machine.
Hope this helps, and remember to remove the MQSERVER environment variable,
because if it is there it will allways override the other two.
Francois van der Merwe
Senior IT Specialist: IBM MQSeries Certified Specialist, Solutions Expert &
Developer
IBM, Cape Town, South Africa
+27 (0)82 556 9467 / +27 (0)21 402 5597
[EMAIL PROTECTED], yahoo messenger fmerwe2001
sadhasivam
ekambaram
<[EMAIL PROTECTED] To
O.UK> [email protected]
Sent by: MQSeries cc
List
<[EMAIL PROTECTED]
V.MEDUNIWIEN.AC.A MQGET fails returning with response
T> code 2010
27/07/2005 19:11
Please respond to
MQSeries List
Hi,
I am new to MQSeries.. I came here hoping that you experts can help me...
My problem:
I have a setup like the MQServer is running on the Unix box and i have
application written in C using the MQS API communicating to the server from
a windows box...
I have installed the MQServer's Client installation on my windows box...
I have set the environment variable MQSERVER. ie.
MQSERVER=SERVER.CHANNEL/TCP/unixbox(1414)
Now i start my application on the windows machine and put some message on
the queue on the Server in the unix box..
My application receive the message perfectly..
I increased the size of my message to 4MB - My application receive the
message perfectly.
I increased the size to 6MB - My application failed stating response code
2010.
When i traced the code i found it failing at MQGET() call..
Then i tried increasing the MAXMSGL of the Queue manager, Queue and the
Channels to 40MB.. But still i am getting the same but when i saw in the
log on the server side.. I found something like the TC P connection got
closed.. So i made the KeepAlive option to Yes and tried too.. I am not
getting still..
My server version is 5.3.0.2
Am i missing any setting.. Can anyone help me in this issue?
Regds,
Eka..
How much free photo storage do you get? Store your holiday snaps for FREE
with Yahoo! Photos. Get Yahoo! Photos Instructions for managing your
mailing list subscription are provided in the Listserv General Users Guide
available at http://www.lsoft.com
Archive: http://listserv.meduniwien.ac.at/archives/mqser-l.html
Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://listserv.meduniwien.ac.at/archives/mqser-l.html
Yahoo! Messenger NEW - crystal clear PC to PC calling worldwide with voicemail Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.comArchive: http://listserv.meduniwien.ac.at/archives/mqser-l.htmlInstructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.comArchive: http://listserv.meduniwien.ac.at/archives/mqser-l.html
How much free photo storage do you get? Store your holiday snaps for FREE with Yahoo! Photos. Get Yahoo! Photos Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.comArchive: http://listserv.meduniwien.ac.at/archives/mqser-l.html
- --------------------------------------------------------------
Check our latest prices and full range at http://www.argos.co.uk
The information contained in this message or any of its attachments may be privileged and/or confidential, and is intended exclusively for the addressee. Unauthorised disclosure, copying or distribution of the contents is strictly prohibited.
The views expressed may not be official policy, but the personal views of the originator.
If you have received this message in error, please advise the sender by using the reply facility in your e-mail software.
All messages sent and received by Argos Ltd are monitored for viruses, high-risk file extensions, and inappropriate content.
Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.comArchive: http://listserv.meduniwien.ac.at/archives/mqser-l.html
To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre. Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://listserv.meduniwien.ac.at/archives/mqser-l.html
