ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General Discussion » Log of Messages to be Put in a go ?

Post new topic  Reply to topic
 Log of Messages to be Put in a go ? « View previous topic :: View next topic » 
Author Message
shashivarungupta
PostPosted: Wed Jul 01, 2009 12:51 am    Post subject: Log of Messages to be Put in a go ? Reply with quote

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
View user's profile Send private message Send e-mail
exerk
PostPosted: Wed Jul 01, 2009 12:58 am    Post subject: Reply with quote

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
View user's profile Send private message
fjb_saper
PostPosted: Wed Jul 01, 2009 1:10 am    Post subject: Re: Log of Messages to be Put in a go ? Reply with quote

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
View user's profile Send private message Send e-mail
shashivarungupta
PostPosted: Wed Jul 01, 2009 1:16 am    Post subject: Re: Log of Messages to be Put in a go ? Reply with quote

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
View user's profile Send private message Send e-mail
shashivarungupta
PostPosted: Wed Jul 01, 2009 1:21 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
Mr Butcher
PostPosted: Wed Jul 01, 2009 1:36 am    Post subject: Reply with quote

Padawan

Joined: 23 May 2005
Posts: 1716

"Q" Program (MA01 supportpac) could be an option too
_________________
Regards, Butcher
Back to top
View user's profile Send private message
gbaddeley
PostPosted: Wed Jul 01, 2009 9:17 pm    Post subject: Re: Log of Messages to be Put in a go ? Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General Discussion » Log of Messages to be Put in a go ?
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.