Author |
Message
|
Shalini |
Posted: Thu Apr 01, 2004 1:22 am Post subject: How to read the active log content ???? |
|
|
Master
Joined: 30 Apr 2002 Posts: 224 Location: India
|
Hi,
Is there any way to read the active log file of the queue manager.
in Solaris and windows.
I want to see all the persistence messages logged to the queue but the active log content are not in human readable format. (in the <installdir>\log\QM\S0000000 files)
I want to see the log content of the Queue Manager which is running.
Preferably only the message content in the log file.
 |
|
Back to top |
|
 |
bower5932 |
Posted: Thu Apr 01, 2004 6:15 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Aug 2001 Posts: 3023 Location: Dallas, TX, USA
|
Try looking at the dmpmqlog command. |
|
Back to top |
|
 |
jefflowrey |
Posted: Thu Apr 01, 2004 6:19 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
But viewing the logs is not a good way to view the message data on a queue.
THat's what the BROWSE options are for, Really! _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
bower5932 |
Posted: Thu Apr 01, 2004 6:25 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Aug 2001 Posts: 3023 Location: Dallas, TX, USA
|
I should have read your append closer. If all you are interested in is looking at messages on the queue, you're much better off browsing the actual queue. You can even use the amqsbcg sample to do it. |
|
Back to top |
|
 |
Shalini |
Posted: Thu Apr 01, 2004 11:53 pm Post subject: |
|
|
Master
Joined: 30 Apr 2002 Posts: 224 Location: India
|
Hi jefflowrey and bower5932,
Thanks for your reply.
This set up is for the production environment and the message are persistence message.
dmpmqlog is not possible for running QMGR.
As per the browse is concern we need to have other application to do that.
My problem is daily in our production flow we have nearly 1400 - 1500 (flat file/edi messages etc.,) messages flowing thro MQ (5.2.1 csd 7) for windows 2000.
My problem is when transferring messages from one QMGR to another QMGR (no process in between) some of the messages get corrupted that is in the end of the messages we see some queue name.
This does not happen for particular message @ particular time, it happens for any message @ any time.
I could not find any error in error or in FDC file.
So I decided to look into active log file but they are not in human readable format.
Is there any solution for this critical problem???
 |
|
Back to top |
|
 |
Michael Dag |
Posted: Fri Apr 02, 2004 12:23 am Post subject: |
|
|
 Jedi Knight
Joined: 13 Jun 2002 Posts: 2607 Location: The Netherlands (Amsterdam)
|
|
Back to top |
|
 |
jefflowrey |
Posted: Fri Apr 02, 2004 5:04 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Shalini wrote: |
Is there any solution for this critical problem??? |
Yes. There are many solutions.
One solution is to use the mirrorq exit to copy all your messages into another queue, so you can examine them there without interrupting production. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
|