Page 1 of 1

Issue with attachment in email notification

Posted: Thu Oct 24, 2013 10:33 pm
by ysrini9
In the Attachment option, we are passing two parameters as
#Src_Dir##File#
#Src_Dir# for /data/Proj/source/Arrival/

#File# for File name


We need to send one file attachment through Mail .we are not able to send that attachment.

There are issues mentioned below.

In Datastage Warning:
sSeq_BOS_STAG_PPI..JobControl (DSSendMail): Cannot open attachment file /data/Proj/source/Arrival/

In Unix warning:

WARNING - MISSING ATTACHMENT: Cannot open attachment file '/data/Proj/source/Arrival/'

Please help me on this..

Posted: Fri Oct 25, 2013 12:06 am
by chulett
I believe you have to use a single job parameter there.

Posted: Fri Oct 25, 2013 2:02 pm
by ray.wurlod
But first verify (in the job log) that #File# is being passed correctly to the job.