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 » Put inhibit using java

Post new topic  Reply to topic
 Put inhibit using java « View previous topic :: View next topic » 
Author Message
raja_no_1
PostPosted: Fri Nov 14, 2008 6:27 am    Post subject: Put inhibit using java Reply with quote

Apprentice

Joined: 05 Sep 2005
Posts: 34

Hello

Is it possible to put/get inhibit a queue using the java api..Has any one got any sample code for this?
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Fri Nov 14, 2008 6:43 am    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

Yes. Read up on the MQSET MQ API call. Links to the MQ manuals and MQ Info center are at the top of the screen.
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Fri Nov 14, 2008 7:27 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

Or just get support pack MS0B and send your pcf command via java.
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
PeterPotkay
PostPosted: Fri Nov 14, 2008 9:26 am    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

With PCF they need access to the command queue. As an MQ Admin I'd prefer to give them +set access to just their app queue versus +put to the command queue.
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Fri Nov 14, 2008 10:10 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

PeterPotkay wrote:
With PCF they need access to the command queue. As an MQ Admin I'd prefer to give them +set access to just their app queue versus +put to the command queue.


Wouldn't they get some kind or error response from the command server if they don't have the necessary authorization for the action requested in the pcf command?
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
raja_no_1
PostPosted: Fri Nov 21, 2008 7:41 am    Post subject: Reply with quote

Apprentice

Joined: 05 Sep 2005
Posts: 34

Thanks everyone ..that worked!
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Fri Nov 21, 2008 3:38 pm    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

What worked, there are 2 different solutions proposed. Which way did you go?
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
raja_no_1
PostPosted: Sun Nov 23, 2008 3:54 am    Post subject: Reply with quote

Apprentice

Joined: 05 Sep 2005
Posts: 34

I tried using MQSET MQ API ..and that worked!
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 » Put inhibit using java
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.