We currently have a need to modify a VB app to use MQ-Series.
We plan to have a list of queue managers all with different names. If we get a failure on one (whether it be MQ or a timeout from the server application) the VB app should try to access the next queue manager in the list.
When we started we were using the amqax200.dll and using the MQSERVER environment variable. Once we had a failure we attempted to change the MQSERVER env variable and connect again which failed. We contacted IBM and they said that this will not work. They suggested using a client connection table (and recommended against using MQCONNX for some reason).
We attempted to use the client connection table with the amqax200.dll but failed. I found very little documentation on the .dll to resolve this issue. Does anyone have any sample code or some other suggestions? _________________ --
David B. Seal
302-266-5256
Did you unset the MQSERVER variable before trying to use the channel tables? MQSERVER is higher priority than the MQCHLLIB or MQCHLTAB variables, and if all three are set, MQSERVER wil be used.
I have used channel tables with mqax200 apps for years, with failover working as designed. _________________ Peter Potkay
Keep Calm and MQ On
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