Hi All
I need some help to get an ETL logic to process files from source to target. We have a third party vendors who provides source files few in xml and few in excel.
They have a nightly job that drops files on to shared drive.
I need to build a prerequisite logic before i load the tables in to target as follows
1) Check all the xml files are latest or not. This can be done by checking the timestamp at the end of each file name. If the files are not latest do not load and send an email to customers.
2) Check all the excel files are latest or not. Even though if any of these files are not latest we are okay to load.
How can i get this file info to loaded in to tables and do the checks.
Thanks