| Author | 
		  Message
		 | 
		
		  | Hanuman | 
		  
		    
			  
				 Posted: Thu Sep 21, 2006 9:32 pm    Post subject: mq listner | 
				     | 
			   
			 
		   | 
		
		
		    Voyager
 
 Joined: 28 Aug 2006 Posts: 89
  
  | 
		  
		    
			  
				i have created queue and queue manger on websphere mq ver 5.3 OS sun solaris.
 
 
Now how will i know has the listner started or not.
 
 
I tried using this command DSPMQMLSR
 
 
but it gave me error
 
 
$ dspmq
 
QMNAME(QM_orf_qa01)                                      STATUS(Running)
 
$ DSPMQMLSR
 
DSPMQMLSR: not found | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | elvis_gn | 
		  
		    
			  
				 Posted: Thu Sep 21, 2006 10:45 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Padawan
 
 Joined: 08 Oct 2004 Posts: 1905 Location: Dubai 
  | 
		  
		    
			  
				Hi Parag,
 
 
This command is not supported on Windows it seems...u should check your installed directory/bin and see if it is, in Solaris....I think it is only for zOS and  iSeries.
 
 
U could try a runmqlsr and get a status of already running if u want.
 
 
Regards. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | Hanuman | 
		  
		    
			  
				 Posted: Thu Sep 21, 2006 11:11 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Voyager
 
 Joined: 28 Aug 2006 Posts: 89
  
  | 
		  
		    
			  
				| is there any method by which i can i know whethere  listnere has started or not... | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | elvis_gn | 
		  
		    
			  
				 Posted: Thu Sep 21, 2006 11:37 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Padawan
 
 Joined: 08 Oct 2004 Posts: 1905 Location: Dubai 
  | 
		  
		    
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | HubertKleinmanns | 
		  
		    
			  
				 Posted: Fri Sep 22, 2006 1:26 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Shaman
 
 Joined: 24 Feb 2004 Posts: 732 Location: Germany 
  | 
		  
		    
			  
				Hi Parag, 
 
 
on Unix try the following command:
 
 
   
	| Code: | 
   
  
	| ps -ef | grep runmqlsr | 
   
 
 _________________ Regards
 
Hubert | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | Chandra Mohan | 
		  
		    
			  
				 Posted: Sat Sep 23, 2006 7:07 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Acolyte
 
 Joined: 26 Jul 2006 Posts: 53
  
  | 
		  
		    
			  
				Some times ps -ef | grep -i runmqlsr/port # won't work to double check ping the channel of this QM from any remote queue manager.   _________________ Chandra Mohan | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | bruce2359 | 
		  
		    
			  
				 Posted: Sat Sep 23, 2006 12:49 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Guest
 
 
 
 
 
  | 
		  
		    
			  
				$ dspmq 
 
QMNAME(QM_orf_qa01) STATUS(Running) 
 
$ DSPMQMLSR 
 
DSPMQMLSR: not found
 
 
Remember, UNIX commands are case sensitive.  DSPMQLSR should have been in lower-case. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | HubertKleinmanns | 
		  
		    
			  
				 Posted: Mon Sep 25, 2006 12:04 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Shaman
 
 Joined: 24 Feb 2004 Posts: 732 Location: Germany 
  | 
		  
		    
			  
				
   
	| bruce2359 wrote: | 
   
  
	$ dspmq 
 
QMNAME(QM_orf_qa01) STATUS(Running) 
 
$ DSPMQMLSR 
 
DSPMQMLSR: not found
 
 
Remember, UNIX commands are case sensitive.  DSPMQLSR should have been in lower-case. | 
   
 
 
 
Hi never heard about tools or programs called DSPMQMLSR, DSPMQLSR, dspmqmlsr or dspmqlsr. Did I miss something? _________________ Regards
 
Hubert | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | fjb_saper | 
		  
		    
			  
				 Posted: Mon Sep 25, 2006 3:05 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Grand High Poobah
 
 Joined: 18 Nov 2003 Posts: 20768 Location: LI,NY 
  | 
		  
		    
			  
				I'm thinking here AS400 ?? Consistent with upper case syntax and somewhat different name...(DSPMQMLSR)... _________________ MQ & Broker admin | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | HubertKleinmanns | 
		  
		    
			  
				 Posted: Mon Sep 25, 2006 4:09 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Shaman
 
 Joined: 24 Feb 2004 Posts: 732 Location: Germany 
  | 
		  
		    
			  
				
   
	| fjb_saper wrote: | 
   
  
	| I'm thinking here AS400 ?? Consistent with upper case syntax and somewhat different name...(DSPMQMLSR)... | 
   
 
 
 
I also did not found this command in the AS400 docs ... _________________ Regards
 
Hubert | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | Toronto_MQ | 
		  
		    
			  
				 Posted: Mon Sep 25, 2006 4:33 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Master
 
 Joined: 10 Jul 2002 Posts: 263 Location: read my name 
  | 
		  
		    
			  
				It's actually WRKMQMLSR and yes, it's only valid on the AS/400.
 
 
   
	| Quote: | 
   
  
	
 
Work with MQ Listeners (WRKMQMLSR)
 
 
The Work with MQ Listener objects (WRKMQMLSR) command allows you to work with listener objects which are defined on the local queue manager.
 
 
This enables you to change, copy, create, delete, start, stop, and display listener objects display and change authority to an MQ listener object.
 
 
This command also enables you to view the current status of all running listeners on the current system.
 
 | 
   
 
 
 
As for Unix, we always just use 'ps -fe | grep runmqlsr' if it's runmqlsr or a v6 listener object (of course if it's v6 you can always use 'dis lsstatus(*)' in runmqsc) or check /etc/inetd.conf and /etc/services if you're still using inetd, which you should think twice about if you are.
 
 
Cheers
 
Steve | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | anthony.barnes | 
		  
		    
			  
				 Posted: Mon Sep 25, 2006 10:45 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Apprentice
 
 Joined: 01 Jul 2003 Posts: 26 Location: Oak Brook, Illinois 
  | 
		  
		    
			  
				
   
	| Hanuman wrote: | 
   
  
	| is there any method by which i can i know whethere  listnere has started or not... | 
   
 
 
 
As a validation test you could try connecting to the port the listener is suppose to be listening on.  From the local system you could use telnet along the lines of
 
 
   
	| Code: | 
   
  
	| telnet localhost 1414 | 
   
 
 | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | HubertKleinmanns | 
		  
		    
			  
				 Posted: Mon Sep 25, 2006 11:05 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Shaman
 
 Joined: 24 Feb 2004 Posts: 732 Location: Germany 
  | 
		  
		    
			  
				
   
	| anthony.barnes wrote: | 
   
  
	
   
	| Hanuman wrote: | 
   
  
	| is there any method by which i can i know whethere  listnere has started or not... | 
   
 
 
 
As a validation test you could try connecting to the port the listener is suppose to be listening on.  From the local system you could use telnet along the lines of
 
 
   
	| Code: | 
   
  
	| telnet localhost 1414 | 
   
 
 | 
   
 
 
 
But be carefully on (properly monitored) live systems. The telnet generates an entry in the error logs of the QMgr, such as 
 
   
	| Quote: | 
   
  
	-------------------------------------------------------------------------------
 
09/26/06 08:57:23 - Process(9229.12) User(mquser) Program(amqrmppa)
 
AMQ9207: The data received from host 'testpc (x.x.x.x)' is not valid.
 
 
EXPLANATION:
 
Incorrect data format received from host 'testpc (x.x.x.x)' over TCP/IP.
 
It may be that an unknown host is attempting to send data. An FFST file has
 
been generated containing the invalid data received.
 
ACTION:
 
Tell the systems administrator.
 
----- amqccita.c : 3371 -------------------------------------------------------
 
09/26/06 08:57:24 - Process(9229.12) User(mquser) Program(amqrmppa)
 
AMQ9492: The TCP/IP responder program encountered an error.
 
 
EXPLANATION:
 
The responder program was started but detected an error.
 
ACTION:
 
Look at previous error messages in the error files to determine the error
 
encountered by the responder program.
 
 | 
   
 
 
 
Maybe afterwards you'll get an incident or whatever  .
 
 
You will also the same entry in the global error logs (on /var/mqm/errors) and a FDC file  . _________________ Regards
 
Hubert | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | 
		    
		   |