<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Looking for a strategy to replace individual email addresses into SAS Code in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Looking-for-a-strategy-to-replace-individual-email-addresses/m-p/782069#M39867</link>
    <description>&lt;P&gt;What is the purpose of the hard coded email?&amp;nbsp; To provide a contact point for troubles with the program?&amp;nbsp; Replace all the myriad email addresses with one generic forever address like problemcontact@mycompany.com.&lt;/P&gt;</description>
    <pubDate>Tue, 23 Nov 2021 20:43:08 GMT</pubDate>
    <dc:creator>HB</dc:creator>
    <dc:date>2021-11-23T20:43:08Z</dc:date>
    <item>
      <title>Looking for a strategy to replace individual email addresses into SAS Code</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Looking-for-a-strategy-to-replace-individual-email-addresses/m-p/781989#M39866</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We have many SAS programs in our Data Warehouse and some of those contains hard coded email addresses&amp;nbsp;of employees that are not working anymore for the company or have changed of department and so on.&lt;/P&gt;
&lt;P&gt;Does someone has already encountered this issue and if so, what’s the best strategy to have low maintenance on our programs.&lt;/P&gt;
&lt;P&gt;I have though about the use of AD group but may be there is other solutions.&lt;/P&gt;
&lt;P&gt;Please, feel free to share your idea.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;</description>
      <pubDate>Tue, 23 Nov 2021 15:56:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Looking-for-a-strategy-to-replace-individual-email-addresses/m-p/781989#M39866</guid>
      <dc:creator>alepage</dc:creator>
      <dc:date>2021-11-23T15:56:09Z</dc:date>
    </item>
    <item>
      <title>Re: Looking for a strategy to replace individual email addresses into SAS Code</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Looking-for-a-strategy-to-replace-individual-email-addresses/m-p/782069#M39867</link>
      <description>&lt;P&gt;What is the purpose of the hard coded email?&amp;nbsp; To provide a contact point for troubles with the program?&amp;nbsp; Replace all the myriad email addresses with one generic forever address like problemcontact@mycompany.com.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Nov 2021 20:43:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Looking-for-a-strategy-to-replace-individual-email-addresses/m-p/782069#M39867</guid>
      <dc:creator>HB</dc:creator>
      <dc:date>2021-11-23T20:43:08Z</dc:date>
    </item>
    <item>
      <title>Re: Looking for a strategy to replace individual email addresses into SAS Code</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Looking-for-a-strategy-to-replace-individual-email-addresses/m-p/782129#M39868</link>
      <description>&lt;P&gt;Create an email group that contains all of the email addresses you currently want to send to. Then in your SAS programs, reference the email group not individual email addresses - it could be something like &lt;A href="mailto:MySASEmailGroup@MyCompany.com" target="_blank" rel="noopener"&gt;MySASEmailGroup@MyCompany.com&lt;/A&gt;. Talk to your email administrator to find out about this.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Maintenance is then as simple as changing the members in the email group. No code changes are required.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also if you wish to email based on whether a scheduled SAS job has successfully completed or failed, then do that in your job scheduler and not in code at all.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Nov 2021 04:05:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Looking-for-a-strategy-to-replace-individual-email-addresses/m-p/782129#M39868</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2021-11-24T04:05:09Z</dc:date>
    </item>
    <item>
      <title>Re: Looking for a strategy to replace individual email addresses into SAS Code</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Looking-for-a-strategy-to-replace-individual-email-addresses/m-p/782166#M39869</link>
      <description>&lt;P&gt;These email addresses are DATA, so they have no place in CODE.&lt;/P&gt;
&lt;P&gt;Set up a dataset that contains email addresses and program names in which they are used. You can then use this dataset to check for validity, and the programs can pick "their" emails from it.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Nov 2021 09:02:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Looking-for-a-strategy-to-replace-individual-email-addresses/m-p/782166#M39869</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2021-11-24T09:02:23Z</dc:date>
    </item>
    <item>
      <title>Re: Looking for a strategy to replace individual email addresses into SAS Code</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Looking-for-a-strategy-to-replace-individual-email-addresses/m-p/782220#M39870</link>
      <description>&lt;P&gt;Hello Kurt,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I agree with you that email addresses should not be in the code. &lt;BR /&gt;Almost all of the programs were developed before my arrival. &lt;BR /&gt;I find your idea interesting however, it is the SAS administrator &lt;BR /&gt;who will have to maintain this dataset.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there a way to use windows active directory? &lt;BR /&gt;Another department would take care of the update.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Nov 2021 13:49:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Looking-for-a-strategy-to-replace-individual-email-addresses/m-p/782220#M39870</guid>
      <dc:creator>alepage</dc:creator>
      <dc:date>2021-11-24T13:49:06Z</dc:date>
    </item>
    <item>
      <title>Re: Looking for a strategy to replace individual email addresses into SAS Code</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Looking-for-a-strategy-to-replace-individual-email-addresses/m-p/782238#M39871</link>
      <description>&lt;P&gt;In my experience, not all users in such a global list would need notifications from all programs, it's rather that certain users want notifications of success for a given job, while others would need notification of failure (unless you can handle this globally from the scheduler). So the one controlling the flow of all batch jobs has decisions to make that can't be made purely from a department/position POV, and those decisions cannot be handled through programmable logic without &lt;U&gt;serious&lt;/U&gt; effort. And whenever you think you've got a system that handles it all, you are notified by reality that it ain't so.&lt;/P&gt;
&lt;P&gt;Handle that personally, and use the dataset I mentioned to find people who moved or are no longer available. But that's just my $0.02&lt;/P&gt;</description>
      <pubDate>Wed, 24 Nov 2021 15:23:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Looking-for-a-strategy-to-replace-individual-email-addresses/m-p/782238#M39871</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2021-11-24T15:23:48Z</dc:date>
    </item>
    <item>
      <title>Re: Looking for a strategy to replace individual email addresses into SAS Code</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Looking-for-a-strategy-to-replace-individual-email-addresses/m-p/782384#M39884</link>
      <description>&lt;P&gt;We always keep this info in a text file, specifically JSON. Keep metadata in a simple file and read it in at the beginning.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;AD groups are good as is mailing groups. That said, oftentimes there is a hassle with someone else having to do the changes for you (Exchange team, for example).&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I primarily use C# these days and it binds directly to JSON. In SAS, use the JSON libname engine and keep the structure simple so it goes directly into a dataset. You can also use XML but it is pretty wordy. I don't believe SAS supports YAML as of yet in Base. It has YAML support in Viya.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Nov 2021 23:44:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Looking-for-a-strategy-to-replace-individual-email-addresses/m-p/782384#M39884</guid>
      <dc:creator>AlanC</dc:creator>
      <dc:date>2021-11-24T23:44:27Z</dc:date>
    </item>
  </channel>
</rss>

