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

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