From WMQ Explorer or any of the client desktop tools, find the open input queue descriptor. In the default view for WMQ Explorer, the first two columns are the name and type of the queue. After that there are several columns with numbers. The first is the depth of the queue. Next, indicate the number of open input handles, and then the number of open output descriptors. If you right-click on the queue name, the Status option will appear. When you select this, you will see many details about the handles, for example, who opens them, what open parameters were used, the PID that holds the handle, etc.
If you want to do this on the command line, you must use runmqsc and the qstatus display command. For instance:
echo 'dis qs (SYSTEM.ADMIN.COMMAND.QUEUE) type (handle) all' | runmqsc TESTQMGR
5724-H72 (C) Copyright IBM Corp. 1994, 2009. ALL RIGHTS RESERVED.
Starting MQSC for queue manager TESTQM.
AMQ8450: Display queue status details.
QUEUE(SYSTEM.ADMIN.COMMAND.QUEUE) TYPE(HANDLE)
APPLDESC( )
APPLTAG(er V7\java\jre\bin\javaw.exe)
APPLTYPE(USER) BROWSE(NO)
CHANNEL( ) CONNAME( )
ASTATE(NONE) HSTATE(INACTIVE)
INPUT(NO) INQUIRE(NO)
OUTPUT(YES) PID(6236)
QMURID(0.0) SET(NO)
TID(*)
URID(XA_FORMATID[00000000] XA_GTRID[] XA_BQUAL[])
URTYPE(QMGR) USERID(T.Rob@IBM-02BE93E63E4)
AMQ8450: Display queue status details.
QUEUE(SYSTEM.ADMIN.COMMAND.QUEUE) TYPE(HANDLE)
APPLDESC( )
APPLTAG(er V7\java\jre\bin\javaw.exe)
APPLTYPE(USER) BROWSE(NO)
CHANNEL( ) CONNAME( )
ASTATE(NONE) HSTATE(INACTIVE)
INPUT(NO) INQUIRE(YES)
OUTPUT(NO) PID(6236)
QMURID(0.0) SET(NO)
TID(*)
URID(XA_FORMATID[00000000] XA_GTRID[] XA_BQUAL[])
URTYPE(QMGR) USERID(T.Rob@IBM-02BE93E63E4)
AMQ8450: Display queue status details.
QUEUE(SYSTEM.ADMIN.COMMAND.QUEUE) TYPE(HANDLE)
APPLDESC(WebSphere MQ Command Server)
APPLTAG(ebSphere MQ\bin\amqpcsea.exe)
APPLTYPE(SYSTEM) BROWSE(NO)
CHANNEL( ) CONNAME( )
ASTATE(NONE) HSTATE(ACTIVE)
INPUT(EXCL) INQUIRE(YES)
OUTPUT(NO) PID(5556)
QMURID(0.0) SET(NO)
TID(1)
URID(XA_FORMATID[00000000] XA_GTRID[] XA_BQUAL[])
URTYPE(QMGR)
1 MQSC commands read.
One command has a syntax error.
All valid MQSC commands were processed.
Java C, PCF, " ", , , .
DIS QS : http://bit.ly/WMQdisQS
WMQ, : http://bit.ly/SupportPacMQC7