BookmarkSubscribeRSS Feed
shikpop
Calcite | Level 5

Hi Guys,

 

I have 18 datasets in my output window and these 18 datasets has to be attached in excel format on outlook to 18 different people.

Can you please guide me as to how I can do this?

 

Thanks

3 REPLIES 3
shikpop
Calcite | Level 5

Hi Thanks for such a quick reply!

 

I've gone through this article but there is one thing I fail to understand that if i want different workbooks for each output dataset which method should I go for?

And is there an option where the xlsx file i create can be sent via mail?

 

Thanks

Kurt_Bremser
Super User

If you use proc export, each proc export call will create a new file (=workbook).

 

Once files are created, filename email in SAS allows to attach files.

 

As already advised, sending datafiles per email is not good. Providing files for download with sftp(SSH) or https is the way to go.

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

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
  • 3 replies
  • 1917 views
  • 0 likes
  • 3 in conversation