After job failure sysout is to be attached to mail directly

Post Reply
User avatar
archu
Nouveau
Nouveau
Posts: 18
Joined: 27 Apr 2009 12:00

After job failure sysout is to be attached to mail directly

Post by archu » 12 May 2010 1:36

Hello All,

I need a small help urgently.

When a job gets failed, that failed job needs to pickup the sysout as a attachement and send it to particular mailid.

How can we do this. Please help me.

User avatar
fafa1975
Nouveau
Nouveau
Posts: 31
Joined: 18 Mar 2010 12:00

Post by fafa1975 » 12 May 2010 2:43

Hi,
You can attach sysout in Control/M v. 6.4 (maybe even in 6.3).
You have to configure the Do mail parameter in the Steps tab from Jobs editing form.
If you still use version 6.2, you can send mail from PostProc or Steps tabs from Jobs editing form.
And you could add the path of the syslog (see PostProc sysout handling) in the mail message.
Or you have to create a script using sendmail (Linux/Unix) or CDONTS (Windows).
Regards,
Fabrizio

User avatar
Samarth_Vyom
Nouveau
Nouveau
Posts: 25
Joined: 11 Nov 2009 12:00

Post by Samarth_Vyom » 13 May 2010 10:39

In 6.4 you can directly send mail from "Steps" tab of Job creation window.

On Statement
Do Mail

But before doing this
You have to set SMTP parameters through ctm_menu
1. open ctm_menu
2. Parameter customization
3. SMTP parameters

Simple Mail Transfer Protocol Parameters Menu
----------------------------------------------

Select one of the following options:

1 - SMTP Server (Relay) Name :
2 - Sender Email : CONTROL@M
3 - Port Number : 25
4 - Sender Friendly Name :
5 - Reply-To Email :
6 - Test SMTP Settings

User avatar
Vijayalax
Nouveau
Nouveau
Posts: 1
Joined: 28 Sep 2010 12:00
Contact:

Post by Vijayalax » 28 Sep 2010 9:59

Nice information. Thanks for sharing with us. Nice option


Thanks,
Vijaya
Multimedia Jobs

User avatar
aarvj
Nouveau
Nouveau
Posts: 7
Joined: 25 May 2011 12:00
Location: Bangalore

Post by aarvj » 07 Jun 2011 11:07

Hi,

Kindly let me know where we need to set SMTP parameters.

I mean which windows.If you say the menu details ..it will be fine..

Post Reply