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.

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and save with the early bird rate—just $795!

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