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 Discussion » Allowing Queue Get Operations

Post new topic  Reply to topic
 Allowing Queue Get Operations « View previous topic :: View next topic » 
Author Message
petmor
PostPosted: Sun Jul 21, 2002 2:40 pm    Post subject: Allowing Queue Get Operations Reply with quote

Apprentice

Joined: 20 Jun 2002
Posts: 45
Location: Pasadena, CA

Sorry if I've overlooked this in the MQSeries docs, but I can't find a specific reference/example displaying the SelectorsTable setting to allow MQGET operations on a queue after inhibiting them.

I should be able to inhibit MQGET with:

SelectorsTable[0] = MQIA_INHIBIT_GET;
IntAttrsTable[0] = MQQA_GET_INHIBITED;

and then applying an MQSET call. I'm thinking I can allow MQGET with:

IntAttrsTable[0] = MQQA_GET_ALLOWED;

but what does SelectorsTable[0] get set to?

This must be old hat to you all. I'm very new to MQSeries programming and just need some clarification of a few basic issues. Thanks!
Back to top
View user's profile Send private message Send e-mail AIM Address
kolban
PostPosted: Sun Jul 21, 2002 3:06 pm    Post subject: Reply with quote

Grand Master

Joined: 22 May 2001
Posts: 1072
Location: Fort Worth, TX, USA

Set it to the same thing, i.e. MQIA_INHIBIT_GET
Back to top
View user's profile Send private message
petmor
PostPosted: Sun Jul 21, 2002 5:23 pm    Post subject: Allowing Queue Get Operations Reply with quote

Apprentice

Joined: 20 Jun 2002
Posts: 45
Location: Pasadena, CA

So, to allow get operations on a get-inhibited queue, these settings are passed to MQSET:

SelectorsTable[0] = MQIA_INHIBIT_GET;
IntAttrsTable[0] = MQQA_GET_ALLOWED;

Thanks very much. I wouldn't have realized MQIA_INHIBIT_GET was once again passed to SelectorsTable[0] during the re-set without your help. I wish the docs had stated this explicitly.
Back to top
View user's profile Send private message Send e-mail AIM Address
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General Discussion » Allowing Queue Get Operations
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.