Discussion:
Finding number of uncommitted msg using runmqsc?
Hale, Barbara S
2007-07-31 14:48:53 UTC
Permalink
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7652.24">
<TITLE>Finding number of uncommitted msg using runmqsc?</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->

<P><FONT SIZE=2 FACE="Arial">I wanted to write a small shell script to find the number of uncommitted msgs on a queue.&nbsp; Using DISPLAY QSTATUS in runmqsc I can see that I have uncommitted messages, UNCOM(YES).&nbsp; And, using the wonderous M071, I can see that I have 71 uncommitted messages so I know that the number of uncommitted messages information is available.</FONT></P>

<P><FONT SIZE=2 FACE="Arial">Is there a command in runmqsc that will give me the actual number of uncommitted messages rather than just &quot;YES&quot; or &quot;NO&quot;?&nbsp; I want to be able to track the number of uncommitted messages over time.</FONT></P>

<P><FONT SIZE=2 FACE="Arial">Thanks for your help,</FONT>

<BR><FONT SIZE=2 FACE="Arial">Barbara</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">-</FONT><FONT SIZE=1 FACE="Arial">-----------</FONT>

<BR><FONT SIZE=1 FACE="Arial">Barbara Hale</FONT>

<BR><I><FONT SIZE=1 FACE="Arial">Con-way Enterprise Services</FONT></I><FONT SIZE=1 FACE="Arial">/Distributed Systems Administrator</FONT>

<BR><FONT SIZE=1 FACE="Arial">2055 NW Savier Street</FONT>

<BR><FONT SIZE=1 FACE="Arial">Portland, OR 97209</FONT>
</P>

</BODY>
</HTML>
<br><hr><center><font size=-1>
<a href="http://listserv.meduniwien.ac.at/archives/mqser-l.html">List Archive</a> -
<a href="http://listserv.meduniwien.ac.at/cgi-bin/wa?SUBED1=mqser-l&A=1">Manage Your List Settings</a> -
<a href="mailto:LISTSERV-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org?subject=Unsubscribe&BODY=signoff%20mqseries">Unsubscribe</a>
</font><font size=-1><p>
Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at <a href="http://www.lsoft.com/resources/manuals.asp">http://www.lsoft.com</a>
</p></font>
</center>
Morag Hughson
2007-07-31 16:30:01 UTC
Permalink
If MO71 can tell you something, so can runmqsc. If you hover your mouse
pointer over the column title on the list which shows you the number of
uncommitted messages it will tell you the MQSC attribute name inside the
brackets.

I can't think what attribute tells you this fact - maybe I'm having an off
day.

Cheers
Morag

Morag Hughson
WebSphere MQ for z/OS Development
Internet: hughson-ygUJEDcBm8rQT0dZR+***@public.gmane.org




"Hale, Barbara S" <hale.barbara-***@public.gmane.org>
Sent by: MQSeries List <MQSERIES-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org>
31/07/2007 15:48
Please respond to
MQSeries List <MQSERIES-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org>


To
MQSERIES-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org
cc

Subject
Finding number of uncommitted msg using runmqsc?






I wanted to write a small shell script to find the number of uncommitted
msgs on a queue. Using DISPLAY QSTATUS in runmqsc I can see that I have
uncommitted messages, UNCOM(YES). And, using the wonderous M071, I can
see that I have 71 uncommitted messages so I know that the number of
uncommitted messages information is available.
Is there a command in runmqsc that will give me the actual number of
uncommitted messages rather than just "YES" or "NO"? I want to be able to
track the number of uncommitted messages over time.
Thanks for your help,
Barbara
------------
Barbara Hale
Con-way Enterprise Services/Distributed Systems Administrator
2055 NW Savier Street
Portland, OR 97209


List Archive - Manage Your List Settings - Unsubscribe
Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com






Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number
741598.
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU

To unsubscribe, write to LISTSERV-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org and,
in the message body (not the subject), write: SIGNOFF MQSERIES
Robert Broderick
2007-07-31 16:59:16 UTC
Permalink
DISPLAY QSTATS it is the returning 'UNCOM' field.
_________________________________________________________________
See what you’re getting into…before you go there.
http://newlivehotmail.com
To unsubscribe, write to LISTSERV-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org and,
in the message body (not the subject), write: SIGNOFF MQSERIES
Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://listserv.meduniwien.ac.at/archives/mqser-l.html
Robert Broderick
2007-07-31 17:01:41 UTC
Permalink
I would think to display the number you woud minus the numner of actual messages returned from a browse till 2033 from the queue depth. That is not exact because you have to worry about expired, and messages locked and............but...................................................

bobbee
_________________________________________________________________
Don't get caught with egg on your face. Play Chicktionary!  
http://club.live.com/chicktionary.aspx?icid=chick_wlmailtextlink
To unsubscribe, write to LISTSERV-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org and,
in the message body (not the subject), write: SIGNOFF MQSERIES
Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://listserv.meduniwien.ac.at/archives/mqser-l.html
Hale, Barbara S
2007-07-31 18:32:01 UTC
Permalink
Using runmqsc, the UNCOM field is just "YES", not the actual number of
uncommitted messages...

1 : dis qstatus(XXX.YYY.QL) UNCOM
AMQ8450: Display queue status details.
QUEUE(XXX.YYY.QL)
TYPE(QUEUE) CURDEPTH(0)
UNCOM(YES)


I hover over the column in MO71 and it says Uncommitted Messages(UNCOM),
but it has an actual number of messages in it (237) rather than "YES" so
I'm still unsure how MO71 gets the information.

Barbara

________________________________

From: MQSeries List [mailto:MQSERIES-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org] On
Behalf Of Robert Broderick
Sent: Tuesday, July 31, 2007 10:02 AM
To: MQSERIES-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org
Subject: Re: Finding number of uncommitted msg using runmqsc?


I would think to display the number you woud minus the numner of actual
messages returned from a browse till 2033 from the queue depth. That is
not exact because you have to worry about expired, and messages locked
and............but...................................................

bobbee





________________________________
Date: Tue, 31 Jul 2007 17:30:01 +0100
Subject: Re: Finding number of uncommitted msg using runmqsc?
If MO71 can tell you something, so can runmqsc. If you hover your
mouse
pointer over the column title on the list which shows you the number
of
uncommitted messages it will tell you the MQSC attribute name inside
the
brackets.
I can't think what attribute tells you this fact - maybe I'm having an
off
day.
Cheers
Morag
Morag Hughson
WebSphere MQ for z/OS Development
31/07/2007 15:48
Please respond to
To
cc
Subject
Finding number of uncommitted msg using runmqsc?
I wanted to write a small shell script to find the number of
uncommitted
msgs on a queue. Using DISPLAY QSTATUS in runmqsc I can see that I
have
uncommitted messages, UNCOM(YES). And, using the wonderous M071, I can
see that I have 71 uncommitted messages so I know that the number of
uncommitted messages information is available.
Is there a command in runmqsc that will give me the actual number of
uncommitted messages rather than just "YES" or "NO"? I want to be able
to
track the number of uncommitted messages over time.
Thanks for your help,
Barbara
------------
Barbara Hale
Con-way Enterprise Services/Distributed Systems Administrator
2055 NW Savier Street
Portland, OR 97209
List Archive - Manage Your List Settings - Unsubscribe
Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
IBM United Kingdom Limited - Registered in England and Wales with
number
741598.
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6
3AU
in the message body (not the subject), write: SIGNOFF MQSERIES
Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://listserv.meduniwien.ac.at/archives/mqser-l.html
________________________________

Don't get caught with egg on your face. Play Chicktionary!
<http://club.live.com/chicktionary.aspx?icid=chick_wlmailtextlink>

________________________________

List Archive <http://listserv.meduniwien.ac.at/archives/mqser-l.html> -
Manage Your List Settings
<http://listserv.meduniwien.ac.at/cgi-bin/wa?SUBED1=mqser-l&A=1> -
Unsubscribe
<mailto:LISTSERV-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org?subject=Unsubscribe&BODY=sign
off%20mqseries>

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
<http://www.lsoft.com/resources/manuals.asp>


To unsubscribe, write to LISTSERV-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org and,
in the message body (not the subject), write: SIGNOFF MQSERIES
Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://listserv.meduniwien.ac.at/archives/mqser-l.html
Paul Clarke
2007-07-31 20:38:48 UTC
Permalink
Hi Barbara,

I can't think why UNCOM would have a value of 237. Like MQSC I would
expect it to be either YES or NO. What version of MQ server and MO71 are
you using ? Any chance you could send me a screenshot of your dialog just
to ensure we're talking about the same thing.

Cheers,
P.

Paul G Clarke
WebSphere Messaging Clients
Hursley Park




"Hale, Barbara S" <hale.barbara-***@public.gmane.org>
Sent by: MQSeries List <MQSERIES-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org>
31/07/2007 19:32
Please respond to
MQSeries List <MQSERIES-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org>


To
MQSERIES-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org
cc

Subject
Re: Finding number of uncommitted msg using runmqsc?






Using runmqsc, the UNCOM field is just "YES", not the actual number of
uncommitted messages...

1 : dis qstatus(XXX.YYY.QL) UNCOM
AMQ8450: Display queue status details.
QUEUE(XXX.YYY.QL)
TYPE(QUEUE) CURDEPTH(0)
UNCOM(YES)


I hover over the column in MO71 and it says Uncommitted Messages(UNCOM),
but it has an actual number of messages in it (237) rather than "YES" so
I'm still unsure how MO71 gets the information.

Barbara

From: MQSeries List [mailto:MQSERIES-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org] On Behalf
Of Robert Broderick
Sent: Tuesday, July 31, 2007 10:02 AM
To: MQSERIES-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org
Subject: Re: Finding number of uncommitted msg using runmqsc?

I would think to display the number you woud minus the numner of actual
messages returned from a browse till 2033 from the queue depth. That is
not exact because you have to worry about expired, and messages locked
and............but...................................................

bobbee
Date: Tue, 31 Jul 2007 17:30:01 +0100
Subject: Re: Finding number of uncommitted msg using runmqsc?
If MO71 can tell you something, so can runmqsc. If you hover your mouse
pointer over the column title on the list which shows you the number of
uncommitted messages it will tell you the MQSC attribute name inside the
brackets.
I can't think what attribute tells you this fact - maybe I'm having an
off
day.
Cheers
Morag
Morag Hughson
WebSphere MQ for z/OS Development
31/07/2007 15:48
Please respond to
To
cc
Subject
Finding number of uncommitted msg using runmqsc?
I wanted to write a small shell script to find the number of uncommitted
msgs on a queue. Using DISPLAY QSTATUS in runmqsc I can see that I have
uncommitted messages, UNCOM(YES). And, using the wonderous M071, I can
see that I have 71 uncommitted messages so I know that the number of
uncommitted messages information is available.
Is there a command in runmqsc that will give me the actual number of
uncommitted messages rather than just "YES" or "NO"? I want to be able
to
track the number of uncommitted messages over time.
Thanks for your help,
Barbara
------------
Barbara Hale
Con-way Enterprise Services/Distributed Systems Administrator
2055 NW Savier Street
Portland, OR 97209
List Archive - Manage Your List Settings - Unsubscribe
Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
IBM United Kingdom Limited - Registered in England and Wales with number
741598.
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6
3AU
in the message body (not the subject), write: SIGNOFF MQSERIES
Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://listserv.meduniwien.ac.at/archives/mqser-l.html
Don't get caught with egg on your face. Play Chicktionary!

List Archive - Manage Your List Settings - Unsubscribe
Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com


List Archive - Manage Your List Settings - Unsubscribe
Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com






Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number
741598.
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU






To unsubscribe, write to LISTSERV-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org and,
in the message body (not the subject), write: SIGNOFF MQSERIES
Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://listserv.meduniwien.ac.at/archives/mqser-l.html
WR
2007-08-01 05:19:25 UTC
Permalink
Many of the version 6 monitoring displays show values related to a
"short period" and "longer period" of time. What do these mean? How
long is a "short period"? How long is a "longer period"?

For example: DIS CHS(*) NETTIME XQTIME COMPRATE

-Will (confused)

To unsubscribe, write to LISTSERV-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org and,
in the message body (not the subject), write: SIGNOFF MQSERIES
Neil Casey
2007-08-01 05:56:57 UTC
Permalink
Hey Will,

join the club.

The closest that I have been able to deduce is that the long interval is
shorter than the lifetime of the earth (whether calculated by religious or
scientific methods), and that the short time interval is even shorter than
that :-).

I know this is not a great deal of help, but I hope that it helps you to
feel less isolated by your lack of information, even if no more informed.

More seriously, the question was raised at one of the Impact 2007 sessions
(I think it was one of the internals sessions) but I don't think a
definitive answer was given. Maybe we can get a better answer from one of
the IBM folks who generously respond on list from time to time.

Regards,

Neil Casey
Lead Technical Specialist, Middleware MQ Support
Technology Operations
National Australia Bank
IBM Certified System Administrator -- WebSphere MQ V6.0
IBM Certified Solution Designer -- WebSphere MQ V6.0

Level 1, 122 Lewis Rd (Mon Fri)
Tel: +61 (0) 3 9886 2375 (x82375) | Fax: +61 (0) 3 9886 2700 | Mob:
+61 (0) 408 356 208
Pier 4, Level 8, 800 Bourke St OR Level 7, 555 Collins St (Other Days)
Docklands Tel: +61 (0) 3 8634 2205 (x42205) | Collins St Tel: +61 (0) 3
8697 7926 (x37926)
Fax: +61 (0) 3 8634 3788 | Mob: +61 (0) 408 356 208
Email: Neil.Casey-yjaDgy+***@public.gmane.org




WR <intj-***@public.gmane.org>
Sent by: MQSeries List <MQSERIES-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org>
01/08/2007 03:19 PM
Please respond to
MQSeries List <MQSERIES-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org>


To
MQSERIES-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org
cc

Subject
Short period; long period






Many of the version 6 monitoring displays show values related to a
"short period" and "longer period" of time. What do these mean? How
long is a "short period"? How long is a "longer period"?

For example: DIS CHS(*) NETTIME XQTIME COMPRATE

-Will (confused)

To unsubscribe, write to LISTSERV-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org and,
in the message body (not the subject), write: SIGNOFF MQSERIES
Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://listserv.meduniwien.ac.at/archives/mqser-l.html



National Australia Bank Ltd - ABN 12 004 044 937
This email may contain confidential information. If you are not the intended recipient, please immediately notify us at postmaster-yjaDgy+***@public.gmane.org or by replying to the sender, and then destroy all copies of this email. Except where this email indicates otherwise, views expressed in this email are those of the sender and not of National Australia Bank Ltd. Advice in this email does not take account of your objectives, financial situation, or needs. It is important for you to consider these matters and, if the e-mail refers to a product(s), you should read the relevant Product Disclosure Statement(s)/other disclosure document(s) before making any decisions. If you do not want email marketing from us in future, forward this email with "unsubscribe" in the subject line to Unsubscriptions-yjaDgy+***@public.gmane.org
u in order to stop marketing emails from this sender. National Australia Bank Ltd does not represent that this email is free of errors, viruses or interference.

To unsubscribe, write to LISTSERV-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org and,
in the message body (not the subject), write: SIGNOFF MQSERIES
Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://listserv.meduniwien.ac.at/archives/mqser-l.html
Morag Hughson
2007-08-01 08:49:34 UTC
Permalink
The two indicator values (as we call them) in the various monitoring
attributes show you a short term rolling average and a long term rolling
average. We didn't call them averages officially because accurately they
are not averages, but close enough for the purposes of explaining them.

The short term indicator shows the "average" of a recent set of
measurements, and the long term indicator shows the "average" over a
longer period. If you get a spike in the thing you are measuring, the
spike will clear from the short term indicator much quicker than the long
term indicator.

This is what the following section in the Monitoring WebSphere MQ book is
trying to say
http://publib.boulder.ibm.com/infocenter/wmqv6/v6r0/topic/com.ibm.mq.csqzax.doc/rtmonmiv.htm

Cheers
Morag

Morag Hughson
WebSphere MQ for z/OS Development
Internet: hughson-ygUJEDcBm8rQT0dZR+***@public.gmane.org




WR <intj-***@public.gmane.org>
Sent by: MQSeries List <MQSERIES-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org>
01/08/2007 06:19
Please respond to
MQSeries List <MQSERIES-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org>


To
MQSERIES-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org
cc

Subject
Short period; long period






Many of the version 6 monitoring displays show values related to a
"short period" and "longer period" of time. What do these mean? How
long is a "short period"? How long is a "longer period"?

For example: DIS CHS(*) NETTIME XQTIME COMPRATE

-Will (confused)

To unsubscribe, write to LISTSERV-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org and,
in the message body (not the subject), write: SIGNOFF MQSERIES
Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://listserv.meduniwien.ac.at/archives/mqser-l.html







Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number
741598.
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU

To unsubscribe, write to LISTSERV-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org and,
in the message body (not the subject), write: SIGNOFF MQSERIES
rweinger-5mf8PG+
2007-08-01 13:10:28 UTC
Permalink
It looks like IBMLINK is down again. Anyone else having problems getting
to it?
The 'old' VM system was much more reliable.
Sometimes dinosaurs shouldn't try to evolve.



The information contained in this message may be CONFIDENTIAL and is for the intended addressee only. Any unauthorized use, dissemination of the information, or copying of this message is prohibited. If you are not the intended addressee, please notify the sender immediately and delete this message.

To unsubscribe, write to LISTSERV-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org and,
MikeDavidson-MaERPT+
2007-08-01 14:28:07 UTC
Permalink
I can't get to it either.

Mike Davidson
TSYS MQ Tech Support
MikeDavidson-***@public.gmane.org




rweinger-5mf8PG+***@public.gmane.org
Sent by: MQSeries List <MQSERIES-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org>
08/01/2007 09:10 AM
Please respond to
MQSeries List <MQSERIES-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org>


To
MQSERIES-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org
cc

Subject
IBMLINK down again







It looks like IBMLINK is down again. Anyone else having problems getting
to it?
The 'old' VM system was much more reliable.
Sometimes dinosaurs shouldn't try to evolve.


The information contained in this message may be CONFIDENTIAL and is for
the intended addressee only. Any unauthorized use, dissemination of the
information, or copying of this message is prohibited. If you are not the
intended addressee, please notify the sender immediately and delete this
message.



List Archive - Manage Your List Settings - Unsubscribe
Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com



-----------------------------------------
The information contained in this communication (including any
attachments hereto) is confidential and is intended solely for the
personal and confidential use of the individual or entity to whom
it is addressed. The information may also constitute a legally
privileged confidential communication. If the reader of this
message is not the intended recipient or an agent responsible for
delivering it to the intended recipient, you are hereby notified
that you have received this communication in error and that any
review, dissemination, copying, or unauthorized use of this
information, or the taking of any action in reliance on the
contents of this information is strictly prohibited. If you have
received this communication in error, please notify us immediately
by e-mail, and delete the original message. Thank you

To unsubscribe, write to LISTSERV-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org and,
in the message body (not the subject), write: SIGNOFF MQSERIES
Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://listserv.meduniwien.ac.at/archives/mqser-l.html
Robert Broderick
2007-08-01 15:26:05 UTC
Permalink
1 + 1 + 1+ 1 + ......... = 237 ??????????????


Date: Tue, 31 Jul 2007 21:38:48 +0100From: paulg_clarke-E4/***@public.gmane.org: Re: Finding number of uncommitted msg using runmqsc?To: ***@LISTSERV.MEDUNIWIEN.AC.ATHi Barbara, I can't think why UNCOM would have a value of 237. Like MQSC I would expect it to be either YES or NO. What version of MQ server and MO71 are you using ? Any chance you could send me a screenshot of your dialog just to ensure we're talking about the same thing. Cheers, P. Paul G ClarkeWebSphere Messaging ClientsHursley Park



"Hale, Barbara S" <hale.barbara-***@public.gmane.org> Sent by: MQSeries List <MQSERIES-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org>
31/07/2007 19:32




Please respond toMQSeries List <MQSERIES-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org>





To
MQSERIES-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org


cc



Subject
Re: Finding number of uncommitted msg using runmqsc?




Using runmqsc, the UNCOM field is just "YES", not the actual number of uncommitted messages... 1 : dis qstatus(XXX.YYY.QL) UNCOMAMQ8450: Display queue status details. QUEUE(XXX.YYY.QL) TYPE(QUEUE) CURDEPTH(0) UNCOM(YES) I hover over the column in MO71 and it says Uncommitted Messages(UNCOM), but it has an actual number of messages in it (237) rather than "YES" so I'm still unsure how MO71 gets the information. Barbara
Don't get caught with egg on your face. Play Chicktionary!


List Archive - Manage Your List Settings - Unsubscribe Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com



List Archive - Manage Your List Settings - Unsubscribe Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com


Unless stated otherwise above:IBM United Kingdom Limited - Registered in England and Wales with number 741598. Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU



List Archive - Manage Your List Settings - Unsubscribe
Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com
_________________________________________________________________
Missed the show?  Watch videos of the Live Earth Concert on MSN.
http://liveearth.msn.com
To unsubscribe, write to LISTSERV-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org and,
in the message body (not the subject), write: SIGNOFF MQSERIES
Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://listserv.meduniwien.ac.at/archives/mqser-l.html
Paul Clarke
2007-08-01 16:23:18 UTC
Permalink
Hi Barbara,

Well, I congratulate you on finding a product feature! You've caused a
fair amount of puzzled looks and scratching of heads but what you describe
is exactly what happens.

The UNCOM attribute is documented as returning only two values YES (1) and
NO (0). However, as you have discovered the Distributed product actually
returns the number of uncommitted messages. Now, MO71 has a strategy that
if a returned number matches one of the pre-defined values then is
displayed that value otherwise it will just display the numbers. Which is
why you'll see MO71 report NO, YES, 2,3,4,5.........

The MQ Explorer displays any unexpected value as [Unknown]. So you'll see
the sequence as NO, YES, [Unknown]......

Now, it appears as though MQSC will treat any non-zero value as YES and
won't report the number.

The z/OS always just returns YES and NO.


So, what you've found is am inconsistency between both the books and the
product and an inconsistency between the Distributed and z/OS products. A
pretty good find! The question is what do we do about it ?. The simplest
thing for us to do is to change the command server in the Dist. product to
only return 0 and 1; which means this potentially useful feature is lost.
Alternatively we change the documentation (and possibly MQ Explorer) to
allow for values greater that 1. It's just possible that in the future
the z/OS product could be changed to also report the actual number but I'm
told that this is a non-trivial change and may never happen. We believe
that changing the documentation and keeping the inconsistency is the
lesser of two evils. We will raise a documentation defect.


So, it seems that if you want to monitor the number of uncommitted
messages you will not be able to do it via MQSC. You can do so via MO71
and setting auto-refresh and adding an appropriate filter to the window to
page you (or whatever) when the value reaches a certain limit.
Alternatively you could write a fairly simple PCF application it
repeatedly query the value.


Thanks for bringing this to our attention. Our apologies for any confusion
caused,

Cheers,
Paul

Paul G Clarke
WebSphere Messaging Clients
Hursley Park





Robert Broderick <robertbroderick-deqWdTs+***@public.gmane.org>
Sent by: MQSeries List <MQSERIES-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org>
01/08/2007 16:26
Please respond to
MQSeries List <MQSERIES-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org>


To
MQSERIES-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org
cc

Subject
Re: Finding number of uncommitted msg using runmqsc?






1 + 1 + 1+ 1 + ......... = 237 ??????????????



Date: Tue, 31 Jul 2007 21:38:48 +0100
From: paulg_clarke-E4/***@public.gmane.org
Subject: Re: Finding number of uncommitted msg using runmqsc?
To: MQSERIES-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org


Hi Barbara,

I can't think why UNCOM would have a value of 237. Like MQSC I would
expect it to be either YES or NO. What version of MQ server and MO71 are
you using ? Any chance you could send me a screenshot of your dialog just
to ensure we're talking about the same thing.

Cheers,
P.

Paul G Clarke
WebSphere Messaging Clients
Hursley Park



"Hale, Barbara S" <hale.barbara-***@public.gmane.org>
Sent by: MQSeries List <MQSERIES-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org> 31/07/2007
19:32

Please respond to
MQSeries List <MQSERIES-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org>



To
MQSERIES-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org
cc

Subject
Re: Finding number of uncommitted msg using runmqsc?








Using runmqsc, the UNCOM field is just "YES", not the actual number of
uncommitted messages...

1 : dis qstatus(XXX.YYY.QL) UNCOM
AMQ8450: Display queue status details.
QUEUE(XXX.YYY.QL)
TYPE(QUEUE) CURDEPTH(0)
UNCOM(YES)


I hover over the column in MO71 and it says Uncommitted Messages(UNCOM),
but it has an actual number of messages in it (237) rather than "YES" so
I'm still unsure how MO71 gets the information.

Barbara

From: MQSeries List [mailto:MQSERIES-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org] On Behalf
Of Robert Broderick
Sent: Tuesday, July 31, 2007 10:02 AM
To: MQSERIES-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org
Subject: Re: Finding number of uncommitted msg using runmqsc?

I would think to display the number you woud minus the numner of actual
messages returned from a browse till 2033 from the queue depth. That is
not exact because you have to worry about expired, and messages locked
and............but...................................................

bobbee
Date: Tue, 31 Jul 2007 17:30:01 +0100
Subject: Re: Finding number of uncommitted msg using runmqsc?
If MO71 can tell you something, so can runmqsc. If you hover your mouse
pointer over the column title on the list which shows you the number of
uncommitted messages it will tell you the MQSC attribute name inside the
brackets.
I can't think what attribute tells you this fact - maybe I'm having an
off
day.
Cheers
Morag
Morag Hughson
WebSphere MQ for z/OS Development
31/07/2007 15:48
Please respond to
To
cc
Subject
Finding number of uncommitted msg using runmqsc?
I wanted to write a small shell script to find the number of uncommitted
msgs on a queue. Using DISPLAY QSTATUS in runmqsc I can see that I have
uncommitted messages, UNCOM(YES). And, using the wonderous M071, I can
see that I have 71 uncommitted messages so I know that the number of
uncommitted messages information is available.
Is there a command in runmqsc that will give me the actual number of
uncommitted messages rather than just "YES" or "NO"? I want to be able
to
track the number of uncommitted messages over time.
Thanks for your help,
Barbara
------------
Barbara Hale
Con-way Enterprise Services/Distributed Systems Administrator
2055 NW Savier Street
Portland, OR 97209
List Archive - Manage Your List Settings - Unsubscribe
Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
IBM United Kingdom Limited - Registered in England and Wales with number
741598.
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6
3AU
in the message body (not the subject), write: SIGNOFF MQSERIES
Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://listserv.meduniwien.ac.at/archives/mqser-l.html
Don't get caught with egg on your face. Play Chicktionary!


List Archive - Manage Your List Settings - Unsubscribe
Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com



List Archive - Manage Your List Settings - Unsubscribe
Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com






Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number
741598.
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU








List Archive - Manage Your List Settings - Unsubscribe
Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com

Missed the show? Watch videos of the Live Earth Concert on MSN. See them
now!


List Archive - Manage Your List Settings - Unsubscribe
Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com






Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number
741598.
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU






To unsubscribe, write to LISTSERV-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org and,
in the message body (not the subject), write: SIGNOFF MQSERIES
Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://listserv.meduniwien.ac.at/archives/mqser-l.html
T-Rob
2007-08-01 17:21:37 UTC
Permalink
Does anyone have a pointer to the platform-specific docs for OpenVMS?

-- T.Rob

T.Robert Wyatt, Consulting IT Specialist
IBM Software Services for WebSphere
email: t.rob.wyatt-r/Jw6+rmf7HQT0dZR+***@public.gmane.org
704-719-2107 Access Line

To unsubscribe, write to LISTSERV-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org and,
in the message body (not the subject), write: SIGNOFF MQSERIES
Hale, Barbara S
2007-08-01 22:35:19 UTC
Permalink
Paul -

Thanks for researching it. It is a product feature that I love so I
would vote for the inconsistency and changing the documentation. I'm
glad that MO71 can give me the information which I'm finding valuable.

Thanks,
Barbara

------------
Con-way Enterprise Services/Distributed Systems Administrator


________________________________

From: MQSeries List [mailto:MQSERIES-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org] On
Behalf Of Paul Clarke
Sent: Wednesday, August 01, 2007 9:23 AM
To: MQSERIES-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org
Subject: Re: Finding number of uncommitted msg using runmqsc?




Hi Barbara,

Well, I congratulate you on finding a product feature! You've caused a
fair amount of puzzled looks and scratching of heads but what you
describe is exactly what happens.

The UNCOM attribute is documented as returning only two values YES (1)
and NO (0). However, as you have discovered the Distributed product
actually returns the number of uncommitted messages. Now, MO71 has a
strategy that if a returned number matches one of the pre-defined values
then is displayed that value otherwise it will just display the numbers.
Which is why you'll see MO71 report NO, YES, 2,3,4,5.........

The MQ Explorer displays any unexpected value as [Unknown]. So you'll
see the sequence as NO, YES, [Unknown]......

Now, it appears as though MQSC will treat any non-zero value as YES and
won't report the number.

The z/OS always just returns YES and NO.


So, what you've found is am inconsistency between both the books and the
product and an inconsistency between the Distributed and z/OS products.
A pretty good find! The question is what do we do about it ?. The
simplest thing for us to do is to change the command server in the Dist.
product to only return 0 and 1; which means this potentially useful
feature is lost. Alternatively we change the documentation (and possibly
MQ Explorer) to allow for values greater that 1. It's just possible
that in the future the z/OS product could be changed to also report the
actual number but I'm told that this is a non-trivial change and may
never happen. We believe that changing the documentation and keeping the
inconsistency is the lesser of two evils. We will raise a documentation
defect.


So, it seems that if you want to monitor the number of uncommitted
messages you will not be able to do it via MQSC. You can do so via MO71
and setting auto-refresh and adding an appropriate filter to the window
to page you (or whatever) when the value reaches a certain limit.
Alternatively you could write a fairly simple PCF application it
repeatedly query the value.


Thanks for bringing this to our attention. Our apologies for any
confusion caused,

Cheers,
Paul

Paul G Clarke
WebSphere Messaging Clients
Hursley Park





Robert Broderick <robertbroderick-deqWdTs+***@public.gmane.org>
Sent by: MQSeries List <MQSERIES-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org>

01/08/2007 16:26
Please respond to
MQSeries List <MQSERIES-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org>


To
MQSERIES-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org
cc
Subject
Re: Finding number of uncommitted msg using runmqsc?






1 + 1 + 1+ 1 + ......... = 237 ??????????????




________________________________

Date: Tue, 31 Jul 2007 21:38:48 +0100
From: paulg_clarke-E4/***@public.gmane.org
Subject: Re: Finding number of uncommitted msg using runmqsc?
To: MQSERIES-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org


Hi Barbara,

I can't think why UNCOM would have a value of 237. Like MQSC I would
expect it to be either YES or NO. What version of MQ server and MO71
are you using ? Any chance you could send me a screenshot of your dialog
just to ensure we're talking about the same thing.

Cheers,
P.

Paul G Clarke
WebSphere Messaging Clients
Hursley Park



"Hale, Barbara S" <hale.barbara-***@public.gmane.org>
Sent by: MQSeries List <MQSERIES-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org> 31/07/2007
19:32

Please respond to
MQSeries List <MQSERIES-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org>


To
MQSERIES-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org
cc
Subject
Re: Finding number of uncommitted msg using runmqsc?








Using runmqsc, the UNCOM field is just "YES", not the actual number of
uncommitted messages...

1 : dis qstatus(XXX.YYY.QL) UNCOM
AMQ8450: Display queue status details.
QUEUE(XXX.YYY.QL)
TYPE(QUEUE) CURDEPTH(0)
UNCOM(YES)


I hover over the column in MO71 and it says Uncommitted Messages(UNCOM),
but it has an actual number of messages in it (237) rather than "YES" so
I'm still unsure how MO71 gets the information.

Barbara


________________________________

From: MQSeries List [mailto:MQSERIES-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org] On
Behalf Of Robert Broderick
Sent: Tuesday, July 31, 2007 10:02 AM
To: MQSERIES-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org
Subject: Re: Finding number of uncommitted msg using runmqsc?

I would think to display the number you woud minus the numner of actual
messages returned from a browse till 2033 from the queue depth. That is
not exact because you have to worry about expired, and messages locked
and............but...................................................

bobbee





________________________________
Date: Tue, 31 Jul 2007 17:30:01 +0100
Subject: Re: Finding number of uncommitted msg using runmqsc?
If MO71 can tell you something, so can runmqsc. If you hover your mouse
pointer over the column title on the list which shows you the number of
uncommitted messages it will tell you the MQSC attribute name inside the
brackets.
I can't think what attribute tells you this fact - maybe I'm having an
off
day.
Cheers
Morag
Morag Hughson
WebSphere MQ for z/OS Development
31/07/2007 15:48
Please respond to
To
cc
Subject
Finding number of uncommitted msg using runmqsc?
I wanted to write a small shell script to find the number of
uncommitted
msgs on a queue. Using DISPLAY QSTATUS in runmqsc I can see that I have
uncommitted messages, UNCOM(YES). And, using the wonderous M071, I can
see that I have 71 uncommitted messages so I know that the number of
uncommitted messages information is available.
Is there a command in runmqsc that will give me the actual number of
uncommitted messages rather than just "YES" or "NO"? I want to be able
to
track the number of uncommitted messages over time.
Thanks for your help,
Barbara
------------
Barbara Hale
Con-way Enterprise Services/Distributed Systems Administrator
2055 NW Savier Street
Portland, OR 97209
List Archive - Manage Your List Settings - Unsubscribe
Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
IBM United Kingdom Limited - Registered in England and Wales with number
741598.
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU
in the message body (not the subject), write: SIGNOFF MQSERIES
Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://listserv.meduniwien.ac.at/archives/mqser-l.html
________________________________

Don't get caught with egg on your face. Play Chicktionary!
<http://club.live.com/chicktionary.aspx?icid=chick_wlmailtextlink>

________________________________



List Archive <http://listserv.meduniwien.ac.at/archives/mqser-l.html> -
Manage Your List Settings
<http://listserv.meduniwien.ac.at/cgi-bin/wa?SUBED1=mqser-l&A=1> -
Unsubscribe
<mailto:LISTSERV-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org?subject=Unsubscribe&BODY=sign
off mqseries>
Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
<http://www.lsoft.com/resources/manuals.asp>



________________________________



List Archive <http://listserv.meduniwien.ac.at/archives/mqser-l.html> -
Manage Your List Settings
<http://listserv.meduniwien.ac.at/cgi-bin/wa?SUBED1=mqser-l&A=1> -
Unsubscribe
<mailto:LISTSERV-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org?subject=Unsubscribe&BODY=sign
off mqseries>
Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
<http://www.lsoft.com/resources/manuals.asp>






________________________________



Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number
741598.
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6
3AU







________________________________


List Archive <http://listserv.meduniwien.ac.at/archives/mqser-l.html> -
Manage Your List Settings
<http://listserv.meduniwien.ac.at/cgi-bin/wa?SUBED1=mqser-l&A=1> -
Unsubscribe
<mailto:LISTSERV-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org?subject=Unsubscribe&BODY=sign
off mqseries>
Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
<http://www.lsoft.com/resources/manuals.asp>



________________________________

Missed the show? Watch videos of the Live Earth Concert on MSN. See
them now! <http://liveearth.msn.com/>


________________________________


List Archive <http://listserv.meduniwien.ac.at/archives/mqser-l.html> -
Manage Your List Settings
<http://listserv.meduniwien.ac.at/cgi-bin/wa?SUBED1=mqser-l&A=1> -
Unsubscribe
<mailto:LISTSERV-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org?subject=Unsubscribe&BODY=sign
off%20mqseries>
Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
<http://www.lsoft.com/resources/manuals.asp>





________________________________





Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number
741598.
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6
3AU








________________________________

List Archive <http://listserv.meduniwien.ac.at/archives/mqser-l.html> -
Manage Your List Settings
<http://listserv.meduniwien.ac.at/cgi-bin/wa?SUBED1=mqser-l&A=1> -
Unsubscribe
<mailto:LISTSERV-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org?subject=Unsubscribe&BODY=sign
off%20mqseries>

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
<http://www.lsoft.com/resources/manuals.asp>


To unsubscribe, write to LISTSERV-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org and,
in the message body (not the subject), write: SIGNOFF MQSERIES
Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://listserv.meduniwien.ac.at/archives/mqser-l.html
Grant Ward Able
2007-08-02 08:32:23 UTC
Permalink
I would vote for making everything behave the way of Barbara's system and
update the docs accordingly!!!
--
Regards - Grant
====================================
Grant Ward Able
Senior Systems Architect
DTCC
====================================


"Hale, Barbara S" <hale.barbara-***@public.gmane.org>
Sent by: MQSeries List <MQSERIES-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org>
01/08/2007 23:35
Please respond to
MQSeries List <MQSERIES-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org>


To
MQSERIES-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org
cc

Subject
Re: Finding number of uncommitted msg using runmqsc?






Paul -

Thanks for researching it. It is a product feature that I love so I would
vote for the inconsistency and changing the documentation. I'm glad that
MO71 can give me the information which I'm finding valuable.

Thanks,
Barbara
------------
Con-way Enterprise Services/Distributed Systems Administrator


From: MQSeries List [mailto:MQSERIES-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org] On Behalf
Of Paul Clarke
Sent: Wednesday, August 01, 2007 9:23 AM
To: MQSERIES-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org
Subject: Re: Finding number of uncommitted msg using runmqsc?
<SNIP>
So, what you've found is am inconsistency between both the books and the
product and an inconsistency between the Distributed and z/OS products. A
pretty good find! The question is what do we do about it ?. The simplest
thing for us to do is to change the command server in the Dist. product to
only return 0 and 1; which means this potentially useful feature is lost.
Alternatively we change the documentation (and possibly MQ Explorer) to
allow for values greater that 1. It's just possible that in the future
the z/OS product could be changed to also report the actual number but I'm
told that this is a non-trivial change and may never happen. We believe
that changing the documentation and keeping the inconsistency is the
lesser of two evils. We will raise a documentation defect.
</SNIP>

________________________________________________________

DTCC DISCLAIMER: This email and any files transmitted with it are
confidential and intended solely for the use of the individual or
entity to whom they are addressed. If you have received this email
in error, please notify us immediately and delete the email and any
attachments from your system. The recipient should check this email
and any attachments for the presence of viruses. The company
accepts no liability for any damage caused by any virus transmitted
by this email.

To unsubscribe, write to LISTSERV-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org and,
in the message body (not the subject), write: SIGNOFF MQSERIES
Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://listserv.meduniwien.ac.at/archives/mqser-l.html
T-Rob
2007-08-01 17:21:37 UTC
Permalink
Doh! Never mind. As soon as I hit send I realized it's in the 5.3
section of the library.

-- T.Rob
Post by T-Rob
Does anyone have a pointer to the platform-specific docs for OpenVMS?
-- T.Rob
T.Robert Wyatt, Consulting IT Specialist
IBM Software Services for WebSphere
704-719-2107 Access Line
To unsubscribe, write to LISTSERV-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org and,
in the message body (not the subject), write: SIGNOFF MQSERIES
Robert Broderick
2007-08-01 17:37:19 UTC
Permalink
and to thing I was just joking!!!! (1 + 1 + 1...) Well shut my mouth!!!!


Date: Wed, 1 Aug 2007 17:23:18 +0100From: paulg_clarke-E4/***@public.gmane.org: Re: Finding number of uncommitted msg using runmqsc?To: MQSERIES-0lvw86wZMd8cuUN+***@public.gmane.orgDUNIWIEN.AC.ATHi Barbara, Well, I congratulate you on finding a product feature! You've caused a fair amount of puzzled looks and scratching of heads but what you describe is exactly what happens. The UNCOM attribute is documented as returning only two values YES (1) and NO (0). However, as you have discovered the Distributed product actually returns the number of uncommitted messages. Now, MO71 has a strategy that if a returned number matches one of the pre-defined values then is displayed that value otherwise it will just display the numbers. Which is why you'll see MO71 report NO, YES, 2,3,4,5......... The MQ Explorer displays any unexpected value as [Unknown]. So you'll see the sequence as NO, YES, [Unknown]...... Now, it appears as though MQSC will treat any non-zero value as YES and won't report the number. The z/OS always just returns YES and NO. So, what you've found is am inconsistency between both the books and the product and an inconsistency between the Distributed and z/OS products. A pretty good find! The question is what do we do about it ?. The simplest thing for us to do is to change the command server in the Dist. product to only return 0 and 1; which means this potentially useful feature is lost. Alternatively we change the documentation (and possibly MQ Explorer) to allow for values greater that 1. It's just possible that in the future the z/OS product could be changed to also report the actual number but I'm told that this is a non-trivial change and may never happen. We believe that changing the documentation and keeping the inconsistency is the lesser of two evils. We will raise a documentation defect. So, it seems that if you want to monitor the number of uncommitted messages you will not be able to do it via MQSC. You can do so via MO71 and setting auto-refresh and adding an appropriate filter to the window to page you (or whatever) when the value reaches a certain limit. Alternatively you could write a fairly simple PCF application it repeatedly query the value. Thanks for bringing this to our attention. Our apologies for any confusion caused, Cheers, Paul Paul G ClarkeWebSphere Messaging ClientsHursley Park



Robert Broderick <robertbroderick-deqWdTs+***@public.gmane.org> Sent by: MQSeries List <MQSERIES-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org>
01/08/2007 16:26




Please respond toMQSeries List <MQSERIES-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org>





To
MQSERIES-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org


cc



Subject
Re: Finding number of uncommitted msg using runmqsc?




1 + 1 + 1+ 1 + ......... = 237 ??????????????

Date: Tue, 31 Jul 2007 21:38:48 +0100From: paulg_clarke-E4/***@public.gmane.org: Re: Finding number of uncommitted msg using runmqsc?To: ***@LISTSERV.MEDUNIWIEN.AC.ATHi Barbara, I can't think why UNCOM would have a value of 237. Like MQSC I would expect it to be either YES or NO. What version of MQ server and MO71 are you using ? Any chance you could send me a screenshot of your dialog just to ensure we're talking about the same thing. Cheers, P. Paul G ClarkeWebSphere Messaging ClientsHursley Park



"Hale, Barbara S" <hale.barbara-***@public.gmane.org> Sent by: MQSeries List <MQSERIES-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org> 31/07/2007 19:32




Please respond toMQSeries List <MQSERIES-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org>





To
MQSERIES-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org


cc



Subject
Re: Finding number of uncommitted msg using runmqsc?




Using runmqsc, the UNCOM field is just "YES", not the actual number of uncommitted messages... 1 : dis qstatus(XXX.YYY.QL) UNCOMAMQ8450: Display queue status details. QUEUE(XXX.YYY.QL) TYPE(QUEUE) CURDEPTH(0) UNCOM(YES) I hover over the column in MO71 and it says Uncommitted Messages(UNCOM), but it has an actual number of messages in it (237) rather than "YES" so I'm still unsure how MO71 gets the information. Barbara
Don't get caught with egg on your face. Play Chicktionary!


List Archive - Manage Your List Settings - Unsubscribe Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com


List Archive - Manage Your List Settings - Unsubscribe Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com

Unless stated otherwise above:IBM United Kingdom Limited - Registered in England and Wales with number 741598. Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU


List Archive - Manage Your List Settings - Unsubscribe Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com


Missed the show? Watch videos of the Live Earth Concert on MSN. See them now!


List Archive - Manage Your List Settings - Unsubscribe Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com


Unless stated otherwise above:IBM United Kingdom Limited - Registered in England and Wales with number 741598. Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU



List Archive - Manage Your List Settings - Unsubscribe
Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com
_________________________________________________________________
PC Magazine’s 2007 editors’ choice for best web mail—award-winning Windows Live Hotmail.
http://imagine-windowslive.com/hotmail/?locale=en-us&ocid=TXT_TAGHM_migration_HMWL_mini_pcmag_0707
To unsubscribe, write to LISTSERV-0lvw86wZMd9k/bWDasg6f+***@public.gmane.org and,
in the message body (not the subject), write: SIGNOFF MQSERIES
Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://listserv.meduniwien.ac.at/archives/mqser-l.html
Loading...