Thank you Nataljak. The image below is how I set it up. Program2 and Program3 both have this condition which work as expected. The macro variable, &ReturnCode_1, is set in Program1. Email is sent regardless of the condition. The conditions work fine for the selection of which program to run, but the email is sent regardless of the condition. It appears to me that the email process exists in the "Distribution" processing whereas the condition logic only applies to the "Process Flow" processing. We use server based SAS EG and MS Office365 as our email system. Although I understand that sending email in my program is supposedly possible, I have been unable to locate in the SAS Community a version that works for our situation, yet I can send email easily via the "Send To" - - -> "Email Recipient as a step in the project" methodology. Regards, Gary
... View more