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.
After job failure sysout is to be attached to mail directly
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
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
- Samarth_Vyom
- Nouveau
- Posts: 25
- Joined: 11 Nov 2009 12:00
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
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