Author |
Message |
Topic: MQGET MQPUT Race Condition |
rockdale
Replies: 17 Views: 16006
|
Forum: IBM MQ API Support Posted: Tue Dec 15, 2009 11:12 am Subject: MQGET MQPUT Race Condition |
The application is single thread.
MQGET get message and then process the message. (here has no problem)
at the same time, the application will respond to AST routine. (stop whatever it doing curr ... |
Topic: MQGET MQPUT Race Condition |
rockdale
Replies: 17 Views: 16006
|
Forum: IBM MQ API Support Posted: Tue Dec 15, 2009 9:01 am Subject: MQGET MQPUT Race Condition |
and now I can not issue MQPUT from the same connection.
Why not? What symptom? What reasoncode?
2219 MQRC_CALL_IN_PROGRESS. Since MQGET is active. |
Topic: MQGET MQPUT Race Condition |
rockdale
Replies: 17 Views: 16006
|
Forum: IBM MQ API Support Posted: Tue Dec 15, 2009 7:51 am Subject: MQGET MQPUT Race Condition |
Your application appears to be a "server" type application, that should sit in an MQGET with WAIT call until a message arrives, do it's work including putting messages to other queues, and ... |
Topic: MQGET MQPUT Race Condition |
rockdale
Replies: 17 Views: 16006
|
Forum: IBM MQ API Support Posted: Tue Dec 15, 2009 6:06 am Subject: Re: MQGET MQPUT Race Condition |
AFAIK WMQ connections are not thread safe on any platform and you'll need separate connections.
IF WMQ connections are not thread safe, why they provide the options (MQCNO_HANDLE_SHARE_NONE, MQCN ... |
Topic: MQGET MQPUT Race Condition |
rockdale
Replies: 17 Views: 16006
|
Forum: IBM MQ API Support Posted: Tue Dec 15, 2009 6:05 am Subject: MQGET MQPUT Race Condition |
So if you have a multi-threaded application and you are sharing the same connection between threads, and one thread sits in MQGET with WAIT, then no other thread can use the connection until the MQG ... |
Topic: MQGET MQPUT Race Condition |
rockdale
Replies: 17 Views: 16006
|
Forum: IBM MQ API Support Posted: Mon Dec 14, 2009 7:40 pm Subject: Re: MQGET MQPUT Race Condition |
Not until you get WMQv7 on OpenVMS, which (on other platforms at least) incorporates this kind of functionality.
The MQ Server version is 7.0.0.0.
The MQ Client version is 6.0.1.1 -which ... |
Topic: MQGET MQPUT Race Condition |
rockdale
Replies: 17 Views: 16006
|
Forum: IBM MQ API Support Posted: Mon Dec 14, 2009 11:11 am Subject: MQGET MQPUT Race Condition |
This is a long post to descript my questions as I am very new to MQ series/OpenVMS
Our C application is running on OpenVMS, its major task is to transmit messages between a MQ server and another a ... |
Topic: how to determine mq client version on openVMS |
rockdale
Replies: 2 Views: 4744
|
Forum: IBM MQ Installation/Configuration Support Posted: Thu Dec 03, 2009 10:59 am Subject: find it |
Never mind. Use dspmqver will show the client number |
Topic: how to determine mq client version on openVMS |
rockdale
Replies: 2 Views: 4744
|
Forum: IBM MQ Installation/Configuration Support Posted: Thu Dec 03, 2009 9:56 am Subject: the link |
http://www-01.ibm.com/support/docview.wss?uid=swg21299538
This is the link I am talking about |
Topic: how to determine mq client version on openVMS |
rockdale
Replies: 2 Views: 4744
|
Forum: IBM MQ Installation/Configuration Support Posted: Thu Dec 03, 2009 9:46 am Subject: how to determine mq client version on openVMS |
I need to find out the exact client version number of our MQ client installed on openVMS. Is there a command or anything?
I've found a link on ibm site, it shows AIX, HP-UX, Linux, Solaris and Window ... |