dspmqini (display mq ini)

Display attributes from the qm.ini or mqat.ini file of a specified queue manager. Display attributes from the mqs.ini file.

Purpose

You can use the dspmqini command to display the qm.ini or mqat.ini file for a queue manager. You can also view the mqs.ini file.

Syntax

Read syntax diagramSkip visual syntax diagram dspmqini -m QMgrName -sStanza-nServiceName-kKeyName

Parameters

-m QMgrName
Specifies that the configuration file that is associated with the specified queue manager is displayed.
If you do not specify any further parameters, the command displays all of the stanzas and values for the queue manager.
-s Stanza
Specifies which stanza of the file is displayed.
Valid values for Stanza are the following values for the qm.ini file:
  • Log
  • TCP
  • Channels
  • DiagnosticMessages
  • InstanceData
  • TuningParameters
  • SSL
  • Security
  • Subpool
  • AutoConfig
  • AutoCluster
  • Variables
The following value for Stanza is valid for the mqat.ini file:
  • AllActivityTrace
The following values for Stanza are valid for the mqs.ini file:
  • DiagnosticSystemMessages
  • DiagnosticMessagesTemplate
If you do not specify any further parameters, the command displays the values for the stanza specified.
-n ServiceName
For DiagnosticSystemMessages, DiagnosticMessages, and DiagnosticMessagesTemplate stanzas, specifies the name of the service being displayed.
-k KeyName
Specifies which key (attribute) of the stanza is displayed. (See setmqini (set mq ini) for more information about valid keys.)

Usage notes

  • This command must be run from the IBM® MQ administration mode. If the system is in the IBM MQ administration mode the prompt includes mqa(mqcli)#. To enter the IBM MQ administration mode, enter mqcli on the command line. To exit the IBM MQ administration mode, enter exit on the command line.

Examples

  • The following command displays the key names and values in the Log stanza of the qm.ini file of queue manager QM1:
    dspmqini -m QM1 -s Log
    
  • The following command displays the value of the key name ClusterQueueAccessControl in the Security stanza of the qm.ini file of queue manager QM1:
    dspmqini -m QM1 -s Security -k ClusterQueueAccessControl
    
  • The following command displays the DiagnosticMessages stanza of the service named Filtered that has been defined for queue manager QM1:
    dspmqini -m QM1 -s DiagnosticMessages -n Filtered

Related commands