Author |
Message
|
mqxplorer |
Posted: Thu Aug 12, 2010 7:00 am Post subject: RFHUtil does not show all the messages... |
|
|
 Master
Joined: 22 Jun 2009 Posts: 206
|
Hi All,
I have around 19000 messages in a queue and I am using RFHUtil to display all the messages in the queue using the "Dispaly Q" button provided in RFHUtil, however, it does not display all messages. Infact, the no of messages it displays are randon..like 14000, 13890 etc..
How to display all the messages so that I can browse the last message in the queue?
Thanks in advance.
Thanks
mqxplorer |
|
Back to top |
|
 |
Vitor |
Posted: Thu Aug 12, 2010 7:13 am Post subject: Re: RFHUtil does not show all the messages... |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
mqxplorer wrote: |
How to display all the messages so that I can browse the last message in the queue? |
Make sure all the messages are committed?
Stop whatever's reading messages off the queue from doing so? _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
mqxplorer |
Posted: Thu Aug 12, 2010 9:57 am Post subject: |
|
|
 Master
Joined: 22 Jun 2009 Posts: 206
|
It is an error queue which stores the rolled back messages, if any exeptions occur inside a flow. No application is reading from the queue. i am using RFHUtil to browse the message and save it off the queue so that I can replay the message in my local machine.
Quote: |
Make sure all the messages are committed? |
If the issue with the commit..why is it displaying messages in a random way..?
When I hit the "DisplayQ" button first time, I could see 13900 messages and the next time it shows 13400. Shouldn't it show same no of messages when no one is reading messages out of the queue?
Thanks in advance.
Thanks
mqxplorer |
|
Back to top |
|
 |
Vitor |
Posted: Thu Aug 12, 2010 9:59 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
mqxplorer wrote: |
If the issue with the commit..why is it displaying messages in a random way..? |
Because you have the issue with uncomitted messages (which show in depth but not in view) and the browse cursor.
mqxplorer wrote: |
When I hit the "DisplayQ" button first time, I could see 13900 messages and the next time it shows 13400. Shouldn't it show same no of messages when no one is reading messages out of the queue? |
Not if 500 of them were uncommitted. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
mqjeff |
Posted: Thu Aug 12, 2010 10:12 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
Vitor wrote: |
mqxplorer wrote: |
If the issue with the commit..why is it displaying messages in a random way..? |
Because you have the issue with uncomitted messages (which show in depth but not in view) and the browse cursor.
mqxplorer wrote: |
When I hit the "DisplayQ" button first time, I could see 13900 messages and the next time it shows 13400. Shouldn't it show same no of messages when no one is reading messages out of the queue? |
Not if 500 of them were uncommitted. |
Or if the messages are expiring...  |
|
Back to top |
|
 |
mqxplorer |
Posted: Thu Aug 12, 2010 10:42 am Post subject: |
|
|
 Master
Joined: 22 Jun 2009 Posts: 206
|
Quote: |
Or if the messages are expiring... |
If the messages are expiring..the queue depth should decrease..It is not decreasing...
The queue has 21428 and the no of messages dsiplayed each time when I am hitting the "DiaplayQ" button (the gap ofr each hit is just 30 seconds) are as follows:
1 - 12700
2 - 12700
3 - 13700
4 - 13600
5 - 12800
6 - 12400
7 - 13400
8 - 13800
9 - 13700
10 - 12200
I do not understand this random display pattern....
When I looked at the queue status in MQExplorer..it says..
Uncommitted Messages - No
Thanks... |
|
Back to top |
|
 |
fjb_saper |
Posted: Thu Aug 12, 2010 10:50 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
There is no random pattern.
What this is telling you is that you have an application/channel putting to the queue (hence the increasing count) and either messages expiring or messages being consumed (hence the decreasing count).
In order to get a stable count you need to stop all applications connected to that queue.
Have fun  _________________ MQ & Broker admin |
|
Back to top |
|
 |
mqxplorer |
Posted: Thu Aug 12, 2010 11:20 am Post subject: |
|
|
 Master
Joined: 22 Jun 2009 Posts: 206
|
Quote: |
There is no random pattern.
What this is telling you is that you have an application/channel putting to the queue (hence the increasing count) and either messages expiring or messages being consumed (hence the decreasing count).
In order to get a stable count you need to stop all applications connected to that queue.
|
display qstatus(common.error) type(handle) all
command gives the below info:
Code: |
display qstatus(common.error) type(handle) all
3 : display qstatus(common.error) type(handle) all
AMQ8450: Display queue status details.
QUEUE(COMMON.ERROR) TYPE(HANDLE)
APPLTAG(DataFlowEngine) APPLTYPE(USER)
BROWSE(NO) CHANNEL( )
CONNAME( ) HSTATE(INACTIVE)
INPUT(NO) INQUIRE(YES)
OUTPUT(YES) PID(24981)
QMURID(0.169800) SET(NO)
TID(11)
URID(XA_FORMATID[00000000] XA_GTRID[] XA_BQUAL[])
URTYPE(QMGR) USERID(wbrkadm)
AMQ8450: Display queue status details.
QUEUE(COMMON.ERROR) TYPE(HANDLE)
APPLTAG(DataFlowEngine) APPLTYPE(USER)
BROWSE(NO) CHANNEL( )
CONNAME( ) HSTATE(INACTIVE)
INPUT(NO) INQUIRE(YES)
OUTPUT(YES) PID(24981)
QMURID(0.167853) SET(NO)
TID(19)
URID(XA_FORMATID[00000000] XA_GTRID[] XA_BQUAL[])
URTYPE(QMGR) USERID(wbrkadm) |
This shows that no application is getting messages out of the queue. The queue depth remains constant...but the no of messages it displays vary all the time..
"When I looked at the queue status in MQExplorer..it says..
Uncommitted Messages - No "
Is there any parameter I have to customize in RFHUtil so that it dosplays all the messages...? |
|
Back to top |
|
 |
napier |
Posted: Thu Aug 12, 2010 11:21 am Post subject: |
|
|
 Apprentice
Joined: 09 Oct 2007 Posts: 48 Location: USA
|
This problem exist in the latest versions of RFHUTIL. When you use V4 RFHUTIL you don't see this problem. |
|
Back to top |
|
 |
mqxplorer |
Posted: Fri Aug 13, 2010 6:06 am Post subject: |
|
|
 Master
Joined: 22 Jun 2009 Posts: 206
|
Thanks napier, Let me try with the V4 RFHUtil and see how it goes... |
|
Back to top |
|
 |
mqxplorer |
Posted: Wed Aug 18, 2010 7:55 am Post subject: |
|
|
 Master
Joined: 22 Jun 2009 Posts: 206
|
I think I figured out the issue...
I was going through the RFHUtil documentation today and I came across the below lines...
Quote: |
A maximum of 50,000 messages will be displayed. A maximum time of 15 seconds is also
implemented, in which case the browsing of the queue will stop and only the messages read
in that time will be displayed. |
This means that the tool is displaying the messages it is reading in the duaration of 15 seconds...this explains the random no of messages diplay each time...As I was trying to read messages in DEV..the newtork gliches/delays might be causing this....
Here is the RFHUtil documentation...
ftp://public.dhe.ibm.com/software/integration/support/supportpacs/individual/ih03.pdf
Thanks
mqxplorer |
|
Back to top |
|
 |
|