Page 1 of 1

Email Files From scheduled jobs

Posted: Tue Jan 15, 2008 12:53 pm
by sribuz
Hi,

I developed a job which creates a file with date appending its name.

something like filename_2008-01-15.txt filename_2008-01-08.txt so on..

I have used a notification activity stage in sequence job and would like to attach these files.

how do I do that ?

I tried using Job parameter pram1 with value filepath/filename_#DSJobStartDate#.txt

and mentioned this param1 as file attachment i.e #param1#

but its not recognizing #DSJobStartDate#.

where did I went wrong ?

Posted: Tue Jan 15, 2008 1:17 pm
by DSguru2B
Try giving the following as the parameter value inside the job activity stage.

Code: Select all

filepath/filename_:OCONV(Date(), "D-YMD[4,2,2]"):.txt