generate filename dynamically and pass as parameter
Posted: Wed Jan 25, 2006 5:18 am
Hi, How can I watch for a file in a particular directory whose name changes everyday?
We will have data from sequential file as daily feed and the filename will be like <some name>appended to today's date (for eg. seqfile_25.01.06.txt). This date suffix will change everyday. So, we'll need to build the string dynamically and pass it on the file watcher. In clues on how can i build a paramter dynamically and pass it on to a stage, say the file watcher stage.
Any other simpler ideas of achieving the same ??
We will have data from sequential file as daily feed and the filename will be like <some name>appended to today's date (for eg. seqfile_25.01.06.txt). This date suffix will change everyday. So, we'll need to build the string dynamically and pass it on the file watcher. In clues on how can i build a paramter dynamically and pass it on to a stage, say the file watcher stage.
Any other simpler ideas of achieving the same ??