ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ Performance Monitoring » Channel Status

Post new topic  Reply to topic
 Channel Status « View previous topic :: View next topic » 
Author Message
JimmyFo
PostPosted: Tue Aug 08, 2006 8:46 am    Post subject: Channel Status Reply with quote

Newbie

Joined: 18 Aug 2005
Posts: 6

Hi, I've been looking through the IBM library on MQ programming and through the old Redbooks and I can't find a way to monitor channel status. I would like to do polling at intervals to find if the status is running/starting/stopping/down or failed. Is there a way to do this through the MQ interface?

Thanks,
James
Back to top
View user's profile Send private message
wschutz
PostPosted: Tue Aug 08, 2006 8:49 am    Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

Standard way is to use PCF commands to the command server:
http://publib.boulder.ibm.com/infocenter/wmqv6/v6r0/index.jsp?topic=/com.ibm.mq.csqzac.doc/inqchs.htm

You can code them in "raw" C, MQAI or the Java supportpac ... (and other languages as well, like Perl)
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
jefflowrey
PostPosted: Tue Aug 08, 2006 9:13 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

The only thing you need to remember is that if the channel is "inactive", then it has no status, and you will not get back a status entry for it.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
JimmyFo
PostPosted: Tue Aug 08, 2006 11:21 am    Post subject: Reply with quote

Newbie

Joined: 18 Aug 2005
Posts: 6

Great, thanks for the replies, guys. I will look into it - this is for use within VB.Net, and I assume retrieving an error would imply the channel is not running, depending on error code returned.

Regards,
James
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Tue Aug 08, 2006 11:23 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

No. You won't get an error code if the channel is not running.

You will get back a status that indicates if the channel is running, or if it is stopped. The only state that you will NOT get a status for is if the channel is "inactive".

You will only get an error if the command server is not available, or if your PCF commands are wrong, or you don't have permissions to inquire channel status, or etc.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Performance Monitoring » Channel Status
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.