<?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: When sending an email in SAS in the subject, how do I have it put in yesterday's date? in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/When-sending-an-email-in-SAS-in-the-subject-how-do-I-have-it-put/m-p/609510#M35221</link>
    <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%let yesterday = %eval(%sysfunc(today())-1);
filename MailBox2 email "&amp;amp;email_delivery_address" 
    subject="Email For %sysfunc(putn(&amp;amp;yesterday),date7.)" 
    content_type="text/html";
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 04 Dec 2019 20:15:40 GMT</pubDate>
    <dc:creator>PaigeMiller</dc:creator>
    <dc:date>2019-12-04T20:15:40Z</dc:date>
    <item>
      <title>When sending an email in SAS in the subject, how do I have it put in yesterday's date?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/When-sending-an-email-in-SAS-in-the-subject-how-do-I-have-it-put/m-p/609508#M35220</link>
      <description>&lt;P&gt;My code has the following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;FILENAME MailBox2 EMAIL "&amp;amp;email_delivery_address" SUBJECT="Email For &amp;amp;SYSDATE9" content_type="text/html";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The output for the email subject line is for the current day.&amp;nbsp; How do I have the date be for the previous day?&amp;nbsp; (yesterday)&lt;/P&gt;</description>
      <pubDate>Wed, 04 Dec 2019 20:06:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/When-sending-an-email-in-SAS-in-the-subject-how-do-I-have-it-put/m-p/609508#M35220</guid>
      <dc:creator>RYPD_User</dc:creator>
      <dc:date>2019-12-04T20:06:04Z</dc:date>
    </item>
    <item>
      <title>Re: When sending an email in SAS in the subject, how do I have it put in yesterday's date?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/When-sending-an-email-in-SAS-in-the-subject-how-do-I-have-it-put/m-p/609510#M35221</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%let yesterday = %eval(%sysfunc(today())-1);
filename MailBox2 email "&amp;amp;email_delivery_address" 
    subject="Email For %sysfunc(putn(&amp;amp;yesterday),date7.)" 
    content_type="text/html";
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Dec 2019 20:15:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/When-sending-an-email-in-SAS-in-the-subject-how-do-I-have-it-put/m-p/609510#M35221</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2019-12-04T20:15:40Z</dc:date>
    </item>
  </channel>
</rss>

