I have a job to be scheduled and would like to know whether my approach is right
Job A is a daily job runs around 6 AM
Job B is a job gets triggered by job A
Now I have to schedule job C which is triggered on only specific days and should be run between Job A and job C. Below are the steps I am planning to do
1. Schedule the job C as time triggered at 6 AM under different SCHIDs for each day
2. Add Job A with SCHID 000 as requirement to Job C
3. Add a virtual resource between Job C and Job B. This will make job B always wait for Job C to complete.
How this works?
My understating about the approach is, Job C always comes to queue and locks the virtual resource. At the same time waiting for job A to complete. This will ensure job C always runs second.
Joined: 10 May 2007 Posts: 2218 Location: Hampshire, UK
Why not have job C in its own SCHID with an external predecessor of job A and the tme dependency, and change job C in the existing SCHID to have an external predecessor of job C? Why special resources?
In my previous shop we always used the RM for negative dependency due to its advantage in handling ABEND situations.
Thanks for your suggestion, I am talking to CA7 support to identify a best solution. I will post it when I get one.