<?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: SAS macro date of saved table in SAS Visual Analytics</title>
    <link>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-macro-date-of-saved-table/m-p/854804#M16871</link>
    <description>&lt;P&gt;You would be wise to use dates that sort properly, but the way you have chosen the dates, they will not sort properly, the table for 20012023 will sort above 20022023 but it will not be next to 21012023. So, use YYMMDD dates.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;create table work.zaloha_%sysfunc(putn(%sysfunc(today()),yymmddn8.)) ...&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 20 Jan 2023 11:33:14 GMT</pubDate>
    <dc:creator>PaigeMiller</dc:creator>
    <dc:date>2023-01-20T11:33:14Z</dc:date>
    <item>
      <title>SAS macro date of saved table</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-macro-date-of-saved-table/m-p/854784#M16870</link>
      <description>&lt;P&gt;How can i save table and it should have date of save in the name of table&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;so how can i save table ...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc sql,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;create table work.zaloha_&lt;STRONG&gt;% &lt;/STRONG&gt;as....;&lt;/P&gt;&lt;P&gt;quit; (and % should be for today 20012023, tomorrow it should be 21012023.... and so on, so i want to have backup of table saved every day. how can i do it?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Jan 2023 10:32:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-macro-date-of-saved-table/m-p/854784#M16870</guid>
      <dc:creator>Pato485</dc:creator>
      <dc:date>2023-01-20T10:32:54Z</dc:date>
    </item>
    <item>
      <title>Re: SAS macro date of saved table</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-macro-date-of-saved-table/m-p/854804#M16871</link>
      <description>&lt;P&gt;You would be wise to use dates that sort properly, but the way you have chosen the dates, they will not sort properly, the table for 20012023 will sort above 20022023 but it will not be next to 21012023. So, use YYMMDD dates.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;create table work.zaloha_%sysfunc(putn(%sysfunc(today()),yymmddn8.)) ...&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Jan 2023 11:33:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-macro-date-of-saved-table/m-p/854804#M16871</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2023-01-20T11:33:14Z</dc:date>
    </item>
  </channel>
</rss>

