dspmqbrk (Display broker status)

Purpose

Use the dspmqbrk command to display the status of a broker. On iSeries, the command name is DSPMQMBRK. The status value returned from this command can be one of:

Syntax

AIX, HP-UX, Linux, Solaris, and Windows

Read syntax diagramSkip visual syntax diagram>>-dspmqbrk--+--------------+----------------------------------><
             '- -m QMgrName-'

Optional parameters

AIX, HP-UX, Linux, Solaris, and Windows

-m QMgrName
The name of the queue manager for which the broker status is to be displayed. If you do not specify this parameter, the command applies to the default queue manager.

Syntax

iSeries

Read syntax diagramSkip visual syntax diagram>>-DSPMQMBRK--+--------------------+---------------------------><
              '- MQMNAME(QMgrName)-'

Optional parameters

iSeries

MQMNAME(QMgrName)
The name of the queue manager for which the broker status is to be displayed. If you do not specify this parameter, the command applies to the default queue manager.

Return codes

0
Command completed normally
10
Command completed with unexpected results
20
An error occurred during processing

Examples

dspmqbrk Displays information about the broker on the default queue manager.
dspmqbrk -m exampleQM Displays information about the broker on exampleQM.