I'm doing automation task for my team and I just started to learn unix scripting so please shed some light on how to do this:
1) I have 2 sets of datafiles - datafile A and B. These datafiles must be loaded subsequently and cannot be loaded concurrently.
2) So I loaded datafile A first. It will take long - hours to complete. I do not want to wait before I can load datafile B.
3) How to write script that will automatically pick up datafile B soon after datafile A finishes loading?
Please please help me.. I need to come out with this unix script as soon as possible.. Thanks guys..
hi quirkasaurus.. thanks but the datafiles are not the data from database.. they are .txt files (located in a directory in the server) that contains raw data and the loader will process them into a meaningful data report.
Just write a script that does the first part . . .. then the second....
Just don't put anything into the background and it should work the way you want.
hi i tried this but unfotunately datafileA and datafileB both goes to /load directory at the same time and get loaded into the sentry concurrently. this is not the correct behavior.