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
-
medakiran
- Participant
- Posts: 19
- Joined: Thu May 12, 2005 10:08 pm
Post
by medakiran »
Hey Folks,
Can anyone help me!!!!!!!!!!
I'm getting the following warning when i'm trying to send mail using th DSSendMail After-Job subroutine.
"JobCont..AfterJob (DSSendMail): The following tokens in the 'dssendmail_template.txt' file have not been set in the call to DSSendMail: %from%,%to%"
thanks.
-
DeepakCorning
- Premium Member
![Premium Member Premium Member](./images/ranks/premium.gif)
- Posts: 503
- Joined: Wed Jun 29, 2005 8:14 am
Post
by DeepakCorning »
Did you supplied the routine all the input Parameters that it requires??
DSSendMail("From:me@here\nTo:You@there\nSubject:Hi ya\nBody:Line1\nLine2")
-
ray.wurlod
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
-
Contact:
Post
by ray.wurlod »
If you are using a Notification activity in a job sequence this error results from not supplying a sender and receiver email address.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
-
medakiran
- Participant
- Posts: 19
- Joined: Thu May 12, 2005 10:08 pm
Post
by medakiran »
Hi Ray,
I'm trying to use the after job subroutine present in the "General" Tab under the "Job properties" for a simple server job.
Thanks.
-
DeepakCorning
- Premium Member
![Premium Member Premium Member](./images/ranks/premium.gif)
- Posts: 503
- Joined: Wed Jun 29, 2005 8:14 am
Post
by DeepakCorning »
Then I am pretty sure the format you are providing in the tab is wrong.
-
ray.wurlod
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
-
Contact:
Post
by ray.wurlod »
Take a look at the supplied routine DSSendMailTester to see the proper way to invoke the function.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.