SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 18635: Code to Email results might hang SAS® Enterprise Guide

DetailsAboutRate It
Code similar to the following can be used to email results in SAS
Enterprise Guide. However, it may hang even though the results are
sent.

   filename mailtest email
      to = ("first.last@company.com")
      subject = "test"
      type="text/html";
   ods html body=mailtest style=default;
   proc print data = sashelp.class;
   run;
   ods html close;

To restore your SAS Enterprise Guide session, right-click on the item in
the Task Status window and choose End SAS.

To circumvent the problem, go to Tools => Options => Results => Results
General, and unselect all the Result Formats. Then rerun the code.

Or, add this line of code at the top of your program:

   ods _all_ close;


Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS Enterprise GuideMicrosoft Windows XP Professional4.14.29.1 TS1M3 SP19.2 TS2M0
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.