The SAS Output Delivery System and reporting techniques

File attachment in Email

Reply
N/A
Posts: 0

File attachment in Email

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.
SAS Super FREQ
Posts: 8,864

Re: File attachment in Email

Posted in reply to deleted_user
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
Ask a Question
Discussion stats
  • 1 reply
  • 153 views
  • 0 likes
  • 2 in conversation