<?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 Automate import files in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Automate-import-files/m-p/343969#M22763</link>
    <description>&lt;P&gt;Good day&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to automate Excel files that is stored on a server. This should import the files outomaticly every week. Is this posible and how will I go about to make this work?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The files is updated for each month. Ex&lt;/P&gt;&lt;P&gt;file_2017-03&lt;/P&gt;&lt;P&gt;file_2017-02&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
    <pubDate>Fri, 24 Mar 2017 07:14:23 GMT</pubDate>
    <dc:creator>Fkoch01</dc:creator>
    <dc:date>2017-03-24T07:14:23Z</dc:date>
    <item>
      <title>Automate import files</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Automate-import-files/m-p/343969#M22763</link>
      <description>&lt;P&gt;Good day&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to automate Excel files that is stored on a server. This should import the files outomaticly every week. Is this posible and how will I go about to make this work?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The files is updated for each month. Ex&lt;/P&gt;&lt;P&gt;file_2017-03&lt;/P&gt;&lt;P&gt;file_2017-02&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Fri, 24 Mar 2017 07:14:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Automate-import-files/m-p/343969#M22763</guid>
      <dc:creator>Fkoch01</dc:creator>
      <dc:date>2017-03-24T07:14:23Z</dc:date>
    </item>
    <item>
      <title>Re: Automate import files</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Automate-import-files/m-p/343972#M22764</link>
      <description>&lt;P&gt;Start with creating SAS code that successfully imports one file.&lt;/P&gt;
&lt;P&gt;For consistent results, I would strongly advise to not use the Excel file format, but a textual format like csv and a properly written data step, so that unexpected changes in the input data structure are caught at the earliest possible point of your ETL chain. .xls is crap as a data transfer format.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then parameterize the infile name:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data _null_;
filedate = put(today(),yymmd7.);
call symputx('filedate',filedate);
run;

filename in "/path/file_&amp;amp;filedate..csv";&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Mar 2017 07:24:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Automate-import-files/m-p/343972#M22764</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2017-03-24T07:24:11Z</dc:date>
    </item>
  </channel>
</rss>

