dspmqinst

Display installation entries from mqinst.ini on UNIX, Linux®, and Windows.

Purpose

File mqinst.ini contains information about all IBM® MQ installations on a system. For more information about mqinst.ini, see Installation configuration file, mqinst.ini.

Syntax

Read syntax diagramSkip visual syntax diagram dspmqinst -pInstallationPath-nInstallationName-pInstallationPath-nInstallationName1-nInstallationName-pInstallationPath1
Notes:
  • 1 When specified together, the installation name and installation path must refer to the same installation.

Required parameters

None

Optional parameters

-n InstallationName
The name of the installation.
-p InstallationPath
The installation path.
?
Display usage information.

Return codes

Return code Description
0 Entry displayed without error
36 Invalid arguments supplied
44 Entry does not exist
59 Invalid installation specified
71 Unexpected error
89 .ini file error
96 Could not lock .ini file
131 Resource problem

Examples

  1. Display details of all IBM MQ installations on the system:
    
    dspmqinst
    
  2. Query the entry for the installation named Installation3:
    
    dspmqinst -n Installation3
    
  3. Query the entry with an installation path of /opt/mqm:
    
    dspmqinst -p /opt/mqm
    
  4. Query the entry for the installation named Installation3. Its expected installation path is /opt/mqm:
    
    dspmqinst -n Installation3 -p /opt/mqm