|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Trying to get Trigger status from MQINQ |
« View previous topic :: View next topic » |
Author |
Message
|
strataguru |
Posted: Tue Jun 08, 2004 3:30 pm Post subject: Trying to get Trigger status from MQINQ |
|
|
Novice
Joined: 09 Oct 2003 Posts: 14
|
Hi,
I am using the C version - invoking MQINQ.
On of the details I'd like to get back is the trigger status. Therefore I have my code set up as follows:
Select[0] = MQIA_INHIBIT_GET; /* attribute selectors */
Select[1] = MQIA_CURRENT_Q_DEPTH;
Select[2] = MQIA_OPEN_INPUT_COUNT;
Select[3] = MQIA_OPEN_OUTPUT_COUNT;
Select[4] = MQIA_TRIGGER_CONTROL;
MQINQ(Hcon, /* connection handle */
Hobj, /* object handle */
4L, /* Selector count */
Select, /* Selector array */
4L, /* integer attribute count */
IAV, /* integer attribute array */
0L, /* character attribute count */
NULL, /* character attribute array */
/* note - can use NULL because count is zero */
&CompCode, /* completion code */
&Reason); /* reason code */
The return from IAV[4] is always 0 (zero). Is MQIA_TRIGGER_CONTROL the wrong parm to ask for?
Thanks in advance!
-Robin |
|
Back to top |
|
 |
EddieA |
Posted: Tue Jun 08, 2004 3:52 pm Post subject: |
|
|
 Jedi
Joined: 28 Jun 2001 Posts: 2453 Location: Los Angeles
|
Quote: |
4L, /* Selector count */
4L, /* integer attribute count */ |
Shouldn't they be 5. You're asking for 5 values.
Cheers, _________________ Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0 |
|
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
|
|
|
|