I finally got sick of not being able to preview SAS programs attached to email when using Outlook that I looked into why it couldn't. It turns out that the fix is easy. You just need to edit the Windows Registry and tell it that the PerceivedType for .sas files is text. Then Outlook knows that it is ok to let you preview the file.
There is a nice example of exactly what needs to change on SuperUser.com.
http://superuser.com/questions/91804/windows-7-preview-other-file-types-as-text-in-preview-pane
Not sure why this isn't the default for .sas files. Perhaps this is something that SAS can fix in the installation routines for PC SAS? Or perhaps it is fixed, but installaiton was rolled out to individual machines properly in my large company?
Thanks Tom. It also allows preview in Windows Explorer.
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.