Hi All.
I have a program which schedules several jobs based on some complex criteria maintained in a config table. Some of the jobs scheduled can be in a chain, some can be independent.
At the end of all these jobs which my program spurned off, I want to run another program which will collect their spools and send it in one shot to a recipient.
How can I know when all my jobs have completed? I know I can look at TBTCO table - but can I trigger the spool sending program automatically based on completion of all jobs?
The point is I do not know which job can complete at the end - otherwise I could have triggered an event from that last job.
Any clues please?
Thanks in adv.
No, without a 3rd party product. Since you have jobs without dependencies, your 'automatic' process has to be a polling process for the spawned jobs from the current program or another spawned job.
Add a comment