Posted: Tue Oct 21, 2003 11:53 pm Post subject: Difference between MQ Server and client calls
Newbie
Joined: 10 Oct 2003 Posts: 3 Location: KL
Hi,
Is there any difference between program written for MQ Series client which connects to remote queue manager and Program which connects to queue manager on local machine. Is there any special coding or calls required.
I want to see how easy it is to migrate applications to mq client and consilidate queue manager on one strong MQ HUB.
How you make the client connection is the only thing that is different codewise about the calls.
You can do everything exactly the same if you set the MQServer environment variable. Except that there are extra error conditions you should be checking for, and handling.
There are other options for specifying the location of the server, including environment variables for a client connection table and the MQCONNX call, which allows you to specify a connection directly.
There is a whole manual devoted to client applications and connections, oddly enough called 'Clients' available on the IBM Website and with installed documentation with 5.3. The button at the top of the screen labeled 'Documentation' is a shortcut to the IBM documentation website for MQSeries. _________________ I am *not* the model of the modern major general.
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