Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hi, I'm using MQI apis on VAX. Wh

Status
Not open for further replies.

ansumanpahari

Programmer
Mar 27, 2003
4
PK
Hi,
I'm using MQI apis on VAX. When I'm calling MQCONNX from main thead, I am getting success, but when calling from a worker thread ( using posix thread ) I am getting connection error.
Could anybody help? Any suggestion will be appriciated.
Thanking you,
Ansuman.
 
If the return status is 2002 it is because you are trying to connect twice. You only need to connect once - in the main would be good. The threads only need to do opens. If the return code is something else, well you maybe can ignore this. Posting the error is always a good idea when asking for help.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top