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 » MQCONNX--ChannelDefinitionTable

Post new topic  Reply to topic
 MQCONNX--ChannelDefinitionTable « View previous topic :: View next topic » 
Author Message
sidhusaju
PostPosted: Wed Jun 06, 2007 12:42 am    Post subject: MQCONNX--ChannelDefinitionTable Reply with quote

Apprentice

Joined: 03 May 2007
Posts: 27

Hi all,

Actually I am having MQ v6.0 client installed in one m/c and server installed in another machine. From the client machine using a vb.net windows application I was able to transfer and retrieve messages from the QueueManager(by setting Mqenvironment.port,.hostname,.channel properties for the connection). But now my requirement is instead of MQenvironment object I want to communicate with my Queue manager using ClientChannel Definition table. I have created all the environment variables MQCHLLIB(path),MQCHLTAB(AMQCLCHL.TAB) , and set the environment variable NMQ_MQ_LIB=mqic32.lib in the client machine and
in the server side I have created a QM,Queue and set the serverconnection channel and client connection channel in the same name(I have set the properties for both the channels).


My Question is since, the .tab file is having all the details about Qmanager and queue details, what all changes I have to do from the application.


I was using this code in the .net application....

dim qmgr as MQQueueManager= New MQQueueManager("Qm")

Dim mqQueue As MQQueue = qmgr .AccessQueue("QueueName", MQC.MQOO_INPUT_AS_Q_DEF + MQC.MQOO_FAIL_IF_QUIESCING + MQC.MQOO_OUTPUT)

Dim mqMsg As MQMessage = New MQMessage
--
--

What all changes are required in the above code so that the .net application can communicate with the channeldefinition table file??
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Jun 06, 2007 12:54 am    Post subject: Re: MQCONNX--ChannelDefinitionTable Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

sidhusaju wrote:
My Question is since, the .tab file is having all the details about Qmanager and queue details, what all changes I have to do from the application.

...

What all changes are required in the above code so that the .net application can communicate with the channeldefinition table file??


Have you considered looking through the manuals for Client & .Net? It's a radical strategy & one I don't think you've tried before (based on previous posts) but could be valuable.

The client manual is especially good on the difference between using the MQSERVER variable & the connection table. It also talks about the different situations in which one is more appropriate than the other, and the benefits they offer.

We are not a training forum.
_________________
Honesty is the best policy.
Insanity is the best defence.
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 » IBM MQ API Support » MQCONNX--ChannelDefinitionTable
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.