Email Notification activity

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
hemant
Participant
Posts: 67
Joined: Mon Dec 15, 2003 6:43 am

Email Notification activity

Post 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
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post 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.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
hemant
Participant
Posts: 67
Joined: Mon Dec 15, 2003 6:43 am

Post 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
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Manager - Routines / Built-In / Utilities - DSSendMailTester.
-craig

"You can never have too many knives" -- Logan Nine Fingers
lstsaur
Participant
Posts: 1139
Joined: Thu Oct 21, 2004 9:59 pm

Post by lstsaur »

Hi,
Take a look the routines under the Built-In>Utilities, especially DSSendMailTester and DSSendMailAttachementTester. Good luck.
hemant
Participant
Posts: 67
Joined: Mon Dec 15, 2003 6:43 am

Post 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
kduke
Charter Member
Charter Member
Posts: 5227
Joined: Thu May 29, 2003 9:47 am
Location: Dallas, TX
Contact:

Post by kduke »

I posted a routine which can be used as a routine activity. Any routine activity can take parameters.
Mamu Kim
hemant
Participant
Posts: 67
Joined: Mon Dec 15, 2003 6:43 am

Post 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 .
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post 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).
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
kduke
Charter Member
Charter Member
Posts: 5227
Joined: Thu May 29, 2003 9:47 am
Location: Dallas, TX
Contact:

Post 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.
Mamu Kim
Post Reply