Tuesday, April 29, 2008

When was the Channel last used?

There are times when we need to check when was the channel last used. Perhaps to before a shutdown or etc...

Here's how..

 
dis chs(*) lstmsgda lstmsgti
7 : dis chs(*) lstmsgda lstmsgti
AMQ8417: Display Channel Status details.
CHANNEL(xxx) CHLTYPE(RCVR)
CONNAME(10.216.121.2) CURRENT
LSTMSGDA(2007-07-06) LSTMSGTI(11.36.42)
RQMNAME(xx1) STATUS(RUNNING)
SUBSTATE(RECEIVE) XMITQ( )
AMQ8417: Display Channel Status details.
CHANNEL(yyy) CHLTYPE(RCVR)
CONNAME(10.216.121.2) CURRENT
LSTMSGDA(2007-07-06) LSTMSGTI(11.36.42)
RQMNAME(xx1) STATUS(RUNNING)
SUBSTATE(RECEIVE) XMITQ( )
AMQ8417: Display Channel Status details.
CHANNEL(xxx) CHLTYPE(SDR)
CONNAME(name(1415)) CURRENT
LSTMSGDA(2007-07-06) LSTMSGTI(11.11.48)
RQMNAME(xx1) STATUS(RUNNING)
SUBSTATE(MQGET) XMITQ(xx.queue)
AMQ8417: Display Channel Status details.
CHANNEL(yyy) CHLTYPE(SDR)
CONNAME(name(1415)) CURRENT
LSTMSGDA(2007-07-06) LSTMSGTI(11.11.35)
RQMNAME(yy1) STATUS(RUNNING)
SUBSTATE(MQGET) XMITQ(yy.queue)

No comments: