I've just started using some basic ODS features, and have been working around with having procedure output automatically emailed to a recipient list.
There is an article in the SAS Support Knowledge base with this, and includes a code sample. However, when I try to run that sample, the code 'run's but then hangs and never actually closes out. (EG Continues to show status as 'Running PROC PRINT')
The issue actually is that the email distribution is working. The entire piece of code works through 'completion', its just that it literally doesn't close out. It continues to run even though there are no other statements to process.
Check that your last data step is closed with a Run; statement and if your last step in the code node is a procedure then ensure that you have closed its execution with either a Run; or Quit; statement as is needed for the procedure.
If the code is complete with a final "Run;" statement, you may have an email configuration problem.
What email service is being used by your SAS server?
Has your email server decided to prompt the SAS program (like outlook might for security or an email address clarification). Through EG your SAS program would have no window in which to pass the question back to you ~ so the email server remains waiting for the SAS program to decide what to do.