Joined: 17 Feb 2016
I am looking for information to understand what is the best way to have JOBS scheduler for a given case as below
My requirement - I have a list of JOBS which have to run in particular sequence for various applications. Also among my list of JOBS, while execution there is interdependency among other application jobs.
Example. I have application A, B, C each with 3 JOBS .
A1, A2, A3, B1, B2,B3 & C1,C2, C3 . The sequence of running these JOBS could something be like
So A2 job cannot run unless C3 is completed. Likewise for B2 to be executed C2 must have been completed.
If sequence is known and predictable we can make a format and get the jobs submitted accordingly. But in my case, I have unpredictable sequences and many applications ( which varies each time based on requirement ). In such case when JOBS of application A, B , C are triggered at same time - when there is a interdependency on another application encountered, the tool/logic/script should be able to automatically verify status of dependency JOB and accordingly proceed to next one or wait for completion and then proceed.
So in this situation ( which I feel is common in many major Mainframe applications ) - what is the best way to handle ? Do we already have any mainframe tool / utility for this ? Or using a scripting language and developing a code to match such action is the only solution ?
Can someone who has good experience with mainframe suggest me about it ?
Thanks in advance,