I wrote an email messaging system that triggers off IBM Systems Automation trapped msgs- runs clists which invoke a proc invoking SMTP with custom msgs and userids as per msg. However, any triggering off msgs would depend upon the msgs being written to the console and I do not think that the IEF142I msg containing the condition code could or should be outputted to a systems console.
-----Original Message----- From: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] On Behalf Of Thompson, Steve Sent: Thursday, March 18, 2010 12:04 PM To: IBM-MAIN@bama.ua.edu Subject: Re: Notify a user if a job ends with non zero RC -----Original Message----- From: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] On Behalf Of Jim McAlpine Sent: Thursday, March 18, 2010 10:22 AM To: IBM-MAIN@bama.ua.edu Subject: Notify a user if a job ends with non zero RC There are probably a number of ways to achieve the above but I'm looking for the best way. Basically if any step in a job ends with a non zero return code, I want to notify a particular user who will not be the submitting user. I've done this in the past but I'm looking for the latest tricks to achieve this. <SNIP> If you are running an automated operations product, you should be able to trigger off the JOBNAME and MSGID. This is a quick way of doing this without having to write an exit, a lot of REXX code, etc (depending on which AO product you have -- if any). Regards, Steve Thompson ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html