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 » Mainframe, CICS, TXSeries » client connections

Post new topic  Reply to topic
 client connections « View previous topic :: View next topic » 
Author Message
sayan
PostPosted: Tue Jul 15, 2008 2:04 am    Post subject: client connections Reply with quote

Novice

Joined: 22 Feb 2008
Posts: 13

Hi,

I have setup the MQ server and client in the same machine(windows platform).
i am trying to execute a sample C program to get and put messages in one of the queues.
I have also setup the server connection channel and client connection channel(having the same name).
The problem I am facing is that when the program is linked to mqm.Lib i am able to connect to any of the 3 queue managers I have set up. But if i link it with mqic32.Lib I am only able to connect to the default quque manager. I have also set up the env variable MQSERVER as was given in the manuals.

Please help. Thank you
Back to top
View user's profile Send private message
zpat
PostPosted: Tue Jul 15, 2008 6:23 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

Don't use the MQSERVER environment variable. It's inflexible.

Create a Client Channel Definition Table including all the queue managers.

Connect to the appropriate queue manager and the CCDT will supply the correct connection information (IP name, Port, Client channel name).

Good article here

http://www.ibm.com/developerworks/websphere/library/techarticles/0704_xu/0704_xu.html
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » Mainframe, CICS, TXSeries » client connections
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.