BookmarkSubscribeRSS Feed
new_sas_user_4
Obsidian | Level 7

Hello everyone,

 

I am able to create a proc report in SAS.

I want to be able to send this report as a pdf in outlook. 

What are the steps to achieve this?

Any documentation available would also be a great help!

 

Thanks!

 

 

4 REPLIES 4
PeterClemmensen
Tourmaline | Level 20
ods pdf file="YourPathHere\class.pdf";

proc report data=sashelp.class;
run;
new_sas_user_4
Obsidian | Level 7

I just have the proc report portion ready...nothing before or after it....like odstext/ods pdf/ods proclabel

I want to send it from my email address with subject and body of the mail etc..

 

This is my first time trying to do this...sorry if my questions sound lame..

Cynthia_sas
SAS Super FREQ

Hi:

  First, before you do anything else speak to your SAS Administrator or mail administrator. In order to set up emailing you have to be able to have some system options turned on that enable emailing.

 

  Once this step is done, you should be able to perform emailing as shown in this paper http://support.sas.com/resources/papers/proceedings11/300-2011.pdf on page 7. The paper shows making an attachment from an RTF file and then mailing it. But the same technique works for ODS PDF.

 

Hope this helps, Cynthia

SAS Innovate 2025: Register Now

Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!

Mastering the WHERE Clause in PROC SQL

SAS' Charu Shankar shares her PROC SQL expertise by showing you how to master the WHERE clause using real winter weather data.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 4 replies
  • 762 views
  • 0 likes
  • 3 in conversation