<?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 combine two codes in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/combine-two-codes/m-p/416867#M26835</link>
    <description>&lt;P&gt;I have this code that send out email with text in the email from a email address found in the data pulled (code 1)and i have another code that makes a excel file for each email/person and email that(code 2) what I want to do is match the email/names in both codes&amp;nbsp; and attach the excel file from code 2 to code 1 email&amp;nbsp; and get rid of the email in code 2 all together.&lt;/P&gt;&lt;PRE&gt;&amp;nbsp;&lt;/PRE&gt;</description>
    <pubDate>Wed, 20 Jun 2018 23:30:30 GMT</pubDate>
    <dc:creator>hk2013</dc:creator>
    <dc:date>2018-06-20T23:30:30Z</dc:date>
    <item>
      <title>combine two codes</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/combine-two-codes/m-p/416867#M26835</link>
      <description>&lt;P&gt;I have this code that send out email with text in the email from a email address found in the data pulled (code 1)and i have another code that makes a excel file for each email/person and email that(code 2) what I want to do is match the email/names in both codes&amp;nbsp; and attach the excel file from code 2 to code 1 email&amp;nbsp; and get rid of the email in code 2 all together.&lt;/P&gt;&lt;PRE&gt;&amp;nbsp;&lt;/PRE&gt;</description>
      <pubDate>Wed, 20 Jun 2018 23:30:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/combine-two-codes/m-p/416867#M26835</guid>
      <dc:creator>hk2013</dc:creator>
      <dc:date>2018-06-20T23:30:30Z</dc:date>
    </item>
    <item>
      <title>Re: combine two codes</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/combine-two-codes/m-p/416980#M26840</link>
      <description>&lt;P&gt;Run the excel export code before you send email "one", and use the attach= option there in the filename email.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Nov 2017 07:43:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/combine-two-codes/m-p/416980#M26840</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2017-11-29T07:43:47Z</dc:date>
    </item>
    <item>
      <title>Re: combine two codes</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/combine-two-codes/m-p/417101#M26850</link>
      <description>&lt;P&gt;how will the email (code 1) know to attach the excel file that matches the same name?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Nov 2017 15:44:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/combine-two-codes/m-p/417101#M26850</guid>
      <dc:creator>hk2013</dc:creator>
      <dc:date>2017-11-29T15:44:09Z</dc:date>
    </item>
    <item>
      <title>Re: combine two codes</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/combine-two-codes/m-p/423663#M27309</link>
      <description>&lt;P&gt;is there code that can tell the email to match the email address or names so that it only gets data and excel file for a specific person and sents that out.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Dec 2017 23:58:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/combine-two-codes/m-p/423663#M27309</guid>
      <dc:creator>hk2013</dc:creator>
      <dc:date>2017-12-26T23:58:39Z</dc:date>
    </item>
    <item>
      <title>Re: combine two codes</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/combine-two-codes/m-p/424122#M27332</link>
      <description>&lt;P&gt;To dynamically email different recipients with different attachments you will need to use PUT statement email directives. This link to the documentation explains directives:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/lestmtsref/63323/HTML/default/viewer.htm#n0ig2krarrz6vtn1aw9zzvtez4qo.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/lestmtsref/63323/HTML/default/viewer.htm#n0ig2krarrz6vtn1aw9zzvtez4qo.htm&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 30 Dec 2017 21:51:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/combine-two-codes/m-p/424122#M27332</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2017-12-30T21:51:07Z</dc:date>
    </item>
    <item>
      <title>Re: combine two codes</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/combine-two-codes/m-p/424292#M27336</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/169082"&gt;@hk2013&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;is there code that can tell the email to match the email address or names so that it only gets data and excel file for a specific person and sents that out.&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;First, set up a list of recipients in a dataset.&lt;/P&gt;
&lt;P&gt;Then, wrap your code(s) in macro definitions where the recipient is accepted as a macro parameter.&lt;/P&gt;
&lt;P&gt;Now you can use call execute() to call your macro(s) from the recipients dataset.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jan 2018 10:28:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/combine-two-codes/m-p/424292#M27336</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2018-01-02T10:28:46Z</dc:date>
    </item>
  </channel>
</rss>

