BookmarkSubscribeRSS Feed
siddhantk989
Calcite | Level 5

Hi,

 

  I am getting data from database in SAS Enterprise 7.1 and my next step is to automate the mail merge process using SAS.

 

  Is it possible using SAS that I can merge the data with a Microsoft word template, generate letters and send those letters as an attachment to the designated customers?

 

  Any kind of help would be great.

 

  Thanks in advance!

 

Thanks,

Siddhant

5 REPLIES 5
siddhantk989
Calcite | Level 5

Hi @Kurt_Bremser

 

 Thanks for the quick response and I completely get that writing the VBA code is more efficient as this was my suggestion as well, but the requirements are that I need to use SAS to do the process. Is there any way that this can done using SAS?

 

Thanks,

Siddhant

Vince_SAS
Rhodochrosite | Level 12

If you need to do this entirely using SAS, then see my post from yesterday.

 

Vince DelGobbo

SAS R&D

Vince_SAS
Rhodochrosite | Level 12

There are ways to send bulk email using ODS and the EMAIL engine of the FILENAME statement.  Here are some references:

 

https://www.lexjansen.com/search/searchresults.php?q=email

 

Vince DelGobbo

SAS R&D

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 lock in 2025 pricing—just $495!

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
  • 5 replies
  • 2985 views
  • 2 likes
  • 3 in conversation