<?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: to send emails to each user providing the details of the tasks assigned to them. in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/to-send-emails-to-each-user-providing-the-details-of-the-tasks/m-p/487865#M127146</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your quick response.&lt;/P&gt;&lt;P&gt;Unfortunately the solution you have provided doesn't work as expected.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The If condition will not be true, hence the results are not changed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 17 Aug 2018 18:01:42 GMT</pubDate>
    <dc:creator>Santt0sh</dc:creator>
    <dc:date>2018-08-17T18:01:42Z</dc:date>
    <item>
      <title>to send emails to each user providing the details of the tasks assigned to them.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/to-send-emails-to-each-user-providing-the-details-of-the-tasks/m-p/487807#M127121</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to create files for each user, which will have details of the task. I am unable to achieve this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please find the attached code and suggest me what can i do, in order to achieve the results. currently the code which i am using is giving me the result below.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Current output.&lt;/P&gt;&lt;P&gt;--------------------------------&lt;/P&gt;&lt;P&gt;2 tasks assigned to user1&lt;/P&gt;&lt;P&gt;taskid= AA1000123&lt;/P&gt;&lt;P&gt;2 tasks assigned to user1&lt;/P&gt;&lt;P&gt;taskid=aa10052346&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would need some input to achieve the desired results.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Desired&amp;nbsp;Output.&lt;/P&gt;&lt;P&gt;--------------------------------&lt;/P&gt;&lt;P&gt;2 tasks assigned to user1&lt;/P&gt;&lt;P&gt;taskid= AA1000123&lt;/P&gt;&lt;P&gt;taskid=aa10052346&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PFA the sas code i am using.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Aug 2018 15:16:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/to-send-emails-to-each-user-providing-the-details-of-the-tasks/m-p/487807#M127121</guid>
      <dc:creator>Santt0sh</dc:creator>
      <dc:date>2018-08-17T15:16:20Z</dc:date>
    </item>
    <item>
      <title>Re: to send emails to each user providing the details of the tasks assigned to them.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/to-send-emails-to-each-user-providing-the-details-of-the-tasks/m-p/487837#M127136</link>
      <description>&lt;P&gt;I think all that you need to do is add an IF statement to only output "2 tasks assigned to user1" only when&amp;nbsp;printing the first taskid.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%IF &amp;amp;i = 1 %THEN %DO;
     %PUT RECORDS ====&amp;gt;&amp;gt; &amp;amp;&amp;amp;RC&amp;amp;i.;
     %PUT "************************&amp;amp;&amp;amp;RC&amp;amp;i. CASES ASSIGNED TO &amp;amp;&amp;amp;USRid&amp;amp;i.*****************";
%END;
%PUT "************************&amp;amp;&amp;amp;tsID1&amp;amp;i.*****************";&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Let me know if that helps!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Aug 2018 16:47:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/to-send-emails-to-each-user-providing-the-details-of-the-tasks/m-p/487837#M127136</guid>
      <dc:creator>Urban_Science</dc:creator>
      <dc:date>2018-08-17T16:47:02Z</dc:date>
    </item>
    <item>
      <title>Re: to send emails to each user providing the details of the tasks assigned to them.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/to-send-emails-to-each-user-providing-the-details-of-the-tasks/m-p/487865#M127146</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your quick response.&lt;/P&gt;&lt;P&gt;Unfortunately the solution you have provided doesn't work as expected.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The If condition will not be true, hence the results are not changed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Aug 2018 18:01:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/to-send-emails-to-each-user-providing-the-details-of-the-tasks/m-p/487865#M127146</guid>
      <dc:creator>Santt0sh</dc:creator>
      <dc:date>2018-08-17T18:01:42Z</dc:date>
    </item>
    <item>
      <title>Re: to send emails to each user providing the details of the tasks assigned to them.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/to-send-emails-to-each-user-providing-the-details-of-the-tasks/m-p/492756#M129548</link>
      <description>Thank you for all your help, I have figured it out to send emails for each user.&lt;BR /&gt;</description>
      <pubDate>Wed, 05 Sep 2018 18:43:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/to-send-emails-to-each-user-providing-the-details-of-the-tasks/m-p/492756#M129548</guid>
      <dc:creator>Santt0sh</dc:creator>
      <dc:date>2018-09-05T18:43:51Z</dc:date>
    </item>
  </channel>
</rss>

