12-16-2015 09:03 AM
Output to file will be done by using the ODS system. You can print to PDF simply by:
ods pdf file="c:\file.pdf"; ...your code here... ods pdf close;
You should also look at the SAS help documentation on the ODS system for full documentation and examples.
12-16-2015 10:43 AM
Menu File -> Send Mail
is another option though this sends the results as the body of the file not an attachment.
Learning ODS is highly recommended though as there are many options available.