How to find out which job has an email address
search cancel

How to find out which job has an email address

book

Article ID: 17044

calendar_today

Updated On:

Products

CA Workload Automation AE - Business Agents (AutoSys) CA Workload Automation AE - Scheduler (AutoSys) Workload Automation Agent

Issue/Introduction



How to get the list of email addresses defined in Autosys with their related jobs?

Environment

CA WAAE 11.3.6 SP6 with Oracle Database

Resolution

You can execute this sqlplus command:

SELECT j1.job_name AS Job_Name, j2.job_name AS Box_Name, s.value AS Email_Address FROM ujo_job j1 JOIN ujo_job j2 ON j1.box_joid = j2.joid AND j1.send_notification = '1' AND j1.is_currver = '1' RIGHT JOIN (ujo_strings s INNER JOIN ujo_uninotify n ON s.str_oid = n.notification_emailaddress AND n.job_ver = '1') ON j1.joid = n.joid ORDER BY j1.job_name;