i have an issue where i get flat file with date and time extension to flat file name like test_28-10-2012.txt
I can get the flat file name in mapping through checking the AddCurrentlyProcessedFileName
property in Source Analyzer,from there i can do my logic but my question is
how can i dynamically give the flat file name in Source file name property of session.
One way to do this is to use indirect sources. You can configure your session to use indirect sources, wherein the source file names are coming from a text file (each entry in the listfile is a source file session will read).
Then you can arrange your code to add that dynamic filename to that listfile.