BookmarkSubscribeRSS Feed
May15
Obsidian | Level 7

Hi all,

 

I know that it is possible to generate an email through the "Publish to Email" Transformation in SAS DIS. However, we can only use it if our source is a data set, right? 

 

Is there any other way to generate an email using SAS DIS transformations (excluding the User written code where I could use the FILENAME EMAIL statement for example)?

 

 

Thanks,

 

May15

3 REPLIES 3
LinusH
Tourmaline | Level 20
It's SAS so options are as usual many.
Tell us what you want to do, and then hopefully we can guide you to a decent solution.
Data never sleeps
May15
Obsidian | Level 7

Hi LinusH,

 

For example, I'd like to send an email that contains a message that is previously saved in a .txt file. I know how to do that using the FILENAME EMAIL statement in User Written Code as I said above. I just wanted to know if there is a specific transformation (not including User Written Code) through which we can do something like that. It is just to get more envolved with the transformations provided by DIS and not only with User Written Code. I think the "Publish to email" transformation only works if the source is a data set.

 

 

Hope it helps.

 

 

Thanks,

 

May15

LinusH
Tourmaline | Level 20
This is still the how, not the why.
Remember, DI Studio is for generating code for data flow - ETL. Usually sensing emails is not part if that flow, rather as an utility to send notice to administrators, data stewards and power users. And that can be handled in post processing of transformations or jobs.
Data never sleeps

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

How to connect to databases in SAS Viya

Need to connect to databases in SAS Viya? SAS’ David Ghan shows you two methods – via SAS/ACCESS LIBNAME and SAS Data Connector SASLIBS – in this video.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 3 replies
  • 1422 views
  • 0 likes
  • 2 in conversation