WebSphere MQ

Debugging Channels & Connections

It is little tricky to debug channels and the connections in MQ. Below are a few invaluable commands to do the same:

DISPLAY CONN(*) TYPE(HANDLE) ALL

AMQ8276: Display Connection details.
CONN(7DB2EE5A011D0020)
EXTCONN(414D5143716D67723120202020202020)
TYPE(HANDLE)

OBJNAME(SYSTEM.CHANNEL.INITQ) OBJTYPE(QUEUE)
ASTATE(NONE) HSTATE(ACTIVE)
OPENOPTS(MQOO_INPUT_EXCLUSIVE,MQOO_SET,MQOO_FAIL_IF_QUIESCING)
READA(NO)
AMQ8276: Display Connection details.
CONN(7DB2EE5A013E0020)
EXTCONN(414D5143716D67723120202020202020)
TYPE(HANDLE)
AMQ8276: Display Connection details.
CONN(7DB2EE5A011F0020)
EXTCONN(414D5143716D67723120202020202020)
TYPE(HANDLE)

DIS CONN(7DB2EE5A02420020)
39 : DIS CONN(7DB2EE5A02420020)
AMQ8276: Display Connection details.
CONN(7DB2EE5A02420020)
EXTCONN(414D5143716D67723120202020202020)
TYPE(CONN)
PID(12123) TID(1)
APPLDESC(WebSphere MQ Channel) APPLTAG(runmqchl)
APPLTYPE(SYSTEM) ASTATE(NONE)
CHANNEL(QMGR1.QMGR2) CONNAME(10.211.176.163(1414))
CONNOPTS(MQCNO_SHARED_BINDING) USERID(mqm)
UOWLOG( ) UOWSTDA(2018-05-07)
UOWSTTI(08.40.00) UOWLOGDA( )
UOWLOGTI( ) URTYPE(QMGR)
EXTURID(XA_FORMATID[] XA_GTRID[] XA_BQUAL[])
QMURID(0.24584) UOWSTATE(ACTIVE)

DISPLAY CONN(*) ALL

41 : DISPLAY CONN(*) ALL
AMQ8276: Display Connection details.
CONN(7DB2EE5A01010020)
EXTCONN(414D5143716D67723120202020202020)
TYPE(CONN)
PID(81838) TID(1)
APPLDESC(WebSphere MQ Object Authority Manager)
APPLTAG(amqzfuma) APPLTYPE(SYSTEM)
ASTATE(NONE) CHANNEL( )
CONNAME( ) CONNOPTS(MQCNO_FASTPATH_BINDING)
USERID(mqm) UOWLOG( )
UOWSTDA( ) UOWSTTI( )
UOWLOGDA( ) UOWLOGTI( )
URTYPE(QMGR)
EXTURID(XA_FORMATID[] XA_GTRID[] XA_BQUAL[])
QMURID(0.0) UOWSTATE(NONE)
AMQ8276: Display Connection details.
CONN(7DB2EE5A02420020)
EXTCONN(414D5143716D67723120202020202020)
TYPE(CONN)
PID(12123) TID(1)
APPLDESC(WebSphere MQ Channel) APPLTAG(runmqchl)
APPLTYPE(SYSTEM) ASTATE(NONE)
CHANNEL(QMGR1.QMGR2) CONNAME(10.211.176.163(1414))
CONNOPTS(MQCNO_SHARED_BINDING) USERID(mqm)
UOWLOG( ) UOWSTDA(2018-05-07)
UOWSTTI(08.40.00) UOWLOGDA( )
UOWLOGTI( ) URTYPE(QMGR)
EXTURID(XA_FORMATID[] XA_GTRID[] XA_BQUAL[])
QMURID(0.24584) UOWSTATE(ACTIVE)
AMQ8276: Display Connection details.
CONN(7DB2EE5A01020020)
EXTCONN(414D5143716D67723120202020202020)
TYPE(CONN)
PID(81867) TID(1)
APPLDESC(WebSphere MQ Cluster Repository)
APPLTAG(amqrrmfa) APPLTYPE(SYSTEM)
ASTATE(NONE) CHANNEL( )
CONNAME( ) CONNOPTS(MQCNO_FASTPATH_BINDING)
USERID(mqm) UOWLOG( )
UOWSTDA(2018-05-07) UOWSTTI(09.45.01)
UOWLOGDA( ) UOWLOGTI( )
URTYPE(QMGR)
EXTURID(XA_FORMATID[] XA_GTRID[] XA_BQUAL[])
QMURID(0.4126) UOWSTATE(ACTIVE)

DIS CHS(QMGR1.QMGR2) ALL
43 : DIS CHS(QMGR1.QMGR2) ALL
AMQ8417: Display Channel Status details.
CHANNEL(QMGR1.QMGR2) CHLTYPE(SDR)
BATCHES(53) BATCHSZ(50)
BUFSRCVD(63) BUFSSENT(2294)
BYTSRCVD(2004) BYTSSENT(1152328)
CHSTADA(2018-05-07) CHSTATI(08.40.00)
COMPHDR(NONE,NONE) COMPMSG(NONE,NONE)
COMPRATE(0,0) COMPTIME(0,0)
CONNAME(10.211.176.163(1414)) CURLUWID(7DB2EE5A36040010)
CURMSGS(0) CURRENT
CURSEQNO(2269) EXITTIME(0,0)
HBINT(300) INDOUBT(NO)
JOBNAME(00002F5B00000001) LOCLADDR(10.211.176.162(58770))
LONGRTS(999999999) LSTLUWID(0000000000000000)
LSTMSGDA(2018-05-07) LSTMSGTI(09.37.36)
LSTSEQNO(0) MCASTAT(RUNNING)
MONCHL(OFF) MSGS(2269)
NETTIME(0,0) NPMSPEED(FAST)
RQMNAME(qmgr2) SHORTRTS(10)
SSLCERTI( ) SSLKEYDA( )
SSLKEYTI( ) SSLPEER( )
SSLRKEYS(0) STATUS(RUNNING)
STOPREQ(NO) SUBSTATE(MQGET)
XBATCHSZ(0,0) XMITQ(MYXMITQ)
XQTIME(0,0) RVERSION(08000000)
RPRODUCT(MQMM)

Below document gives a pretty good idea about the Channels/queue statistics:

MQTC_2017_WhereIsMyMessage

Leave a Reply

Your email address will not be published. Required fields are marked *