dspmqinf (display configuration information)
Display IBM MQ configuration information (UNIX and Windows only).
Purpose
Use the dspmqinf command to display IBM MQ configuration information.Syntax
Required parameters
- StanzaName
- The name of the stanza. That is, the value of the key attribute that distinguishes between multiple stanzas of the same type.
Optional parameters
- -s StanzaType
- The type of stanza to display. If omitted, the QueueManager stanza is displayed.
- -o stanza
- Displays the configuration information in stanza format as it is shown in the .ini files. This format is the default output format.
- -o command
- Displays the configuration information as an addmqinf command.
Return codes
Return code | Description |
---|---|
0 | Successful operation |
39 | Bad command-line parameters |
44 | Stanza does not exist |
58 | Inconsistent use of installations detected |
69 | Storage not available |
71 | Unexpected error |
72 | Queue manager name error |
Examples
dspmqinf QM.NAMEThe command defaults to searching for a QueueManager stanza named QM.NAME and displays it in stanza format.
QueueManager: Name=QM.NAME Prefix=/var/mqm Directory=QM!NAME DataPath=/MQHA/qmgrs/QM!NAME InstallationName=Installation1The following command gives the same result:
dspmqinf -s QueueManager -o stanza QM.NAMEThe next example displays the output in addmqinf format.
dspmqinf -o command QM.NAMEThe output is on one line:
addmqinf -s QueueManager -v Name=QM.NAME -v Prefix=/var/mqm -v Directory=QM!NAME -v DataPath=/MQHA/qmgrs/QM!NAME
Usage notes
Use dspmqinf with addmqinf to create an instance of a multi-instance queue manager on a different server.To use this command we must be an IBM MQ administrator and a member of the mqm group.
Related commands
Command | Description |
---|---|
addmqinf (add configuration information) | Add queue manager configuration information |
rmvmqinf (remove configuration information) | Remove queue manager configuration information |