| Author | 
		  Message
		 | 
		
		  | Michael Dag | 
		  
		    
			  
				 Posted: Fri Nov 13, 2009 7:39 am    Post subject: dspmqver hidden feature? | 
				     | 
			   
			 
		   | 
		
		
		    Jedi Knight
 
 Joined: 13 Jun 2002 Posts: 2607 Location: The Netherlands (Amsterdam) 
  | 
		  
		    
			  
				Just stumbled upon a hidden feature of dspmqver on one of my test VM's,
 
don't know why I typed -a but see what happened... 
 
 
   
	| Code: | 
   
  
	C:\Documents and Settings\mquser>dspmqver ?
 
Usage: dspmqver [-p Components] [-f Fields] [-b] [-v]
 
 
C:\Documents and Settings\mquser>dspmqver -a
 
Name:        WebSphere MQ
 
Version:     7.0.0.0
 
CMVC level:  p000-L080610
 
BuildType:   IKAP - (Production)
 
Platform:    WebSphere MQ for Windows
 
Mode:        32-bit
 
O/S:         Windows XP, Build 2600: SP2 | 
   
 
 
 
from V7 dspmqver -a displays Platform, Mode and OS!!! 
 
 
I have not tried this on any other platform like linux, aix or solaris so if anyone has V7 on these platforms and is willing to give this a go, please post the results... _________________ Michael
 
 
 
 
 
MQSystems Facebook page | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | exerk | 
		  
		    
			  
				 Posted: Fri Nov 13, 2009 7:47 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Jedi Council
 
 Joined: 02 Nov 2006 Posts: 6339
  
  | 
		  
		    
			  
				Looks like it's an undocumented feature - it effectively rolls up dspmqver -p 31 into fewer key strokes. _________________ 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 | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | Michael Dag | 
		  
		    
			  
				 Posted: Fri Nov 13, 2009 7:57 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Jedi Knight
 
 Joined: 13 Jun 2002 Posts: 2607 Location: The Netherlands (Amsterdam) 
  | 
		  
		    
			  
				
   
	| exerk wrote: | 
   
  
	| Looks like it's an undocumented feature - it effectively rolls up dspmqver -p 31 into fewer key strokes. | 
   
 
 
 
the documenation does not specify anything beyond 16,
 
on V7.0.0.0 it does not work either, whereas -a does... 
 
 
   
	| Code: | 
   
  
	C:\Documents and Settings\mquser>dspmqver -p 31
 
AMQ7027: Argument -p supplied to command dspmqver is invalid.
 
Usage: dspmqver [-p Components] [-f Fields] [-b] [-v] | 
   
 
 _________________ Michael
 
 
 
 
 
MQSystems Facebook page | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | exerk | 
		  
		    
			  
				 Posted: Fri Nov 13, 2009 8:05 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Jedi Council
 
 Joined: 02 Nov 2006 Posts: 6339
  
  | 
		  
		    
			  
				If you add up all the possible codes, it's 31   
 
 
It displayed everything on mine:
 
 
   
	| Code: | 
   
  
	Name:        WebSphere MQ
 
Version:     7.0.1.0
 
CMVC level:  p000-L090813
 
BuildType:   IKAP - (Production)
 
Platform:    WebSphere MQ for Windows
 
Mode:        32-bit
 
O/S:         Windows XP, Build 2600: SP3
 
 
Name:        WebSphere MQ classes for Java
 
Version:     7.0.1.0
 
CMVC Level:  k000-L090724
 
Build Type:  Production
 
 
Name:        Common Services for Java Platform, Standard Edition
 
Version:     7.0.1.0
 
CMVC Level:  k000-L090724
 
Build Type:  Production
 
 
Name:        IBM WebSphere MQ
 
Version:     7.0.1.0
 
CMVC Level:  k000-L090724 mqjbnd=k000-L090724
 
Build Type:  Production
 
 
Name:        Java Message Service Client
 
Version:     7.0.1.0
 
CMVC Level:  k000-L090724
 
Build Type:  Production
 
 
Name:        WebSphere MQ classes for Java Message Service
 
Version:     7.0.1.0
 
CMVC Level:  k000-L090724
 
Build Type:  Production
 
 
DistHub Build Type:
 
DistHub Build Level: DH610-GOLD
 
Webscale Distribution Hub Core
 
 
Name:        IBM WebSphere MQ custom channel for Windows Communication Foundation
 
Version:     7.0.1.0
 
CMVC Level:  wn000-L090729
 
Build Type:  Production
 
 
 
Name:        IBM Message Service Client for .NET (XMS .NET)
 
Version:     2.0.0.0
 
CMVC Level:  nn00-L090729
 
Build Type:  Production | 
   
 
 
 
But on a Linux VM (unsupported version):
 
 
   
	| Code: | 
   
  
	Name:        WebSphere MQ
 
Version:     7.0.1.0
 
CMVC level:  p000-L090813
 
BuildType:   IKAP - (Production)
 
Platform:    WebSphere MQ for Linux (x86 platform)
 
Mode:        32-bit
 
O/S:         Linux 2.6.16.60-0.21-default
 
AMQ8351: WebSphere MQ Java environment has not been configured correctly. | 
   
 
 _________________ 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 | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | Michael Dag | 
		  
		    
			  
				 Posted: Fri Nov 13, 2009 8:11 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Jedi Knight
 
 Joined: 13 Jun 2002 Posts: 2607 Location: The Netherlands (Amsterdam) 
  | 
		  
		    
			  
				yep I see now on 7.0.1 but it also responds to anything beneath 64     in -p ... 
 
 
someone must have thought: way to complicated to document and quit at 16....    
 
 
but skipped -a in total...    _________________ Michael
 
 
 
 
 
MQSystems Facebook page | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | aditya.aggarwal | 
		  
		    
			  
				 Posted: Mon Nov 16, 2009 9:43 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Master
 
 Joined: 13 Jan 2009 Posts: 252
  
  | 
		  
		    
			  
				it is surprizing....
 
 
dspmqver Usage: 
 
 
dspmqver [-p Components] [-f Fields] [-b] [-v]
 
 
may be they forget to mention it.. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | 
		    
		   |