Implementation Diffferences Shell Script vs Datastage
Posted: Wed Jan 18, 2012 4:27 pm
We have a requirement to do the following in our project:
- Poll for file. If it does not come by X secs, then send a DList , then continue to poll. If it does not come by Y secs send an email to different Dlist and continue to poll. If it does not come by Z secs, then continue to poll and exit.
- Once file received, then trigger a series of jobs.
- File archive/ backup
- finally exit
Is it best to do this in Datastage (is it possble at all) or thru a script. Thank you
- Poll for file. If it does not come by X secs, then send a DList , then continue to poll. If it does not come by Y secs send an email to different Dlist and continue to poll. If it does not come by Z secs, then continue to poll and exit.
- Once file received, then trigger a series of jobs.
- File archive/ backup
- finally exit
Is it best to do this in Datastage (is it possble at all) or thru a script. Thank you