ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General IBM MQ Support » Trying to get Trigger status from MQINQ

Post new topic  Reply to topic
 Trying to get Trigger status from MQINQ « View previous topic :: View next topic » 
Author Message
strataguru
PostPosted: Tue Jun 08, 2004 3:30 pm    Post subject: Trying to get Trigger status from MQINQ Reply with quote

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
View user's profile Send private message
EddieA
PostPosted: Tue Jun 08, 2004 3:52 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » Trying to get Trigger status from MQINQ
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.