| Author | 
		  Message
		 | 
		
		  | raja_no_1 | 
		  
		    
			  
				 Posted: Fri Nov 14, 2008 6:27 am    Post subject: Put inhibit using java | 
				     | 
			   
			 
		   | 
		
		
		    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 | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | PeterPotkay | 
		  
		    
			  
				 Posted: Fri Nov 14, 2008 6:43 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Poobah
 
 Joined: 15 May 2001 Posts: 7723
  
  | 
		  
		    
			  
				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 | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | fjb_saper | 
		  
		    
			  
				 Posted: Fri Nov 14, 2008 7:27 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Grand High Poobah
 
 Joined: 18 Nov 2003 Posts: 20768 Location: LI,NY 
  | 
		  
		    
			  
				Or just get support pack MS0B and send your pcf command via java.   _________________ MQ & Broker admin | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | PeterPotkay | 
		  
		    
			  
				 Posted: Fri Nov 14, 2008 9:26 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Poobah
 
 Joined: 15 May 2001 Posts: 7723
  
  | 
		  
		    
			  
				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 | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | fjb_saper | 
		  
		    
			  
				 Posted: Fri Nov 14, 2008 10:10 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Grand High Poobah
 
 Joined: 18 Nov 2003 Posts: 20768 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 | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | raja_no_1 | 
		  
		    
			  
				 Posted: Fri Nov 21, 2008 7:41 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Apprentice
 
 Joined: 05 Sep 2005 Posts: 34
  
  | 
		  
		    
			  
				| Thanks everyone ..that worked! | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | PeterPotkay | 
		  
		    
			  
				 Posted: Fri Nov 21, 2008 3:38 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Poobah
 
 Joined: 15 May 2001 Posts: 7723
  
  | 
		  
		    
			  
				What worked, there are 2 different solutions proposed. Which way did you go? _________________ Peter Potkay
 
Keep Calm and MQ On | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | raja_no_1 | 
		  
		    
			  
				 Posted: Sun Nov 23, 2008 3:54 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Apprentice
 
 Joined: 05 Sep 2005 Posts: 34
  
  | 
		  
		    
			  
				| I tried using MQSET MQ API ..and that worked! | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | 
		    
		   |