A -> B -> C (When A is complete, it triggers B. Once B is over it triggers C, also B is a requirement for few other jobs).
B uses an already existing file say FILE1.
We need to put some mechanism that will count the number of records in FILE1. If this count is more than a predefined limit then a notification mail should be sent to the support. The support should find the cause for this increase and if everything looks ok then will continue with processing.
We don’t want to schedule new job(s) in Ca7. Reason: This verification mechanism is needed for lot of jobs.
We will modify job B so that it counts the number of records in file FILE1. If this count exceeds the upper limit then it should send a notification mail to support and it abends.
Problem with Solution:
We don’t want B to abend if record count exceeds the limit.
If we design our job such that it doesn’t abend then it will trigger other jobs in Ca7.
We would like job B to go on hold after sending a notification mail.
Please suggest if this is achievable.
Also, please let me know if you have some alternate ideas.