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 » Mainframe, CICS, TXSeries » Display Channel Status on OS/390

Post new topic  Reply to topic
 Display Channel Status on OS/390 « View previous topic :: View next topic » 
Author Message
jigjim
PostPosted: Wed Jun 02, 2004 7:46 am    Post subject: Display Channel Status on OS/390 Reply with quote

Apprentice

Joined: 30 Mar 2004
Posts: 41

Hi,

I am using Client Connection (Java) to execute MQSC commands on MQ on OS/390

When I execute the command "DISPLAY CHANNEL (*)" I get all the channels (distinct) defined on the system. However I cannot get the "status" of each channel.

When I do the other command "DISPLAY CHSTATUS(*)" I see the current status of channels listed. However I dont get all the channels listed by the previous command. Also i get statuses of each and every instance for a given channel name.

Is there any way I can use these commands jointly to determine the status of each Channel For channel that have multiple instances i can pick any one randomly.

Thanks

Jigs
Back to top
View user's profile Send private message
mqonnet
PostPosted: Wed Jun 02, 2004 7:59 am    Post subject: Reply with quote

Grand Master

Joined: 18 Feb 2002
Posts: 1114
Location: Boston, Ma, Usa.

You would have channel status for the channels that have been started at least once. If they are current, you would see the status. If they have been started sometime else, you could use dis chs(*) saved to display the saved info.

But again, why do you need to club both commands?????


dis chs(*) would show what is running. And dis chl(*) would show all the channels defined.

I dont see any purpose of using the two together(clubbed, somehow)!!!

Cheers
Kumar
_________________
IBM Certified WebSphere MQ V5.3 Developer
IBM Certified WebSphere MQ V5.3 Solution Designer
IBM Certified WebSphere MQ V5.3 System Administrator
Back to top
View user's profile Send private message Send e-mail Visit poster's website
EddieA
PostPosted: Wed Jun 02, 2004 8:52 am    Post subject: Reply with quote

Jedi

Joined: 28 Jun 2001
Posts: 2453
Location: Los Angeles

The only status that doesn't show with DIS CHS(*) is Inactive.

Cheers,
_________________
Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0
Back to top
View user's profile Send private message
jigjim
PostPosted: Wed Jun 02, 2004 9:36 am    Post subject: Reply with quote

Apprentice

Joined: 30 Mar 2004
Posts: 41

My Requirements are to publish of names of all the channels that are defined {DIS CHL (*) } and their current status { DIS CHS(..) }

Is it possible? Is there a descent way to do it?

Thanks

Jignesh
Back to top
View user's profile Send private message
mqonnet
PostPosted: Wed Jun 02, 2004 9:49 am    Post subject: Reply with quote

Grand Master

Joined: 18 Feb 2002
Posts: 1114
Location: Boston, Ma, Usa.

Well, if you dont get a channel status for a particular channel just mark it is "blank", may be, in your design. For all those channels which have a current state you could use it as is.

Just a thought!!!

Cheers
Kumar
_________________
IBM Certified WebSphere MQ V5.3 Developer
IBM Certified WebSphere MQ V5.3 Solution Designer
IBM Certified WebSphere MQ V5.3 System Administrator
Back to top
View user's profile Send private message Send e-mail Visit poster's website
EddieA
PostPosted: Wed Jun 02, 2004 11:14 am    Post subject: Reply with quote

Jedi

Joined: 28 Jun 2001
Posts: 2453
Location: Los Angeles

And don't forget that you can have multiple incoming connections using the same channel definition. Especially for SeverConns. Each of these will have their own status returned by DIS CHS(*).

Cheers,
_________________
Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0
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 » Mainframe, CICS, TXSeries » Display Channel Status on OS/390
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.