Hello,
I'm not familiar with the styles in sas. I have a program that sends a mail with an attached pdf and the content of the pdf inside the body of the mail.
Basically, in the body of the mail I have an alternance of PROC ODSTEXT and PROC REPORT statements. But with most styles the results is not so good. I tried default style, style=festival, style=minimalist, they all give very different results in terms of format (random space for no reasons before PROC REPORT, random borders circling the PROC REPORT output...). I would like to know if there is a good style to use when you have PROC REPORT AND PROC ODSTEXT in the body of your mail.
Thanks.
I don't show my code because it's not really relevant to the question, as I just want to know what kind of X I can put in styles=X ?
thank you very much
I suggest you make a small complete example (e.g. using sashelp,class) and post it, so that people can try it and play with it.
Are you using ODS HTML? HTML5? something else?
Without an example, it's hard to know whether it's an issue with your code, the style template, or outlook's interpretation of the file.
If you're using ODS HTML or ODS RTF, you could start by getting it working correctly with the output file (viewed in browser/word whatever). Then you can insert that output file into the email and see what outlook does to it.
But you may need to be flexible. You could be in a situation where outlook interprets something differently than your browser. Just like there are differences among browsers.
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!
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.