| Author | 
		  Message
		 | 
		
		  | pandeg | 
		  
		    
			  
				 Posted: Tue May 26, 2015 1:18 pm    Post subject: Not able to see the associated installation for Qmgr | 
				     | 
			   
			 
		   | 
		
		
		   Disciple
 
 Joined: 21 Oct 2014 Posts: 195
  
  | 
		  
		    
			  
				Hi, I have two different version of MQ installed on my linux machine (ver 7.0.1.9 and 8.0.0.2). Queue Manager which was created in ver 7.0.1.9 is now associated to version 8.0.0.2 but I am not able to display when I am using below command.
 
 
dspmq -o installation -m QM1
 
 
It gives me below error message : 
 
AMQ7024: Arguments supplied to a command are not valid.
 
Usage: dspmq [-n] [-m QMgrName] [-o status | -s] [-o default] [-o standby] [-x]
 
 
Edit by exerk: Duplicate of this post removed. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | RogerLacroix | 
		  
		    
			  
				 Posted: Tue May 26, 2015 2:51 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Jedi Knight
 
 Joined: 15 May 2001 Posts: 3265 Location: London, ON  Canada 
  | 
		  
		    
			  
				Did you check the MQ Knowledge Center?  Or get help from the command?
 
   
	| Code: | 
   
  
	dspmq -h
 
AMQ7024: Arguments supplied to a command are not valid.
 
Usage: dspmq [-n] [-m QMgrName] [-o status | -s] [-o default]
 
             [-o standby] [-o installation] [-x]
 
 
 -m   Queue manager name.
 
 -n   Suppress translation of output strings.
 
 -o all
 
      Display all status information for the queue managers.
 
 -o status
 
      Display the operational status of the queue managers.
 
 -o default
 
      Display whether any of the queue managers are the default.
 
 -o standby
 
      Display whether a queue manager currently permits a standby instance.
 
 -o installation
 
      Display the installation details of the queue managers.
 
 -s   Display the operational status of the queue managers.
 
 -x   Display information about instances of queue managers. | 
   
 
 
So, does your '-o' parameter match what the manual says?
 
 
Regards,
 
Roger Lacroix
 
Capitalware Inc. _________________ Capitalware: Transforming tomorrow into today.
 
Connected to MQ!
 
Twitter | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | fjb_saper | 
		  
		    
			  
				 Posted: Tue May 26, 2015 3:41 pm    Post subject: Re: Not able to see the associated installation for Qmgr | 
				     | 
			   
			 
		   | 
		
		
		    Grand High Poobah
 
 Joined: 18 Nov 2003 Posts: 20768 Location: LI,NY 
  | 
		  
		    
			  
				
   
	| pandeg wrote: | 
   
  
	Hi, I have two different version of MQ installed on my linux machine (ver 7.0.1.9 and 8.0.0.2). Queue Manager which was created in ver 7.0.1.9 is now associated to version 8.0.0.2 but I am not able to display when I am using below command.
 
 
dspmq -o installation -m QM1
 
 
It gives me below error message : 
 
AMQ7024: Arguments supplied to a command are not valid.
 
Usage: dspmq [-n] [-m QMgrName] [-o status | -s] [-o default] [-o standby] [-x]
 
 
Edit by exerk: Duplicate of this post removed. | 
   
 
 
Did you try it after putting the parameters in the order specified by the manual as well as the help?   _________________ MQ & Broker admin | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | tczielke | 
		  
		    
			  
				 Posted: Wed May 27, 2015 4:13 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Guardian
 
 Joined: 08 Jul 2010 Posts: 943 Location: Illinois, USA 
  | 
		  
		    
			  
				It looks like maybe you are picking up the 7.0.1 dspmq version that does not understand "-o installation"?  
 
 
The following command is valid on a multi installation version like 8.0.0.2:
 
 
dspmq -o installation -m QM1
 
 
returns:
 
 
QMNAME(QM1)                               INSTNAME(Installation1) INSTPATH(/opt/mqm) INSTVER(8.0.0.2) _________________ Working with MQ since 2010. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | fjb_saper | 
		  
		    
			  
				 Posted: Wed May 27, 2015 4:28 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Grand High Poobah
 
 Joined: 18 Nov 2003 Posts: 20768 Location: LI,NY 
  | 
		  
		    
			  
				  The output displayed for dspmq help looks like the output from the 7.0.1.x version.
 
 
Make sure you have run the correct createmqenv command before running any command against a qmgr...   _________________ MQ & Broker admin | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | mqjeff | 
		  
		    
			  
				 Posted: Wed May 27, 2015 5:32 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Grand Master
 
 Joined: 25 Jun 2008 Posts: 17447
  
  | 
		  
		    
			  
				
   
	| fjb_saper wrote: | 
   
  
	| createmqenv command  | 
   
 
 
 
"setmqenv"... 
 
      | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | 
		    
		   |