dmpmqcfg (dump queue manager configuration)
Dump the configuration of a queue manager.
Purpose
You can use the dmpmqcfg command to dump the configuration of a queue manager.
Syntax
Parameters
- -c string
- Specifies that a client mode connection is used to connect to the queue manager.
- -x filter
- Specifies that the procedure is filtered.
- -a
- Specifies that object definitions show all attributes.
- -s SeqNumber
- Specifies that the channel sequence number for sender, server, and cluster sender channel types is reset to the value specified.
- -z
- Specifies that the command runs in silent mode.
- -n objectNames
- Specifies that the definitions produced by object or profile name are filtered.
- -t objectType
- Specifies a single type of object to export.
- -o outputType
- Specifies the type of output for the command.
- -u userID
- If a userID is specified, a password is requested.
- -q
- Specifies the name of the reply-to queue used when configuration information is retrieved.
- -r
- Specifies the name of the remote queue manager/transmit queue when queued mode is used.
- -m
- Specifies the name of the queue manager to connect to.
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, entermqcli
on the command line. To exit the IBM MQ administration mode, enterexit
on the command line. - If any object is not at the default value, the -a option must be used if the dumped configuration is used to restore the configuration.
- The dmpmqcfg command dumps only subscriptions of type MQSUBTYPE_ADMIN, that is, only subscriptions that are created by using the MQSC command DEFINE SUB or its PCF equivalent. The output from dmpmqcfg is a runmqsc command to enable the administration subscription to be re-created. Subscriptions that are created by applications by using the MQSUB MQI call of type MQSUBTYPE_API are not part of the queue manager configuration, even if durable, and so are not dumped by dmpmqcfg.
- The user must have MQZAO_OUTPUT (+put) authority to access the command input queue (SYSTEM.ADMIN.COMMAND.QUEUE) and MQZAO_DISPLAY (+dsp) authority to access the default model queue (SYSTEM.DEFAULT.MODEL.QUEUE), to be able to create a temporary dynamic queue if the default reply queue is used. The user must also have MQZAO_CONNECT (+connect) and MQZAO_INQUIRE (+inq) authority for the queue manager, and MQZAO_DISPLAY (+dsp) authority for every object that is requested.
- For more information about this command in IBM MQ, see dmpmqcfg in the IBM MQ documentation.
Examples
- The following command dumps the queue manager configuration for a queue manager
QM1
:dmpmqcfg -m QM1