| Author | 
		  Message
		 | 
		
		  | shankycheil | 
		  
		    
			  
				 Posted: Thu Sep 14, 2006 9:03 pm    Post subject: Query MQ Configuration for current computer using .Net | 
				     | 
			   
			 
		   | 
		
		
		   Newbie
 
 Joined: 11 Aug 2006 Posts: 9
  
  | 
		  
		    
			  
				Hi,
 
 
I have been through the manuals but could not find out how to query the MQ Series configuration on the current computer through .Net programming. Well maybe "configuration" is a strong word, what I'm looking for is a way to populate various dropdown's with a list of the Queue Managers Installed, list of Queues for a particular Queue Manager and such.
 
 
Thanks | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | elvis_gn | 
		  
		    
			  
				 Posted: Thu Sep 14, 2006 9:11 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Padawan
 
 Joined: 08 Oct 2004 Posts: 1905 Location: Dubai 
  | 
		  
		    
			  
				Hi shankycheil,
 
 
Maybe your looking for the PCF commands and jar. Try a search, i got it by googleing.
 
 
Regards. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | shankycheil | 
		  
		    
			  
				 Posted: Fri Sep 15, 2006 1:41 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Newbie
 
 Joined: 11 Aug 2006 Posts: 9
  
  | 
		  
		    
			  
				Hello elvis_gn,
 
 
Thanks for your prompt response.
 
 
google I did    
 
But I'm not one bit wiser    
 
Being new to the world of MQ and the lack of dotNet related documentation on PCFAgent & PCFMessageAgent.
 
 
Do I have any other options ?
 
 
Regards. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | jefflowrey | 
		  
		    
			  
				 Posted: Fri Sep 15, 2006 1:44 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Grand Poobah
 
 Joined: 16 Oct 2002 Posts: 19981
  
  | 
		  
		    
			  
				PCFAgent and PCFMessageAgent are java classes that are supplied in a Support Pack.
 
 
Being Java, there's no way to run them from .NET, I think.
 
 
You can build and send PCF messages in .NET.  There just aren't, that I know of, any helper classes to make it easier. _________________ I am *not* the model of the modern major general. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | wschutz | 
		  
		    
			  
				 Posted: Fri Sep 15, 2006 3:57 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Jedi Knight
 
 Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired) 
  | 
		  
		    
			  
				and PCF is NOT going to tell you which qmgrs are on a machine ... thats platform dependent   , for example, on unix you need to read & parse the mqs.ini file in /var/mqm.  On windows, you need to read the registry.... _________________ -wayne | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | jefflowrey | 
		  
		    
			  
				 Posted: Fri Sep 15, 2006 4:16 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Grand Poobah
 
 Joined: 16 Oct 2002 Posts: 19981
  
  | 
		  
		    
			  
				or, on most platforms, execute and process the output of "dspmq". _________________ I am *not* the model of the modern major general. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | shankycheil | 
		  
		    
			  
				 Posted: Fri Sep 15, 2006 4:28 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Newbie
 
 Joined: 11 Aug 2006 Posts: 9
  
  | 
		  
		    
			  
				Thank you all for your responses.
 
 
w.r.t PCFAgent and PCFMessageAgent, I do find the classes in amqmdnet.dll available under the IBM.MQ.PCF namespace. Using the object browser in VS.Net I can see the methods but what I couldn't find was documentation in this regard in the .Net manuals    
 
 
Back to the drawing board.
 
 
Regards | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | zpat | 
		  
		    
			  
				 Posted: Fri Sep 15, 2006 4:54 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Jedi Council
 
 Joined: 19 May 2001 Posts: 5867 Location: UK 
  | 
		  
		    
			  
				| Why not just read the AMQCLCHL.TAB file, assuming that it is installed on the client platform. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | wschutz | 
		  
		    
			  
				 Posted: Fri Sep 15, 2006 5:32 am    Post subject: Re: Query MQ Configuration for current computer using .Net | 
				     | 
			   
			 
		   | 
		
		
		    Jedi Knight
 
 Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired) 
  | 
		  
		    
			  
				
   
	| shankycheil wrote: | 
   
  
	Hi,
 
 
I have been through the manuals but could not find out how to query the MQ Series configuration on the current computer through .Net programming. Well maybe "configuration" is a strong word, what I'm looking for is a way to populate various dropdown's with a list of the Queue Managers Installed, list of Queues for a particular Queue Manager and such.
 
 
Thanks | 
   
 
   
	| zpat wrote: | 
   
  
	| Why not just read the AMQCLCHL.TAB file, assuming that it is installed on the client platform. | 
   
 
Sorry...I don't follow your suggestion..... _________________ -wayne | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | 
		    
		   |