<?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 using dataset ending with date in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/using-dataset-ending-with-date/m-p/168128#M12918</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello friends - this could be dumb question but can you please tell me how we can use dataset which look like this...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sales_20140819&lt;/P&gt;&lt;P&gt;sales_19aug2014&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THESE DATASETS WILL KEEP CHANGIN DATE DATE SO TOMORROW WE WILL HAVE &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sales_20140820&lt;/P&gt;&lt;P&gt;sales_20aug2014&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so i want to use like this;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data test;&lt;/P&gt;&lt;P&gt;set anylibrary.sales_&amp;amp;sysdate;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help - thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 19 Aug 2014 22:23:30 GMT</pubDate>
    <dc:creator>woo</dc:creator>
    <dc:date>2014-08-19T22:23:30Z</dc:date>
    <item>
      <title>using dataset ending with date</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/using-dataset-ending-with-date/m-p/168128#M12918</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello friends - this could be dumb question but can you please tell me how we can use dataset which look like this...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sales_20140819&lt;/P&gt;&lt;P&gt;sales_19aug2014&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THESE DATASETS WILL KEEP CHANGIN DATE DATE SO TOMORROW WE WILL HAVE &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sales_20140820&lt;/P&gt;&lt;P&gt;sales_20aug2014&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so i want to use like this;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data test;&lt;/P&gt;&lt;P&gt;set anylibrary.sales_&amp;amp;sysdate;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help - thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Aug 2014 22:23:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/using-dataset-ending-with-date/m-p/168128#M12918</guid>
      <dc:creator>woo</dc:creator>
      <dc:date>2014-08-19T22:23:30Z</dc:date>
    </item>
    <item>
      <title>Re: using dataset ending with date</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/using-dataset-ending-with-date/m-p/168129#M12919</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;set anylibrary.sales_%sysfunc(today(), yymmddn8.);&lt;/P&gt;&lt;P&gt;AND/OR&lt;/P&gt;&lt;P&gt;set anylibrary.sales_%sysfunc(today(), date9);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Aug 2014 22:35:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/using-dataset-ending-with-date/m-p/168129#M12919</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2014-08-19T22:35:45Z</dc:date>
    </item>
    <item>
      <title>Re: using dataset ending with date</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/using-dataset-ending-with-date/m-p/168130#M12920</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I suggest you stick with the yyyymmdd style as your datasets will then naturally sort in date order either in SAS or Windows Explorer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also if you wish to use this on many datasets consider defining as a macro variable. If it is yesterday you want then try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Consolas; background: white; color: blue; font-size: 9pt;"&gt;%let&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; background: white; color: black; font-size: 9pt;"&gt; Yesterday = &lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; background: white; color: blue; font-size: 9pt;"&gt;%sysfunc&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; background: white; color: black; font-size: 9pt;"&gt;(intnx(DAY,&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; background: white; color: blue; font-size: 9pt;"&gt;%sysfunc&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; background: white; color: black; font-size: 9pt;"&gt;(today()), -1), yymmddn8.);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: navy; font-size: 9pt; background: white; font-family: Consolas;"&gt;data&lt;/STRONG&gt;&lt;SPAN style="font-family: Consolas; background: white; color: black; font-size: 9pt;"&gt; example&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; background: white; color: black; font-size: 9pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;SPAN style="font-family: Consolas; background: white; color: teal; font-size: 9pt;"&gt;set anylibrary.sales&lt;/SPAN&gt;_&amp;amp;&lt;SPAN style="font-family: Consolas; background: white; color: teal; font-size: 9pt;"&gt;Yesterday.;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: navy; font-size: 9pt; background: white; font-family: Consolas;"&gt;run&lt;/STRONG&gt;&lt;SPAN style="font-family: Consolas; background: white; color: black; font-size: 9pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Aug 2014 00:32:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/using-dataset-ending-with-date/m-p/168130#M12920</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2014-08-20T00:32:24Z</dc:date>
    </item>
    <item>
      <title>Re: using dataset ending with date</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/using-dataset-ending-with-date/m-p/168131#M12921</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks Reeza and SAS KIWI &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Aug 2014 00:35:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/using-dataset-ending-with-date/m-p/168131#M12921</guid>
      <dc:creator>woo</dc:creator>
      <dc:date>2014-08-20T00:35:30Z</dc:date>
    </item>
  </channel>
</rss>

