Date Created: Wed 30-Jan-2008

Related Document Categories:


    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

Middleware Mentor - Steven Charles Robinson

About Me

Steve Robinson has been working in IT for over 15 years and has provided solutions for many large-enterprise corporate companies across the world. Steve specialises in Java and Middleware consulting. Steve comes from both an administration and development background.

Before moving to JEE, Steve was an accomplished developer and consultant for both IBM Lotus Notes and Microsoft .NET Technologies.

Follow Steve as @stevencrobinson on twitter.

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

Oracle WebLogic Categories

JBoss Categories

Other Categories