08-19-2013 04:06 PM
region and dups are two columns in a given data set.
If all the values in dups are 0's no need to send an email.
if one of them is not zero like for r2, need to send an email with the above dataset attachment.
08-19-2013 07:15 PM
There are SAS documentation and white papers with example code around for everything you need to do.
What have you implemented so far? What is not working? Can you be more specific and also provide the code with error log you've already could come up with?