Joined: 27 Aug 2001 Posts: 3023 Location: Dallas, TX, USA
The MQCONNX call gives you one of two things. If you are in bindings mode, it gives you the ability to either run your application in the standard mode. This starts up a separate process (agent) that you communicate through to get to the queue manager. This gives the queue manager a level of protection from your program bringing it down. If your program is well-behaved (or trusted), you can run in fastpath mode which puts the agent in your process. You should get better performance this way.
The other thing that the mqconnx will do for you is allow you to pass in the MQCD (channel definition). This allows you to set up some of the input parameters that you would have specified on some of the environment variables.
There is a pretty good write-up in the Application Programming Reference. You'll need to look under the MQCNO structure.
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