Hi All,
I have a DQL query which fetches all the details of the current jobs which are running and active with all the status.
select r_object_id,object_name,a_last_invocation,a_current_status,is_inactive, title,a_last_completion,a_next_invocation,target_server,expiration_date from dm_job where is_inactive='0'
I want to create a job which runs this query every half hour and check for exceptions like Failed, Aborted etc.,
It would be of great help if you people help me in DFC Code for emailing an alert using the attribute a_current_status.
If there are any exceptions then only we should be able to send the email to specific email list.
Thanks in Advance!
Regards,
Raina