| Author | 
		  Message
		 | 
		
		  | billybong | 
		  
		    
			  
				 Posted: Wed Nov 02, 2005 7:26 am    Post subject: Browsing by msgid with q.exe | 
				     | 
			   
			 
		   | 
		
		
		    Disciple
 
 Joined: 22 Jul 2005 Posts: 150 Location: Stockholm, Sweden 
  | 
		  
		    
			  
				I'm trying to browse a specific queue using q.exe and the manual says you could use a -g flag to look for a specific msgid, but I haven't been able to make it work.
 
 
I'm trying with:
 
 
q.exe -iLQ.QUEUE -mQUEUEMANAGER -dd3f -g123456789456123.....
 
 
and I've also used:
 
 
q.exe -iLQ.QUEUE -mQUEUEMANAGER -dd3f -gxmMsgid123456789456123.....
 
 
and:
 
 
q.exe -iLQ.QUEUE -mQUEUEMANAGER -dd3f -gmMsgid123456789456123.....
 
 
Sure, I can solve the problem by sending the whole browse to a file with, 
 
 
q.exe -iLQ.QUEUE -mQUEUEMANAGER -dd3f > messages.txt
 
 
, and searching with an editor. Its more out of curiosity that I'm wondering. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | wschutz | 
		  
		    
			  
				 Posted: Wed Nov 02, 2005 7:36 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Jedi Knight
 
 Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired) 
  | 
		  
		    
			  
				Try
   
	| Code: | 
   
  
	
 
q.exe -iLQ.QUEUE -mQUEUEMANAGER -dd3f -gm123456789456123..... 
 
 
 
 | 
   
 
or
   
	| Code: | 
   
  
	q.exe -iLQ.QUEUE -mQUEUEMANAGER -dd3f -gmx123456789456123..... 
 
 
 | 
   
 
 
ie...you are supposed to replace "Msgid" with the string you want to find. _________________ -wayne | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | billybong | 
		  
		    
			  
				 Posted: Wed Nov 02, 2005 7:47 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Disciple
 
 Joined: 22 Jul 2005 Posts: 150 Location: Stockholm, Sweden 
  | 
		  
		    
			  
				
   
	| wschutz wrote: | 
   
  
	Try
   
	| Code: | 
   
  
	
 
q.exe -iLQ.QUEUE -mQUEUEMANAGER -dd3f -gm123456789456123..... 
 
 
 
 | 
   
 
or
   
	| Code: | 
   
  
	q.exe -iLQ.QUEUE -mQUEUEMANAGER -dd3f -gmx123456789456123..... 
 
 
 | 
   
 
 
ie...you are supposed to replace "Msgid" with the string you want to find. | 
   
 
 
 
Should have tried that one.. I'm off to stick my head in the sand.
 
 
Actually its q.exe -iLQ.QUEUE -mQUEUEMANAGER -dd3f -gxm123456789456123.....
 
 
with gxm, not gmx. But I guess you just did a typo. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | wschutz | 
		  
		    
			  
				 Posted: Wed Nov 02, 2005 7:56 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Jedi Knight
 
 Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired) 
  | 
		  
		    
			  
				  
   
	| Quote: | 
   
  
	| But I guess you just did a typo | 
   
 
 _________________ -wayne | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | RogerLacroix | 
		  
		    
			  
				 Posted: Wed Nov 02, 2005 10:29 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Jedi Knight
 
 Joined: 15 May 2001 Posts: 3265 Location: London, ON  Canada 
  | 
		  
		    
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | billybong | 
		  
		    
			  
				 Posted: Fri Nov 04, 2005 12:25 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Disciple
 
 Joined: 22 Jul 2005 Posts: 150 Location: Stockholm, Sweden 
  | 
		  
		    
			  
				
   
	| RogerLacroix wrote: | 
   
  
	Hi,
 
 
Man that's dog ugly.  Have you looked at / tried out MQ Visual Edit ?
 
 
Regards,
 
Roger Lacroix | 
   
 
 
 
Well, q is free, vis ed isn't. End of discussion   | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | RogerLacroix | 
		  
		    
			  
				 Posted: Fri Nov 04, 2005 6:56 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Jedi Knight
 
 Joined: 15 May 2001 Posts: 3265 Location: London, ON  Canada 
  | 
		  
		    
			  
				
   
	| billybong wrote: | 
   
  
	
   
	| RogerLacroix wrote: | 
   
  
	Hi,
 
 
Man that's dog ugly.  Have you looked at / tried out MQ Visual Edit ?
 
 
Regards,
 
Roger Lacroix | 
   
 
 
 
Well, q is free, vis ed isn't. End of discussion   | 
   
 
 
Very true.  
 
 
But time is money.  MQ Visual Edit is only $99. So how many wasted hours will happen before the value of your time exceeds the price of MQ Visual Edit ?     
 
 
If you have tools that make you quicker / more efficient at doing your job, won't that make you worth more as a contractor or more valuable as an employee?    
 
 
Regards,
 
Roger Lacroix _________________ Capitalware: Transforming tomorrow into today.
 
Connected to MQ!
 
Twitter | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | Tibor | 
		  
		    
			  
				 Posted: Sat Nov 05, 2005 5:38 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Grand Master
 
 Joined: 20 May 2001 Posts: 1033 Location: Hungary 
  | 
		  
		    
			  
				Roger,
 
 
Why do you recommend the MQVE? I think the MQBT is a better replacement for q proggy.
 
 
Tibor | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | zpat | 
		  
		    
			  
				 Posted: Sat Nov 05, 2005 6:54 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Jedi Council
 
 Joined: 19 May 2001 Posts: 5867 Location: UK 
  | 
		  
		    
			  
				Plenty of free programs around as well - I use this every day:
 
 
WMQTool
 
 
www.niratul.com
 
 
(Disclaimer: I have no interest whatsoever in the above product) | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | RogerLacroix | 
		  
		    
			  
				 Posted: Sat Nov 05, 2005 2:38 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Jedi Knight
 
 Joined: 15 May 2001 Posts: 3265 Location: London, ON  Canada 
  | 
		  
		    
			  
				
   
	| Tibor wrote: | 
   
  
	| Why do you recommend the MQVE? I think the MQBT is a better replacement for q proggy. | 
   
 
 That's very true.  
 
 
   
	| zpat wrote: | 
   
  
	| Plenty of free programs around as well - I use this every day: WMQTool | 
   
 
 
 
I've tried to use WMQTool as a replacement for MQJExplorer but I just don't like the interface.
 
Also, what's with the forced registration to download a "free" tool?
 
 
Regards,
 
Roger Lacroix _________________ Capitalware: Transforming tomorrow into today.
 
Connected to MQ!
 
Twitter | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | 
		    
		   |