Hi,
I am trying to make an MQ client application connect to an MQ server. The MQ server runs on host MACHINE1
Both client and server are ver. 5.2 and run on WIN 2000 platforms.
I have tried the following steps :
1) Define a server connection channel 'CLIENT.TO.QMGR1' on the server
2) Define a client connection on the server as follows :
DEFINE CHANNEL(CLIENT.TO.QMGR1) CHLTYPE(CLNTCONN) TRPTYPE(TCP) CONNAME(MACHINE1) QMNAME(QMGR1)
3) Copy the file c:\program files\ibm\mqseries\qmgrs\QMGR1\@ipcc\AMQCLCHL.TAB on the server to a directory c:\mq on the client machine
4) Set environment variables on the client machine :
SET MQCHLLIB=C:\mq
SET MQCHLTAB=AMQCLCHL.TAB
Now when I try to connect to QMGR1 with the client application, the connection fails with reason code 2059.
Could anybody help me in sorting out this problem?
Thanks,
Hench
I am trying to make an MQ client application connect to an MQ server. The MQ server runs on host MACHINE1
Both client and server are ver. 5.2 and run on WIN 2000 platforms.
I have tried the following steps :
1) Define a server connection channel 'CLIENT.TO.QMGR1' on the server
2) Define a client connection on the server as follows :
DEFINE CHANNEL(CLIENT.TO.QMGR1) CHLTYPE(CLNTCONN) TRPTYPE(TCP) CONNAME(MACHINE1) QMNAME(QMGR1)
3) Copy the file c:\program files\ibm\mqseries\qmgrs\QMGR1\@ipcc\AMQCLCHL.TAB on the server to a directory c:\mq on the client machine
4) Set environment variables on the client machine :
SET MQCHLLIB=C:\mq
SET MQCHLTAB=AMQCLCHL.TAB
Now when I try to connect to QMGR1 with the client application, the connection fails with reason code 2059.
Could anybody help me in sorting out this problem?
Thanks,
Hench