Date Created: Wed 30-Jan-2008

Related Document Categories:

Get my WebSphere MQ course here >> http://www.themiddlewareshop.com/products/


Today I learned the dspmq command.

dspmq (display queue managers)

Purpose
Use the dspmq command to display names and details of the queue managers on a system.

e.g.

-bash-3.1$ dspmq
QMNAME(venus.queue.manager) STATUS(Running)
QMNAME(my.queue.manager) STATUS(Ended immediately)

Optional parameters
-m QMgrName
The queue manager for which to display details. If you give no name, all queue manager names are displayed.

e.g.

-bash-3.1$ dspmq -m venus.queue.manager
QMNAME(venus.queue.manager) STATUS(Running)

dspmq -m my.queue.manager
QMNAME(my.queue.manager) STATUS(Ended immediately)

-s
Displays the operational status of the queue managers. This is the default status setting.
The parameter -o status is equivalent to -s.

-o all
Displays the operational status of the queue managers, and whether any are the default queue manager.
-o default
Displays whether any of the queue managers are the default queue manager.

e.g.

-bash-3.1$ dspmq -o default
QMNAME(venus.queue.manager) DEFAULT(yes)
QMNAME(my.queue.manager) DEFAULT(no)

-o status
Displays the operational status of the queue managers.

Queue Manager States
The following is a list of the different states a queue manager can be in:
Starting
Running
Quiescing
Ending immediately
Ending preemptively
Ended normally
Ended immediately
Ended unexpectedly
Ended preemptively


Return codes
0 Command completed normally
36 Invalid arguments supplied
71 Unexpected error
72 Queue manager name error

Get my WebSphere MQ course here >> http://www.themiddlewareshop.com/products/

Steve Robinson - IBM Champion 2013

About Me

Steve Robinson has been working in IT for over 20 years and has provided solutions for many large-enterprise corporate companies across the world. Steve specialises in Java and Middleware.

In January 2013, I was awarded the prestigous 'IBM Champion' accolade.


  • Linked In
  • Twitter
  • About Me
  • My Blog
  • Contact Me

Read my books?

IBM WebSphere Application Server 8.0 Administration Guide

IBM WebSphere Application Server 8.0 Administration Guide

WebSphere Application Server 7.0 Administration Guide

WebSphere Application Server 7.0 Administration Guide

WebSphere Categories

Other Categories