|  | 
 
  
    | RSS Feed - WebSphere MQ Support | RSS Feed - Message Broker Support |  
 
  
	|    |  |  
  
	| QMgr Finder | « View previous topic :: View next topic » |  
  	| 
		
		
		  | Author | Message |  
		  | vjsony | 
			  
				|  Posted: Wed Apr 09, 2003 11:23 am    Post subject: QMgr Finder |   |  |  
		  |  Apprentice
 
 
 Joined: 01 Aug 2001Posts: 45
 
 
 | 
			  
				| Hi there, 
 I need to write a script that will tell me all the queue managers installed on a system.
 
 Possibly also queue managers on a set of nodes
 
 How do i go about this?
 is there a script already available??
 
 
 do reply.
 
 Thanks
 
 VJ
 |  |  
		  | Back to top |  |  
		  |  |  
		  | mqonnet | 
			  
				|  Posted: Wed Apr 09, 2003 11:31 am    Post subject: |   |  |  
		  |  Grand Master
 
 
 Joined: 18 Feb 2002Posts: 1114
 Location: Boston, Ma, Usa.
 
 | 
			  
				| Not aware of any such script.  It may be around. 
 Other than Windows, i think on all other platforms it isnt a difficult task.  Read through the mqs.ini file for "Name" stanza.  This would give you all the qms on a particular node.  You can modify this script to read this file on all other nodes.
 
 On Windows though, you might have to read through the registry.
 
 Hope this helps.
 
 Cheers
 Kumar
 _________________
 IBM Certified WebSphere MQ V5.3 Developer
 IBM Certified WebSphere MQ V5.3 Solution Designer
 IBM Certified WebSphere MQ V5.3 System Administrator
 |  |  
		  | Back to top |  |  
		  |  |  
		  | ping master | 
			  
				|  Posted: Thu Apr 10, 2003 9:13 am    Post subject: |   |  |  
		  |  Centurion
 
 
 Joined: 20 Sep 2002Posts: 116
 Location: USA
 
 | 
			  
				| What Platform and MQ ver are you running.  I'm not aware of any script that can retrieve all existing Qmgr's, however I think mqonnet is right, you could get this from the registry or even in the given path i.e. C:\Program Files\IBM\WebSphere MQ\Qmgrs 
 here it would list all qmgrs.  this is on XP/5.3 by the way
 
 
 
 $ PM
 |  |  
		  | Back to top |  |  
		  |  |  
		  | vennela | 
			  
				|  Posted: Thu Apr 10, 2003 9:44 am    Post subject: |   |  |  
		  |  Jedi Knight
 
 
 Joined: 11 Aug 2002Posts: 4055
 Location: Hyderabad, India
 
 | 
			  
				| Why not use "dspmq" command. It works on most of the platforms. 
 -------
 Venny
 |  |  
		  | Back to top |  |  
		  |  |  
		  | ping master | 
			  
				|  Posted: Thu Apr 10, 2003 9:59 am    Post subject: |   |  |  
		  |  Centurion
 
 
 Joined: 20 Sep 2002Posts: 116
 Location: USA
 
 | 
			  
				| or if you are using As400, you can use WRKMQM to list all the qmgrs |  |  
		  | 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
 
 |  |  |  |