The SAS Output Delivery System and reporting techniques

Issue with ODS Hanging SAS

Reply
N/A
Posts: 0

Issue with ODS Hanging SAS

Hello All -

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')

http://support.sas.com/onlinedoc/913/getDoc/en/lrdict.hlp/a002058232.htm#a002058241

Link to the Doc is noted here - any help would be greatly appreciated.
SAS Super FREQ
Posts: 8,742

Re: Issue with ODS Hanging SAS

Hi:
Your best bet for help with this might be to contact Tech Support. For emailing from a SAS program to work, there are startup time settings that have to be in place for the code to successfully launch email. You also have to know whether you're using Windows Outlook or SMTP for mailing.
http://support.sas.com/kb/14/818.html
http://support.sas.com/kb/18/163.html
http://support.sas.com/kb/10/545.html
http://support.sas.com/kb/5/552.html

cynthia
N/A
Posts: 0

Re: Issue with ODS Hanging SAS

Thanks for the response Cynthia -

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.

I will contact tech support though.
N/A
Posts: 0

Re: Issue with ODS Hanging SAS

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.

Kind regards

David
N/A
Posts: 0

Re: Issue with ODS Hanging SAS

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.

PeterC
Ask a Question
Discussion stats
  • 4 replies
  • 177 views
  • 0 likes
  • 2 in conversation