BookmarkSubscribeRSS Feed
deleted_user
Not applicable
Hi,

Please let me know is there any option to rename while attaching the PDF files in email step of SAS. And also tell me the cretiria for naming the files for attachment.

Thanks,
Selvi.
1 REPLY 1
Cynthia_sas
Diamond | Level 26
Hi:

Two methods are described here:
http://support.sas.com/faq/ts_qa/0210_htmloutput.html

If you are sending your ODS output as an attachment, you would be using the second method shown in the FAQ. There does not seem to be a way to rename the file on attach, however, since you control the name of the ODS file that you are going to attach, it should not be a problem to give it the name that you want.

For more information about the "rules" of using the FILENAME EMAIL engine, refer to the Help topic: Sending Electronic Mail from Within the SAS System (EMAIL) or the SAS documentation for your operating system. Note that you may need to change SAS system options related to emailing in order for these techniques to work. Also, if you go to Tech Support and search for the terms 'Email' and 'ODS', there are a lot of hits which describe various issues or troubleshooting tips:

http://support.sas.com/techsup/unotes/SN/013/013786.html
http://support.sas.com/techsup/unotes/SN/009/009243.html
http://support.sas.com/techsup/unotes/SN/009/009459.html
http://support.sas.com/techsup/unotes/SN/005/005334.html
http://support.sas.com/techsup/unotes/SN/005/005335.html
http://support.sas.com/techsup/unotes/SN/016/016339.html
http://support.sas.com/techsup/unotes/SN/013/013503.html
http://support.sas.com/techsup/unotes/SN/018/018363.html

Here are some other useful links:
http://support.sas.com/ctx/samples/index.jsp?sid=464
http://www2.sas.com/proceedings/sugi29/170-29.pdf
http://www2.sas.com/proceedings/sugi29/178-29.pdf

For more help with email issues, your best bet is to contact Tech Support.
cynthia

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

How to Concatenate Values

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

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