DATA Step, Macro, Functions and more

Send email by SAS GUIDE

Accepted Solution Solved
Reply
New Contributor
Posts: 4
Accepted Solution

Send email by SAS GUIDE

I have a project in sas that's generate a table and export to excel for a certain folder. My question is how would put another code to export the log of the previous program to my email.

I have the following code

/* send email */

options emailsys=smtp;

filename myemail EMAIL

to="xxx@oxxx.pt"

subject="LOG";

data _null_;

file myemail;

/*put "Log of program.log";*/

run;

filename myemail clear;

run;

What will be the steps I need ?.(I am the client machine and not have privileges to enter the server that is installed Sas Guide)

Thanks


Accepted Solutions
Solution
‎09-24-2013 08:23 AM
Respected Advisor
Posts: 3,799

Re: Send email by SAS GUIDE

Posted in reply to habitusantos

RTM SAS(R) 9.3 Statements: Reference

See the section "Put statement e-mail directives";

View solution in original post


All Replies
Solution
‎09-24-2013 08:23 AM
Respected Advisor
Posts: 3,799

Re: Send email by SAS GUIDE

Posted in reply to habitusantos

RTM SAS(R) 9.3 Statements: Reference

See the section "Put statement e-mail directives";

🔒 This topic is solved and locked.

Need further help from the community? Please ask a new question.

Discussion stats
  • 1 reply
  • 163 views
  • 0 likes
  • 2 in conversation