I have predefined groups of email IDS for ech and every job. so, I need to send email to those particular groups corresponding to the job which has failed. Whats the best way to do it?
The method to send a shout to a script is not limited as you think because you have a centralized point to send e-mails.
Another way is to send a shout to ECS (the alert GUI), this message usualy is coded. (note that is also a centralized point: the EM server).
The alerts can be sent to a script, but be carefull ALL Alerts are sent.
In the scritp you must parse the snmp message but you have many informations: jobname, group, application, hour, time, severity, message, etc.
So you can reconize messages from one group of jobs and send an e-mail to a e-mail group.
I've build this for all the jobs that run on MVS controlm that has not the e-mail.
But is also a method to send an e-mail without writing informations on the jobs. In fact by default controlm send an alert if a Job end notok....
So I use it when there are many mail segnalations to do and to administrate, and at job level is hard.
But write well the program: be carefull.