|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
MQOO_INQUIRE |
« View previous topic :: View next topic » |
Author |
Message
|
Amazone |
Posted: Mon Oct 17, 2005 5:36 am Post subject: MQOO_INQUIRE |
|
|
Novice
Joined: 17 Oct 2005 Posts: 14
|
Hi,
i've posted a message on MQRC_HANDLE_IN_USE_FOR_UOW this afternoon.
I've made lot of test and changes. Now, i've got error when i try to put a message in the queue.
Now, i've this error :
MQRC_NOT_OPEN_FOR_INQUIRE
I found this corrective action: Specify MQOO_OUTPUT when the queue is opened.
I don't understand what is the MQC.MQOO_INQUIRE.
Can somebody explain me ?
PS : i'm french  |
|
Back to top |
|
 |
Mr Butcher |
Posted: Mon Oct 17, 2005 5:43 am Post subject: |
|
|
 Padawan
Joined: 23 May 2005 Posts: 1716
|
Bonjour
you can use inquire from the application program to "read" the object attributes (e.g. how a queue is defined).
if you want to put, you open mqoo_output, if you want to get, you open mqoo_input, if you want to inquire then you open mqoo_inquire and so on. attributes can be mixed (see open options at mqopen command in application programmers reference).
MQRC_NOT_OPEN_FOR_INQUIRE:
most likely: you do some inquire in your program, but the queue is not open with mqoo_inquire.
Au revoir _________________ Regards, Butcher |
|
Back to top |
|
 |
wschutz |
Posted: Mon Oct 17, 2005 6:04 am Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
Quote: |
most likely: you do some inquire in your program, but the queue is not open with mqoo_inquire.
|
and since you're using C#, this means you are executing something like: myOutQueue.currentDepth()
ps...if this is related to the same problem, you should have used your previous thread.  _________________ -wayne |
|
Back to top |
|
 |
Amazone |
Posted: Mon Oct 17, 2005 6:28 am Post subject: |
|
|
Novice
Joined: 17 Oct 2005 Posts: 14
|
yes, sorry.
I'll return on my first post  |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|