I am using abandon dependency to drop the dependency of predecessors at a specific time if the predecessors are not complete by then..
$Job A run daily rel(Job B)
rel job c
Abandon dependencies 6:00
Now the Job C will get released either when Job completes before 6 or if the job B doesn't completes by 5:59 , Abandon dependency will ensure that job C will be release at 6:00 even if Job A,B is not complete..Since it will drop the dependency (which is Job A) on Job B at 6.
Now, my requirement is to trigger an email job only when dependency is dropped at 6.. If the Job C completes without dependency getting dropped before 6 then the email job should not get triggered..
I'm not if you are using ESP Work Station or a TSO console for this.
In case of ESP Work Station - you can find the NOTIFICATION tab in PROCESS.INPUT dialog when you right click on the job to mention the ALERT ID which will invoked when the job is overdue.
If in case of TSO console -
1. Use the NOTIFY statement in an ESP Application to identify when to
trigger the Alert.
2. Define the Alert with the ALERTDEF command.
3. Define the Event triggered by the Alert.
For removing dependency, have written below is the code-
$JOB DUMMY.3 RUN(DAILY) REL(DUMMY.8)
ABANDON DEPENDENCIES 06:00
The above lines of code will ensure the JOB DUMMY.4 gets released at 6:00 even if DUMMY.3 doesn't completes by 6:00. Since, abandon clause will drop the dependency of DUMMY.3 on DUMMY.8 at 6:00.
Now, i want to trigger an email job(which will notify users that dependency has been dropped) only when dependency gets dropped at 6:00. This email job should not get triggered when DUMMY.3 releases DUMMY.4 normally before 6:00.
Like If DUMMY.3 is not complete and DUMMY.4 is complete at 6:01 then release email JOB
else if DUMMY.3 is complete and DUMMY.4 is complete before 6:01 then
DON'T release email JOB.
Can you help me like, How can i set up the condition for sending the alert or triggering an email job(which will notify users that dependency has been dropped whenever dependency gets dropped)?