<?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 &amp;sysdate in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/sysdate/m-p/164182#M300294</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A batch (non-interactive) job is submitted on Wednesday, 20 January 1999 (SAS date 14264). The program completes the following day.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following code is the last step in the SAS program:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data _null_;&lt;/P&gt;&lt;P&gt; call symput ('mdate',input("&amp;amp;sysdate", date7.));&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;why the value of macro variable mdate is 14264, not 14265?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think the program is completed the following day, so &amp;amp;sysdate should be in accord with the current date which is Thursday, 21 January 1999(SAS date 14265).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you guys.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 16 Aug 2014 16:21:53 GMT</pubDate>
    <dc:creator>chouchou</dc:creator>
    <dc:date>2014-08-16T16:21:53Z</dc:date>
    <item>
      <title>&amp;sysdate</title>
      <link>https://communities.sas.com/t5/SAS-Programming/sysdate/m-p/164182#M300294</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A batch (non-interactive) job is submitted on Wednesday, 20 January 1999 (SAS date 14264). The program completes the following day.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following code is the last step in the SAS program:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data _null_;&lt;/P&gt;&lt;P&gt; call symput ('mdate',input("&amp;amp;sysdate", date7.));&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;why the value of macro variable mdate is 14264, not 14265?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think the program is completed the following day, so &amp;amp;sysdate should be in accord with the current date which is Thursday, 21 January 1999(SAS date 14265).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you guys.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Aug 2014 16:21:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/sysdate/m-p/164182#M300294</guid>
      <dc:creator>chouchou</dc:creator>
      <dc:date>2014-08-16T16:21:53Z</dc:date>
    </item>
    <item>
      <title>Re: &amp;sysdate</title>
      <link>https://communities.sas.com/t5/SAS-Programming/sysdate/m-p/164183#M300295</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SYSDATE is a macro variable that is set when the job starts.&lt;/P&gt;&lt;P&gt;If you want the current date you can use %SYSFUNC(TODAY()) .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Aug 2014 16:25:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/sysdate/m-p/164183#M300295</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2014-08-16T16:25:20Z</dc:date>
    </item>
  </channel>
</rss>

