|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
inhibit get via C program |
« View previous topic :: View next topic » |
Author |
Message
|
strataguru |
Posted: Wed Jun 16, 2004 11:03 am Post subject: inhibit get via C program |
|
|
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 |
|
 |
clindsey |
Posted: Wed Jun 16, 2004 1:54 pm Post subject: |
|
|
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 |
|
 |
|
|
 |
|
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
|
|
|
|