I have 10 jobs, which run COBOL-IMS programs. Details of the scenario is below.
Job1 triggers 9 jobs, i.e., Job2 - Job10. All the jobs Job2 - Job10 reads and/or update IMS database. Problem is that, as they trigger at a time and access the same PSB at a time, Deadlocks are happening frequently.
NOTE: All the jobs Job2 - Job10 takes around 10 to 20 sec as of now for the complete execution.
CA7 has no dependency aong the jobs Job2 - Job10.
I would like to set the dependency among the jobs Job2 - Job10, in such a way that, only one job from the set Job2 - Job10 should run at any time, rest should wait in the queue. Is there way to get it done in CA7. Is there any specific term to call this kind of scheduling?
Anyone have implemented this kind of dependency before ? Please share your experience. I would like to hear if there are any drawbacks.