I've a question and I'm not sure if it has been answered or not. I've done a search and couldn't find any similar questions. Here goes my question:
There is a JCL in which I want to have an email step at the end. This step should be triggered whenever there is an abend in ANY of the previous steps. I know that this is possible by using COND=ONLY. However, this COND=ONLY does not support System generated abends like S322, S722. For instance, say Step1 abended with S322 and hence all the other following steps will be flushed which also flushes my Email step .
Please let me know if there is anyother way to tap this System abends. This is quiet urgent and looking for your support ASAP.
Joined: 26 Apr 2004 Posts: 3264 Location: Charlotte,NC USA
Do you have system automation software available (including job schedulers, Netview, or console automation )? Any one of these should be able to trap and process on the event messages (IEF403I for start of sjob, IEF404I for a successful EOJ or IEF450I for a job abend) and create your emails.