Finding installations of IBM MQ on a system

If we have multiple IBM MQ installations on a system, we can check which versions are installed and where they are.

We can use the following methods to find the IBM MQ installations on the system:

  • Use the dspmqver command. This command does not provide details of all installations on a system if it is issued from a Version 7.0.1 installation.
  • Use the platform installation tools to query where IBM MQ has been installed. Then use the dspmqver command from a Version 7.1 or later installation. The following commands are examples of commands we can use to query where IBM MQ has been installed:

    • On AIX systems, we can use the lslpp command:
      lslpp -R ALL -l mqm.base.runtime
      
    • On Linux systems, we can use the rpm command:
      rpm -qa --qf "%{NAME}-%{VERSION}-%{RELEASE}\t%{INSTPREFIXES}\n" | grep MQSeriesRuntime
      
    • On Windows systems, we can use the wmic command. This command might install the wmic client:
      wmic product where "(Name like '%MQ%') AND (not Name like '%bitSupport')" get Name, Version, InstallLocation
      

  • On UNIX and Linux systems, issue the following command to find out where IBM MQ has been installed:
    cat /etc/opt/mqm/mqinst.ini
    
    Then use the dspmqver command from a Version 7.1 or later installation.
  • To display details of installations on the system, on 32-bit Windows, issue the following command:
    reg.exe query "HKEY_LOCAL_MACHINE\SOFTWARE\IBM\WebSphere MQ\Installation" /s
    
  • On 64-bit Windows, issue the following command:
    reg.exe query "HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\IBM\WebSphere MQ\Installation" /s
    

The reg.exe command only displays information for Version 7.1 or later installations.

Parent topic: Configure multiple installations


Related information