<?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: Import all Excel files in a folder and add all to 1 final file in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Import-all-Excel-files-in-a-folder-and-add-all-to-1-final-file/m-p/395380#M95331</link>
    <description>&lt;P&gt;My initial guess is that the file was open when you tried to import it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Art, CEO, AnalystFinder.com&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 13 Sep 2017 04:53:58 GMT</pubDate>
    <dc:creator>art297</dc:creator>
    <dc:date>2017-09-13T04:53:58Z</dc:date>
    <item>
      <title>Import all Excel files in a folder and add all to 1 final file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Import-all-Excel-files-in-a-folder-and-add-all-to-1-final-file/m-p/395378#M95329</link>
      <description>&lt;P&gt;Hi Everyone,&lt;/P&gt;
&lt;P&gt;I follow this below code to import all CSV file&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/statgeek/SAS-Tutorials/blob/master/Import_all_files_one_type" target="_blank" rel="nofollow noopener noreferrer"&gt;https://github.com/statgeek/SAS-Tutorials/blob/master/Import_all_files_one_type&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;It works but I find a very strange issue.&lt;/P&gt;
&lt;P&gt;1 of the datafile is not import even though the name of this file is in the list.&lt;/P&gt;
&lt;P&gt;SAS create test1, test2, then test4. it totally skip to import that file (which supposed to be test3)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I rename the file, still not work.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I save as a new name, SAS import the new file but still refuse to import the old file.&lt;/P&gt;
&lt;P&gt;I also try to run this file individually using no-macro code, it works&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In log, there is no sign for this file being mentioned.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I wonder if you have any idea what is going on with that gosh file.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you,&lt;/P&gt;
&lt;P&gt;HC&lt;/P&gt;</description>
      <pubDate>Wed, 13 Sep 2017 04:08:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Import-all-Excel-files-in-a-folder-and-add-all-to-1-final-file/m-p/395378#M95329</guid>
      <dc:creator>hhchenfx</dc:creator>
      <dc:date>2017-09-13T04:08:42Z</dc:date>
    </item>
    <item>
      <title>Re: Import all Excel files in a folder and add all to 1 final file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Import-all-Excel-files-in-a-folder-and-add-all-to-1-final-file/m-p/395380#M95331</link>
      <description>&lt;P&gt;My initial guess is that the file was open when you tried to import it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Art, CEO, AnalystFinder.com&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Sep 2017 04:53:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Import-all-Excel-files-in-a-folder-and-add-all-to-1-final-file/m-p/395380#M95331</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2017-09-13T04:53:58Z</dc:date>
    </item>
    <item>
      <title>Re: Import all Excel files in a folder and add all to 1 final file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Import-all-Excel-files-in-a-folder-and-add-all-to-1-final-file/m-p/395381#M95332</link>
      <description>&lt;P&gt;If that wasn't it, I'd first send the command:&lt;/P&gt;
&lt;P&gt;options mprint mologic symbolgen;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;and then run the macro&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The carefully review the expanded log you'll receive&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Art, CEO, AnalystFinder.com&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Sep 2017 04:56:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Import-all-Excel-files-in-a-folder-and-add-all-to-1-final-file/m-p/395381#M95332</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2017-09-13T04:56:06Z</dc:date>
    </item>
    <item>
      <title>Re: Import all Excel files in a folder and add all to 1 final file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Import-all-Excel-files-in-a-folder-and-add-all-to-1-final-file/m-p/395384#M95334</link>
      <description>&lt;P&gt;The file is in the data set list?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Sep 2017 05:10:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Import-all-Excel-files-in-a-folder-and-add-all-to-1-final-file/m-p/395384#M95334</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-09-13T05:10:16Z</dc:date>
    </item>
    <item>
      <title>Re: Import all Excel files in a folder and add all to 1 final file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Import-all-Excel-files-in-a-folder-and-add-all-to-1-final-file/m-p/395417#M95361</link>
      <description>&lt;P&gt;Right, let me repeat for the hundreth time,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;CSV is not Excel&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;
&lt;P&gt;CSV=Comma Separated Variable file, it is a text file file with a bit of structure to indicate where data starts/stops. &amp;nbsp;It is nothing to do with Excel!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Now, for your question, as we cannot see the files, nor the run, please provide a log of the run, and if possible the dataset of list, what I suspect is the name for the dataset is not valid, so its not being written.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Sep 2017 07:58:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Import-all-Excel-files-in-a-folder-and-add-all-to-1-final-file/m-p/395417#M95361</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2017-09-13T07:58:36Z</dc:date>
    </item>
    <item>
      <title>Re: Import all Excel files in a folder and add all to 1 final file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Import-all-Excel-files-in-a-folder-and-add-all-to-1-final-file/m-p/395531#M95417</link>
      <description>&lt;P&gt;I guess the problem is that: the file name:&lt;/P&gt;
&lt;P&gt;"Strk, Tiexrabc 8.3.17_Expense Reimbursement Form" &amp;nbsp;contains a comma "," so SAS somehow doesnt read it.&lt;/P&gt;
&lt;P&gt;I put "," in other file name and SAS skip it as well.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please confirm if it is the right cause.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;HC&lt;/P&gt;</description>
      <pubDate>Wed, 13 Sep 2017 13:22:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Import-all-Excel-files-in-a-folder-and-add-all-to-1-final-file/m-p/395531#M95417</guid>
      <dc:creator>hhchenfx</dc:creator>
      <dc:date>2017-09-13T13:22:12Z</dc:date>
    </item>
    <item>
      <title>Re: Import all Excel files in a folder and add all to 1 final file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Import-all-Excel-files-in-a-folder-and-add-all-to-1-final-file/m-p/395535#M95418</link>
      <description>&lt;P&gt;Yep, as a good rule for using computers - never put special characters, spaces, tabs or anything other than alphanumeric characters in a filename.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Sep 2017 13:26:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Import-all-Excel-files-in-a-folder-and-add-all-to-1-final-file/m-p/395535#M95418</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2017-09-13T13:26:05Z</dc:date>
    </item>
  </channel>
</rss>

