|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Display Channel Status on OS/390 |
« View previous topic :: View next topic » |
Author |
Message
|
jigjim |
Posted: Wed Jun 02, 2004 7:46 am Post subject: Display Channel Status on OS/390 |
|
|
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 |
|
 |
mqonnet |
Posted: Wed Jun 02, 2004 7:59 am Post subject: |
|
|
 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 |
|
 |
EddieA |
Posted: Wed Jun 02, 2004 8:52 am Post subject: |
|
|
 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 |
|
 |
jigjim |
Posted: Wed Jun 02, 2004 9:36 am Post subject: |
|
|
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 |
|
 |
mqonnet |
Posted: Wed Jun 02, 2004 9:49 am Post subject: |
|
|
 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 |
|
 |
EddieA |
Posted: Wed Jun 02, 2004 11:14 am Post subject: |
|
|
 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 |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|