Dear all:
Background: We have online triggered jobs in production , as there is no monitor process, so sometimes when user raised incident, after checking we find the root cuase is that the online triggererd jobs failed several days ago.
So we want to build the monitor, we want to add below step as the notify step at the end of the Job. But the issue is, if the Job failed with JCL error or other issue that terminate the whole Job, for example, dataset not found or migrated file recall failed. all the downstream steps will skipped and the monitor will not work.
Could someone help to have a look and point out how to deal with this, thanks in advance.
// IF (ABEND OR RC NE 0) THEN
//LASTSTE FOR SNED OUT NOTIFY MAIL
// ENDIF