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 » WebSphere Message Broker (ACE) Support » Read all the files from a Directory and Merge as Single File

Post new topic  Reply to topic
 Read all the files from a Directory and Merge as Single File « View previous topic :: View next topic » 
Author Message
arunkumar1989
PostPosted: Tue Nov 18, 2014 8:57 pm    Post subject: Read all the files from a Directory and Merge as Single File Reply with quote

Voyager

Joined: 21 Nov 2012
Posts: 98
Location: Chennai

Hi All,

As per my requirement , A flow need to call at particular time and read all files from a Directory and merge it as single file.

I have done the timer part , The flow calling at particular time, now the thing is that need to read all files from directory and merge it as single,

Can any one give idea for this.


Thanks,
Arun
_________________
Being in a crowd when you are alone is ignorance. Enlightenment is being alone in a crowd; a feeling of oneness in a crowd.
Back to top
View user's profile Send private message Send e-mail
kimbert
PostPosted: Wed Nov 19, 2014 4:16 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

Quote:
Can any one give idea for this
Yes - but we prefer you to do some reading first. We simply do not have the time to provide training on this site.
Try a few ideas, use Google to resolve initial problems, and come back with a specific question if you get stuck. Make sure that your next post includes full details of what you tried, and what happened.
_________________
Before you criticize someone, walk a mile in their shoes. That way you're a mile away, and you have their shoes too.
Back to top
View user's profile Send private message
McueMart
PostPosted: Wed Nov 19, 2014 4:18 am    Post subject: Reply with quote

Chevalier

Joined: 29 Nov 2011
Posts: 490
Location: UK...somewhere

Sounds like the kind of job which could be done in a few lines in a JCN. Heck, if your requirement is really that simple, I bet a few lines on bash running on a cron job could do it!

Im sure you could also do it using FileRead nodes / ESQL but would likely be more effort.
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Nov 19, 2014 5:31 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

McueMart wrote:
Heck, if your requirement is really that simple, I bet a few lines on bash running on a cron job could do it!




If all you want to do is hit a nail into a piece of wood, a simple hammer will do. You don't need an expensive power driver even though it works.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
arunkumar1989
PostPosted: Sun Nov 23, 2014 11:10 pm    Post subject: Reply with quote

Voyager

Joined: 21 Nov 2012
Posts: 98
Location: Chennai

Thanks vitor,McueMart,kimbert for your replies.

I have done with two flows like one is invoker another one will do the process with help of Timenotification and File Read nodes.


Thanks All,

by
Arun
_________________
Being in a crowd when you are alone is ignorance. Enlightenment is being alone in a crowd; a feeling of oneness in a crowd.
Back to top
View user's profile Send private message Send e-mail
Vitor
PostPosted: Mon Nov 24, 2014 5:43 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

arunkumar1989 wrote:
I have done with two flows like one is invoker another one will do the process with help of Timenotification and File Read nodes.


That's a big, expensive power driver you have there.....
_________________
Honesty is the best policy.
Insanity is the best defence.
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 » WebSphere Message Broker (ACE) Support » Read all the files from a Directory and Merge as Single File
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.