长石

UNIX , Linux®和 Windows上显示来自 mqinst.ini 的安装条目。

用途

文件 mqinst.ini 包含有关系统上所有 IBM® MQ 安装的信息。 有关 mqinst.ini的更多信息,请参阅 安装配置文件 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.

必需参数

None

可选参数

-n InstallationName
安装的名称。
-p InstallationPath
安装路径。
?
显示用法信息。

返回码

返回码 描述
0 显示的条目没有错误
36 提供的参数无效
44 条目不存在
59 指定的安装无效
71 意外错误
89 .ini 文件错误
96 无法锁定 .ini 文件
131 资源问题

示例

  1. 显示系统上所有 IBM MQ 安装的详细信息:
    dspmqinst
    
  2. 查询名为 Installation3的安装的条目:
    dspmqinst -n Installation3
    
  3. 查询安装路径为 /opt/mqm的条目:
    dspmqinst -p /opt/mqm
    
  4. 查询名为 Installation3的安装的条目。 其预期安装路径为 /opt/mqm:
    dspmqinst -n Installation3 -p /opt/mqm