Author |
Message
|
shashivarungupta |
Posted: Wed Jul 01, 2009 12:51 am Post subject: Log of Messages to be Put in a go ? |
|
|
 Grand Master
Joined: 24 Feb 2009 Posts: 1343 Location: Floating in space on a round rock.
|
Hi All,
We got a situation, where a log of messages are to be PUT into a Queue. And those logs of messages are stored in a text file. Those are around 3000 messages (of course not that big figure but not a small figure too to deal with it manually.)
Any clue/command/program/script/tool ?
Appreciate that.
Thanks _________________ *Life will beat you down, you need to decide to fight back or leave it. |
|
Back to top |
|
 |
exerk |
Posted: Wed Jul 01, 2009 12:58 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
Have a look at the Support Pacs, specifically MA0T. _________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys. |
|
Back to top |
|
 |
fjb_saper |
Posted: Wed Jul 01, 2009 1:10 am Post subject: Re: Log of Messages to be Put in a go ? |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
shashivarungupta wrote: |
Hi All,
We got a situation, where a log of messages are to be PUT into a Queue. And those logs of messages are stored in a text file. Those are around 3000 messages (of course not that big figure but not a small figure too to deal with it manually.)
Any clue/command/program/script/tool ?
Appreciate that.
Thanks |
And for bettering your English remember that a log is not a unit of measure.
I guess you really meant a LOT of messages. We do understand some colloquialism like lakh but using log as one would be a very poor choice.... It took me 2 mins and looking at the answer to understand you were not looking at some logging problem.
BTW a log of messages would be a list of message identifiers that could then point to message identity and possibly message content, to record what was being sent for logging / auditing purpose...
 _________________ MQ & Broker admin |
|
Back to top |
|
 |
shashivarungupta |
Posted: Wed Jul 01, 2009 1:16 am Post subject: Re: Log of Messages to be Put in a go ? |
|
|
 Grand Master
Joined: 24 Feb 2009 Posts: 1343 Location: Floating in space on a round rock.
|
fjb_saper wrote: |
shashivarungupta wrote: |
Hi All,
We got a situation, where a log of messages are to be PUT into a Queue. And those logs of messages are stored in a text file. Those are around 3000 messages (of course not that big figure but not a small figure too to deal with it manually.)
Any clue/command/program/script/tool ?
Appreciate that.
Thanks |
And for bettering your English remember that a log is not a unit of measure.
I guess you really meant a LOT of messages. We do understand some colloquialism like lakh but using log as one would be a very poor choice.... It took me 2 mins and looking at the answer to understand you were not looking at some logging problem.
BTW a log of messages would be a list of message identifiers that could then point to message identity and possibly message content, to record what was being sent for logging / auditing purpose...
 |
Actually Yes.
When its comes to any technology (as MQ) where backup of the messages / transactions has had been taken, then LOGs and LOTs of messages depict different meanings.
I would correct it and say as LOTs. _________________ *Life will beat you down, you need to decide to fight back or leave it. |
|
Back to top |
|
 |
shashivarungupta |
Posted: Wed Jul 01, 2009 1:21 am Post subject: |
|
|
 Grand Master
Joined: 24 Feb 2009 Posts: 1343 Location: Floating in space on a round rock.
|
Quote: |
..a log is not a unit of measure. |
Neither the LOTs. (means saying 'LOT' doesn't give a finite value/count of those messages in a file.)
 _________________ *Life will beat you down, you need to decide to fight back or leave it. |
|
Back to top |
|
 |
Mr Butcher |
Posted: Wed Jul 01, 2009 1:36 am Post subject: |
|
|
 Padawan
Joined: 23 May 2005 Posts: 1716
|
"Q" Program (MA01 supportpac) could be an option too _________________ Regards, Butcher |
|
Back to top |
|
 |
gbaddeley |
Posted: Wed Jul 01, 2009 9:17 pm Post subject: Re: Log of Messages to be Put in a go ? |
|
|
 Jedi Knight
Joined: 25 Mar 2003 Posts: 2538 Location: Melbourne, Australia
|
shashivarungupta wrote: |
Hi All,
We got a situation, where a log of messages are to be PUT into a Queue. And those logs of messages are stored in a text file. Those are around 3000 messages (of course not that big figure but not a small figure too to deal with it manually.)
Any clue/command/program/script/tool ?
Appreciate that.
Thanks |
How about the amqsput0.c sample program, modified to handle longer messages? Just feed the text file to standard input. _________________ Glenn |
|
Back to top |
|
 |
|