| Author | 
		  Message
		 | 
		
		  | mnance | 
		  
		    
			  
				 Posted: Thu Feb 15, 2007 2:01 pm    Post subject: 6.0 AMQMDAIN.EXE and Create Listener | 
				     | 
			   
			 
		   | 
		
		
		    Apprentice
 
 Joined: 15 Aug 2002 Posts: 44
  
  | 
		  
		    
			  
				How do you script creating a listener service in v6.0??  The amqmdain.exe used to offer this functionality.  On a clean install after configuring the Qmgr via a script I do not have a Listener defined. _________________ Salvation can only be achieved through Jesus Christ, our Lord and Saviour. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | fjb_saper | 
		  
		    
			  
				 Posted: Thu Feb 15, 2007 3:01 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Grand High Poobah
 
 Joined: 18 Nov 2003 Posts: 20768 Location: LI,NY 
  | 
		  
		    
			  
				Use MQSC with def lstnr    _________________ MQ & Broker admin | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | JoePanjang | 
		  
		    
			  
				 Posted: Thu Feb 15, 2007 6:25 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Voyager
 
 Joined: 10 Jul 2002 Posts: 88 Location: Dengkil MALAYSIA 
  | 
		  
		    
			  
				MQv6 on Windows -
 
 
ABC QueueManagerName Port#
 
 
in the ABC.bat file -
 
-----------------------------------
 
amqmdain qmgr start %1
 
echo define listener(LIST.TCP) trptype(TCP) port(%2) control(QMGR) | runmqsc %1
 
echo start listener(LIST.TCP) | runmqsc %1
 
-------------------------------------
 
 
   _________________ Every good deed is charity... | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | mnance | 
		  
		    
			  
				 Posted: Fri Feb 16, 2007 4:59 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Apprentice
 
 Joined: 15 Aug 2002 Posts: 44
  
  | 
		  
		    
			  
				Thank you gents...I will give it a shot! _________________ Salvation can only be achieved through Jesus Christ, our Lord and Saviour. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | exerk | 
		  
		    
			  
				 Posted: Fri Feb 16, 2007 7:30 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Jedi Council
 
 Joined: 02 Nov 2006 Posts: 6339
  
  | 
		  
		    
			  
				You could also put it in the build-deck (MQS file) used to populate the queue manager, if that's how you do it. _________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | 
		    
		   |