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 » inhibit get via C program

Post new topic  Reply to topic
 inhibit get via C program « View previous topic :: View next topic » 
Author Message
strataguru
PostPosted: Wed Jun 16, 2004 11:03 am    Post subject: inhibit get via C program Reply with quote

Novice

Joined: 09 Oct 2003
Posts: 14

Hi,

I currently have a C program that disables triggering.

I've done some research - but can't update the program properly to disable get.

Here is my logic for disabling triggering:

Select[0] = MQIA_TRIGGER_CONTROL;
IAV[0] = MQTC_OFF;
MQSET(Hcon,
Hobj,
1L,
Select,
1L,
IAV,
0L,
NULL,
&CompCode,
&Reason);


Any help MUCH appreciated.
Thanks!
Back to top
View user's profile Send private message
clindsey
PostPosted: Wed Jun 16, 2004 1:54 pm    Post subject: Reply with quote

Knight

Joined: 12 Jul 2002
Posts: 586
Location: Dallas, Tx

Code:

Select[0] = MQIA_INHIBIT_GET;
IAV[0]    = MQQA_GET_INHIBITED;

      MQSET(hCon,            /* connection handle                 */
            hObj,            /* object handle                     */
            1,              /* Selector count                    */
            Select,          /* Selector array                    */
            1,              /* integer attribute count           */
            IAV,             /* integer attribute array           */
            0,              /* character attribute count         */
            NULL,            /* character attribute array         */
            /*  note - can use NULL because count is zero         */
            &compCode,       /* completion code                   */
            &reason);        /* reason code                       */

Charlie

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 » inhibit get via C program
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.