Our scheduled job is created using a chain of programs. Below is the flow.
start the job-->prg1-->COMPLEDED-->prg2--COMPLETED-->prg3-->COMPLETED-->prg4-->COMPLETED-->finish the job
I want to get the email notification(error messge also), when any of the steps in the chain fails in the job.
I have tried this scenario, but I am not getting the error message if a program in the chain fails.
Please guide me , if there is anyway to achieve this.