Page 1 of 1

Email Notification activity

Posted: Mon Oct 03, 2005 3:28 am
by hemant
hello ,

I am using the Email notification activity in my sequencer job which is giving me a mail pattern as below:
but i don't want such descriptions inspite i want only first 6 lines can it be possible ???
secondly can i use my job parameters in this email notification so to customized it .

**************************************************
STATUS REPORT FOR JOB: GLDHierarchy
Generated: 2005-10-03 04:28:27
Job start time=2005-10-03 04:27:55
Job end time=2005-10-03 04:28:27
Job elapsed time=00:00:32
Job status=1 (Finished OK)
Stage: Hash_Hierarchy.IDENT2, 4 rows input
Stage start time=2005-10-03 04:27:57, end time=2005-10-03 04:27:57, elapsed=00:00:00
Link: Lnk_H_HIERARCHY, 4 rows
Link: Lnk_H_HIERARCHY, 4 rows
Stage: Hash_SFsgDefination.IDENT1, 4 rows input
Stage start time=2005-10-03 04:27:58, end time=2005-10-03 04:27:58, elapsed=00:00:00
Link: Lnk_SFsgDefination, 4 rows
Link: Lnk_SFsgDefination, 4 rows
Stage: Trans_AxisId, 40477 rows input
Stage start time=2005-10-03 04:27:57, end time=2005-10-03 04:28:13, elapsed=00:00:16
Link: Lnk_Rg_Report_Cal, 40477 rows
Link: Lnk_FsgAxisId, 115 rows
Link: Lnk_AXISID, 115 rows
***************************************************************
Hemant Krishnatrey

Posted: Mon Oct 03, 2005 5:44 am
by ray.wurlod
No, but you can write your own Routine and call it from a Routine activity. Look at the supplied test routine as a start point.

Posted: Mon Oct 03, 2005 9:59 am
by hemant
ray.wurlod wrote:No, but you can write your own Routine and call it from a Routine activity. Look at the supplied test routine as a start point.
But from where i can get "supplied test routine as a start point" plz. let me know more explicitly, so that i can get a clearly

Regards
Hemant

Posted: Mon Oct 03, 2005 10:43 am
by chulett
Manager - Routines / Built-In / Utilities - DSSendMailTester.

Posted: Mon Oct 03, 2005 10:46 am
by lstsaur
Hi,
Take a look the routines under the Built-In>Utilities, especially DSSendMailTester and DSSendMailAttachementTester. Good luck.

Posted: Tue Oct 04, 2005 2:27 am
by hemant
lstsaur wrote:Hi,
Take a look the routines under the Built-In>Utilities, especially DSSendMailTester and DSSendMailAttachementTester. Good luck.
Thanks but can i pass my project related parameters which are coming from the previous job to this mail routine - if i make the new cuotomised routine of mine.
cause mine problem is passing the parametes to the mail .

plz. suggest

Posted: Tue Oct 04, 2005 6:53 am
by kduke
I posted a routine which can be used as a routine activity. Any routine activity can take parameters.

Posted: Tue Oct 04, 2005 11:01 am
by hemant
kduke wrote:I posted a routine which can be used as a routine activity. Any routine activity can take parameters.
Thanks , its working but if i need to go to other line in a message what option should i use cause /n is not working .

Posted: Tue Oct 04, 2005 4:23 pm
by ray.wurlod
"/n" would never work, you need "\n".

If that's no good, you can try @FM or @VM system variables, or explicitly incorporate Char(10).

Posted: Tue Oct 04, 2005 4:40 pm
by kduke
I noticed that you need a space around " \n " for it process correctly. So "\n\n" is ignored by the send mail routine.