How to create Automatic Job Control
Posted: Wed Jun 01, 2005 4:29 am
I would like to create one Job Control that includes all features as follows:
1. It can be applied to control every sub-jobs I created.
2. Automatic get the name of all flat files from Unix Server and pass it as a parameter to sub-job to process.
I have a number of Server jobs to populate data from flat file to Oracle tables, I call them as sub-jobs. Each sub-job reads different flat file name.
And since in each day, the number of source files are difference. Hence, I need one job control to control sub-job to run as many times as the number of source files by pass the file name as a parameter to sub-job.
Such as, there are 7 flat files with difference 7 names, that job needs to be run 7 times.
Your suggestions are very appreciated.
Thank you.
1. It can be applied to control every sub-jobs I created.
2. Automatic get the name of all flat files from Unix Server and pass it as a parameter to sub-job to process.
I have a number of Server jobs to populate data from flat file to Oracle tables, I call them as sub-jobs. Each sub-job reads different flat file name.
And since in each day, the number of source files are difference. Hence, I need one job control to control sub-job to run as many times as the number of source files by pass the file name as a parameter to sub-job.
Such as, there are 7 flat files with difference 7 names, that job needs to be run 7 times.
Your suggestions are very appreciated.
Thank you.