Posted: Sun Feb 08, 2009 9:36 pm Post subject: Re: set userid for MQCONN
Jedi Knight
Joined: 15 May 2001 Posts: 3264 Location: London, ON Canada
Hi,
gbaddeley wrote:
I recently tested MQCONNX with MQCNO & MQCD in C on Windows MQ 7.0, connecting to a remote qmgr. No matter what MQCD userid fields you set, it will always pass the OS userid to the qmgr. Apparently you can't override it in C like you can in Java.
You need to think side-ways. I haven't found a way to set it via a procedure language (C/C++/VB/COBOL) but you can set it to blank, which is even better. Here are the details and it works like a charm:
http://www.mqseries.net/phpBB2/viewtopic.php?t=21782
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