<?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: SYSDAY Automatic Variable in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/SYSDAY-Automatic-Variable/m-p/491442#M128879</link>
    <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/16961"&gt;@ChrisNZ&lt;/a&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13884"&gt;@ballardw&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the input.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I thought , we can override the value as per our need.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let me try some other way.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
    <pubDate>Thu, 30 Aug 2018 21:51:53 GMT</pubDate>
    <dc:creator>AshokD</dc:creator>
    <dc:date>2018-08-30T21:51:53Z</dc:date>
    <item>
      <title>SYSDAY Automatic Variable</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SYSDAY-Automatic-Variable/m-p/491435#M128872</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm testing my SAS code on different run dates by using date override and it's working fine.&lt;/P&gt;&lt;P&gt;But I see&amp;nbsp;SYSDAY Automatic Variable resolves to current day.&lt;/P&gt;&lt;P&gt;Any possibility to override this automatic variable ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Example - I'm running the job using date override as of 2018-09-03 , so SYSDAY should resolve to Monday.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance for the help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Aug 2018 21:18:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SYSDAY-Automatic-Variable/m-p/491435#M128872</guid>
      <dc:creator>AshokD</dc:creator>
      <dc:date>2018-08-30T21:18:46Z</dc:date>
    </item>
    <item>
      <title>Re: SYSDAY Automatic Variable</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SYSDAY-Automatic-Variable/m-p/491438#M128875</link>
      <description>&lt;P&gt;You are going to have to provide how you are " using date override&amp;nbsp;" as I that isn't a concept I have run into with SAS previously.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also show how you are attempting to use SYSDAY. You cannot change the value of the automatic system variables. You would likely have to create your own variable using your&amp;nbsp;"override"&amp;nbsp;and use that instead if you need a different value.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Aug 2018 21:36:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SYSDAY-Automatic-Variable/m-p/491438#M128875</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2018-08-30T21:36:11Z</dc:date>
    </item>
    <item>
      <title>Re: SYSDAY Automatic Variable</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SYSDAY-Automatic-Variable/m-p/491441#M128878</link>
      <description>&lt;P&gt;1. SYSDAY is an automatic variable. As its name implies, its contents is set by SAS. You cannot set it and its value is set once and for all.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. SYSDAY is not today's day, it is the day when the SAS session was started.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;3. What do you call "date override"? I suspect it deals with your own process logic, and in any case it will not alter automatic macro variables.&lt;/P&gt;</description>
      <pubDate>Thu, 30 Aug 2018 21:45:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SYSDAY-Automatic-Variable/m-p/491441#M128878</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2018-08-30T21:45:18Z</dc:date>
    </item>
    <item>
      <title>Re: SYSDAY Automatic Variable</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SYSDAY-Automatic-Variable/m-p/491442#M128879</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/16961"&gt;@ChrisNZ&lt;/a&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13884"&gt;@ballardw&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the input.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I thought , we can override the value as per our need.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let me try some other way.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Thu, 30 Aug 2018 21:51:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SYSDAY-Automatic-Variable/m-p/491442#M128879</guid>
      <dc:creator>AshokD</dc:creator>
      <dc:date>2018-08-30T21:51:53Z</dc:date>
    </item>
    <item>
      <title>Re: SYSDAY Automatic Variable</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SYSDAY-Automatic-Variable/m-p/491450#M128885</link>
      <description>&lt;P&gt;You don't really want to change automatic macro variables, a user will assume it follows the documentation and it can cause issues that are very hard to debug down the road.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can easily create your own macro variables and use as needed.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I do believe there's a system option that will set SYSDAY to either session start or current day.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Aug 2018 22:03:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SYSDAY-Automatic-Variable/m-p/491450#M128885</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-08-30T22:03:14Z</dc:date>
    </item>
    <item>
      <title>Re: SYSDAY Automatic Variable</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SYSDAY-Automatic-Variable/m-p/491550#M128935</link>
      <description>&lt;P&gt;Maxim 4: Try It.&lt;/P&gt;
&lt;P&gt;Run this code:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%let sysday=XXX;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;and the answer is obvious.&lt;/P&gt;</description>
      <pubDate>Fri, 31 Aug 2018 07:58:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SYSDAY-Automatic-Variable/m-p/491550#M128935</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2018-08-31T07:58:09Z</dc:date>
    </item>
  </channel>
</rss>

