Call DSExecute
Posted: Wed Dec 14, 2005 7:05 pm
Hi
I am using this function in one of my routine to send an email with an attachment "Call DSExecute(ShellType, Command, Output, SystemReturnCode)"
this is my syntax in the routine
Call DSExecute("UNIX",'/usr/bin/uuencode filename filename|/usr/bin/mailx -s "SUBJECT" "you@you.com,me@me.com"','Output','SystemReturnCode')
when i hardcoded the file name and email address everything is working fine, but when i try to pass filename and email address as arguments it is not sending the email.
I am using DataStage 7.1
Is there any way to pass the filename and email address as parameters.
Please throw some suggestions.
I am using this function in one of my routine to send an email with an attachment "Call DSExecute(ShellType, Command, Output, SystemReturnCode)"
this is my syntax in the routine
Call DSExecute("UNIX",'/usr/bin/uuencode filename filename|/usr/bin/mailx -s "SUBJECT" "you@you.com,me@me.com"','Output','SystemReturnCode')
when i hardcoded the file name and email address everything is working fine, but when i try to pass filename and email address as arguments it is not sending the email.
I am using DataStage 7.1
Is there any way to pass the filename and email address as parameters.
Please throw some suggestions.