Hi Folks,
Happy New Year to all. I hope everyone had a great break.
So, here's my first post for this new year.
Our leadership and developers want us to be able to send an email notification to all the SAS users whenever there is a new report object made available to them. I have been researching around this requirement but didn't find any relevant documentation or post. Any help with this requirement would be greatly appreciated.
Thank you.
See this note: http://support.sas.com/kb/30/682.html how to extract user data and their group relationships from the metadata repository.
A google search for "sas extract users from metadata" will reveal lots of other resources dealing with user metadata.
Unless you have stored your email adresses in SAS metadata, you will have to query your LDAP base to retrieve them there.
Define "all users". How do you keep your list of users?
@Alok_Pal wrote:
Well, we have a all the SAS report consumer users grouped in a user group.
In SAS metadata, in LDAP, in the system, in a SAS dataset ....?
See this note: http://support.sas.com/kb/30/682.html how to extract user data and their group relationships from the metadata repository.
A google search for "sas extract users from metadata" will reveal lots of other resources dealing with user metadata.
Unless you have stored your email adresses in SAS metadata, you will have to query your LDAP base to retrieve them there.
You can send email from a SAS DATA step based on a SAS data set containing email addresses. This link should help explain:
That link works fine for me. If not just google: SAS filename email statement 9.4. You could use the scheduler in SAS Management Console to run a job on a regular basis or just run it manually when the developer has published a new report.
@Alok_Pal wrote:
@SASKiwi, it seems the link you've shared is not available anymore. I totally agree with the concept of sending the emails via SAS DATA step but my question is how would I trigger that emailing event. Is there's a way to trigger the event either via SAS program or SAS MC or maybe something else?
I've found that the new SAS documentation website seems to have issues with specific configurations of Firefox or PaleMoon. Try Chrome or another browser.
Try this link instead:
The SAS Users Group for Administrators (SUGA) is open to all SAS administrators and architects who install, update, manage or maintain a SAS deployment.
SAS technical trainer Erin Winters shows you how to explore assets, create new data discovery agents, schedule data discovery agents, and much more.
Find more tutorials on the SAS Users YouTube channel.