Author |
Message
|
liv4jc |
Posted: Wed Jul 06, 2005 9:40 am Post subject: qmanager, channel, and queue statuses |
|
|
Newbie
Joined: 06 Jul 2005 Posts: 3
|
Is there a documented list of all possible statuses for the following?
queue managers (returned from the dspmq command)
channels (returned from DIS CHS() in mqsc)
queues (returned from DIS QUEUE() in mqsc)
I can't seem to find such a list in the documentation. Help is appreciated. |
|
Back to top |
|
 |
mq_crazy |
Posted: Wed Jul 06, 2005 9:42 am Post subject: |
|
|
 Master
Joined: 30 Jun 2004 Posts: 295
|
Check out MQSC command reference guide from IBM website |
|
Back to top |
|
 |
liv4jc |
Posted: Wed Jul 06, 2005 3:08 pm Post subject: |
|
|
Newbie
Joined: 06 Jul 2005 Posts: 3
|
Thanks! That took care of the channel statuses (and I was mistaken... there are no queue statuses).
But how about the statuses for queue managers from the dspmq command? |
|
Back to top |
|
 |
PeterPotkay |
Posted: Wed Jul 06, 2005 3:23 pm Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
liv4jc wrote: |
But how about the statuses for queue managers from the dspmq command? |
Never seen anything documented on all the possible conditions this could return.... _________________ Peter Potkay
Keep Calm and MQ On |
|
Back to top |
|
 |
sebastianhirt |
Posted: Thu Jul 07, 2005 12:51 am Post subject: |
|
|
Yatiri
Joined: 07 Jun 2004 Posts: 620 Location: Germany
|
liv4jc wrote: |
and I was mistaken... there are no queue statuses).
|
How about DISPLAY QSTATUS(<QNAME>)?
Quote: |
But how about the statuses for queue managers from the dspmq command? |
As Peter I have also not seen that they are documented anywhere, but the ones I know are:
Running
Ended normaly
Ended unexpectedly
Ended Preemptively
(Please ignore the typos )
But be careful with those... A german queuemanager is not running, it is Aktiv. This fact is causing us problems all the time on non english servers, when TIVOLI Monitoring is trying to check their Status.
hope this helps
Sebastian |
|
Back to top |
|
 |
vennela |
Posted: Thu Jul 07, 2005 6:56 am Post subject: |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
Quote: |
But how about the statuses for queue managers from the dspmq command? |
From the way I read and understand the question, if you are asking for where to find doc for such commands, look at SYSTEM Administration Guide (chapter 17). |
|
Back to top |
|
 |
liv4jc |
Posted: Fri Jul 08, 2005 5:21 pm Post subject: |
|
|
Newbie
Joined: 06 Jul 2005 Posts: 3
|
I've looked at the System Administration Guide, but its description of the dspmq command doesn't list the possible statuses.
What would cause a queue manager to get into the Ended Preemptively state?
Quote: |
How about DISPLAY QSTATUS(<QNAME>)? |
What I was looking for was a list of statuses like Running, Stopped, etc, and I realized that this was irrelevant for queues.
Thanks for all of your help! |
|
Back to top |
|
 |
fjb_saper |
Posted: Fri Jul 08, 2005 5:49 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Sebastian,
How about ended (immediate) (wording is not exact but from memory) as a status for the qmgr. (corresponds to endmqm -i)
Enjoy
 |
|
Back to top |
|
 |
sebastianhirt |
Posted: Sun Jul 10, 2005 7:59 am Post subject: |
|
|
Yatiri
Joined: 07 Jun 2004 Posts: 620 Location: Germany
|
Hi,
Quote: |
Sebastian,
How about ended (immediate) (wording is not exact but from memory) as a status for the qmgr. (corresponds to endmqm -i)
|
Yes, you are right. I was thinking endmqm -i is resulting in ended unexpected. But I just tried it and it is:
Ended immediatelly
Quote: |
What would cause a queue manager to get into the Ended Preemptively state? |
That would happend if you either type in endmqm -p or if the queue manager decides it would be a good idea to end itself to avoid data loss if I remember right.
cheers
Sebastian |
|
Back to top |
|
 |
fjb_saper |
Posted: Sun Jul 10, 2005 7:17 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
I believe you may get ended unexpected if you have some filespace problems or kill some processes. Anyways it marks an ungraceful shutdown.
Enjoy  |
|
Back to top |
|
 |
|