ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ Installation/Configuration Support » Not able to see the associated installation for Qmgr

Post new topic  Reply to topic
 Not able to see the associated installation for Qmgr « View previous topic :: View next topic » 
Author Message
pandeg
PostPosted: Tue May 26, 2015 1:18 pm    Post subject: Not able to see the associated installation for Qmgr Reply with quote

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
View user's profile Send private message
RogerLacroix
PostPosted: Tue May 26, 2015 2:51 pm    Post subject: Reply with quote

Jedi Knight

Joined: 15 May 2001
Posts: 3253
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
View user's profile Send private message Visit poster's website
fjb_saper
PostPosted: Tue May 26, 2015 3:41 pm    Post subject: Re: Not able to see the associated installation for Qmgr Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20696
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
View user's profile Send private message Send e-mail
tczielke
PostPosted: Wed May 27, 2015 4:13 am    Post subject: Reply with quote

Guardian

Joined: 08 Jul 2010
Posts: 939
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
View user's profile Send private message
fjb_saper
PostPosted: Wed May 27, 2015 4:28 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20696
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
View user's profile Send private message Send e-mail
mqjeff
PostPosted: Wed May 27, 2015 5:32 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

fjb_saper wrote:
createmqenv command


"setmqenv"...
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Installation/Configuration Support » Not able to see the associated installation for Qmgr
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.