|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
problem to connect to MQServer |
« View previous topic :: View next topic » |
Author |
Message
|
sErgio |
Posted: Mon Sep 16, 2002 10:55 am Post subject: problem to connect to MQServer |
|
|
Newbie
Joined: 16 Sep 2002 Posts: 1 Location: Chile
|
hi everybody.
Ok let's try, i'm not an english man so i can't write (and speak) very well, so i try to do my best efforts.
I try to connet a server MQ from a client machine, i create a env. var. MQSERVER=channel/TCP/ipserver(port). I execute an example code to put message (in a queue server) but i recive an error message 2059.
I don't know what i'm doing wrong. Someone can help me please. |
|
Back to top |
|
 |
jc_squire |
Posted: Mon Sep 16, 2002 1:01 pm Post subject: |
|
|
 Centurion
Joined: 14 Apr 2002 Posts: 105 Location: New Zealand
|
Hi Sergio,
Defining an environment variable does not establish a connection to the queue manager. It only defines the MQI chl from the client to the server.
Basically you have to follow the normal MQI calls i.e. MQCONN, MQOPEN, MQPUT or MQGET, MQCLOSE and MQDISC- can also use MQPUT1 instead of MQOPEN, MQPUT, MQGET.
Regards _________________ J C Squire
IBM Certified Specialist - MQSeries |
|
Back to top |
|
 |
mgrabinski |
Posted: Mon Sep 16, 2002 10:08 pm Post subject: |
|
|
Master
Joined: 16 Oct 2001 Posts: 246 Location: Katowice, Poland
|
Hi Sergio
See what is the queue manager name in your MQCONN call and then check th efollowing:
- is the manager up and running?
- does the manager have a SVRCONN channel with the name matching the one you used in MQSERVER variable?
- is there a listener running on the specified port? _________________ Marcin Grabinski <>< |
|
Back to top |
|
 |
mrlinux |
Posted: Tue Sep 17, 2002 3:31 am Post subject: |
|
|
 Grand Master
Joined: 14 Feb 2002 Posts: 1261 Location: Detroit,MI USA
|
What sample program are you running ???? _________________ Jeff
IBM Certified Developer MQSeries
IBM Certified Specialist MQSeries
IBM Certified Solutions Expert MQSeries |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|