Posted: Mon Oct 06, 2014 6:22 am Post subject: How to find Channel status of Inactive receiver channel
Knight
Joined: 25 Aug 2006 Posts: 589
We are on MQ v701
Is there any way to get the saved status of an inactive receiver channel. For example what was the last message sequence number ?
The reason for that is the sender is 12 hours different from us. When we get call from help line saying that they have seen no message, we want to know if the channel was actually running over night. I know that I can scan the MQ AMQERRxx.LOG to look for channel starting entries. But it will be nice to see a status saying the it was started and what saw the last message sequence number changed from the last display of the status.
I used 'dis chs(xxx) saved'. But found out that if the channel is not running, I got no status. Because of the time difference, it not convenience to call the sender. Any suggestion ?
Joined: 17 Nov 2005 Posts: 1002 Location: New Zealand
Doing a DIS CHS(*) SAVED is the right idea but the channel will only save the status to disc if you are moving recoverable messages. That is either a persistent message or you have NPMSPEED(NORMAL) on the channel. You could always change it to NPMSPEED(NORMAL) temporarily if you want to see every batch of messages written to disc. It will, of course, slow things down slightly. Or you could just send the occasional persistent message to cause the channel to write a status record.
The fact that you show no status suggests that this channel has *never* moved a persistent message, is this true ?
Cheers,
Paul. _________________ Paul Clarke
MQGem Software
www.mqgem.com
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum