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 » problem to connect to MQServer

Post new topic  Reply to topic
 problem to connect to MQServer « View previous topic :: View next topic » 
Author Message
sErgio
PostPosted: Mon Sep 16, 2002 10:55 am    Post subject: problem to connect to MQServer Reply with quote

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
View user's profile Send private message
jc_squire
PostPosted: Mon Sep 16, 2002 1:01 pm    Post subject: Reply with quote

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
View user's profile Send private message
mgrabinski
PostPosted: Mon Sep 16, 2002 10:08 pm    Post subject: Reply with quote

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
View user's profile Send private message
mrlinux
PostPosted: Tue Sep 17, 2002 3:31 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ API Support » problem to connect to MQServer
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.