<?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 and Append Multiple MS Excel Spreadsheets in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Import-and-Append-Multiple-MS-Excel-Spreadsheets/m-p/192188#M36188</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="http://support.sas.com/kb/24/820.html" title="http://support.sas.com/kb/24/820.html"&gt;24820 - Creating a Directory Listing Using SAS for Windows&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;filename files pipe 'dir /b "S:\2013\SR\Excel Files\Sample\*.xlsx" ';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Make sure the quotes are all there!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 02 May 2014 16:11:42 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2014-05-02T16:11:42Z</dc:date>
    <item>
      <title>Import and Append Multiple MS Excel Spreadsheets</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Import-and-Append-Multiple-MS-Excel-Spreadsheets/m-p/192179#M36179</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;G'day,&lt;/P&gt;&lt;P&gt;I've many MS Excel spreadsheets (all different names of course) which I need to append into one large file.&lt;/P&gt;&lt;P&gt;They should have all the same column names (Do I need to visually check this for each file or is there a shortcut?)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I get all of these files form one folder on my computer into SAS and append them into one large dataset?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I only know how to use Proc Import using the Wizard.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any tips you can give will be most appreciated!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Apr 2014 22:22:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Import-and-Append-Multiple-MS-Excel-Spreadsheets/m-p/192179#M36179</guid>
      <dc:creator>jcis7</dc:creator>
      <dc:date>2014-04-24T22:22:25Z</dc:date>
    </item>
    <item>
      <title>Re: Import and Append Multiple MS Excel Spreadsheets</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Import-and-Append-Multiple-MS-Excel-Spreadsheets/m-p/192180#M36180</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;LMGTFY&lt;/P&gt;&lt;P&gt;&lt;A __default_attr="150364" __jive_macro_name="message" class="jive_macro jive_macro_message" href="https://communities.sas.com/" modifiedtitle="true" title="How to use Proc IMPORT to read multiple .xlsx files?"&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Apr 2014 22:36:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Import-and-Append-Multiple-MS-Excel-Spreadsheets/m-p/192180#M36180</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2014-04-24T22:36:39Z</dc:date>
    </item>
    <item>
      <title>Re: Import and Append Multiple MS Excel Spreadsheets</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Import-and-Append-Multiple-MS-Excel-Spreadsheets/m-p/192181#M36181</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could read all excel files in the same fold to SAS with codes below, then use proc append or data set to append all files.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%let filepath=drive:excelfile_fold;&lt;/P&gt;&lt;P&gt;filename files pipe "dir/b %bquote(&amp;amp;filepath.\*.xlsx)";&lt;/P&gt;&lt;P&gt;data _null_;&lt;/P&gt;&lt;P&gt;infile files truncover;&lt;/P&gt;&lt;P&gt;length filename $20.;&lt;/P&gt;&lt;P&gt;input;&lt;/P&gt;&lt;P&gt;filename=scan(_infile_,1);&lt;/P&gt;&lt;P&gt;call execute(&lt;/P&gt;&lt;P&gt;'proc import out='||filename|| 'datafile="%bquote(&amp;amp;filepath.)\'||strip(filename)||'.xlsx" dbms=xlsx replace;&lt;/P&gt;&lt;P&gt; run;'&lt;/P&gt;&lt;P&gt;);&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Apr 2014 01:47:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Import-and-Append-Multiple-MS-Excel-Spreadsheets/m-p/192181#M36181</guid>
      <dc:creator>slchen</dc:creator>
      <dc:date>2014-04-25T01:47:43Z</dc:date>
    </item>
    <item>
      <title>Re: Import and Append Multiple MS Excel Spreadsheets</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Import-and-Append-Multiple-MS-Excel-Spreadsheets/m-p/192182#M36182</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks! I'm not understanding how to write the file path and am getting an error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3868&amp;nbsp; %let filepath=S:\2013\SR\Excel Files\Sample;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3869&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3870&amp;nbsp; filename files pipe "dir/b %bquote(&amp;amp;filepath.\*.xlsx)";&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3871&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3872&amp;nbsp; data _null_;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3873&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3874&amp;nbsp; infile files truncover;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3875&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3876&amp;nbsp; length filename $20.;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3877&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3878&amp;nbsp; input;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3879&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3880&amp;nbsp; filename=scan(_infile_,1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3881&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3882&amp;nbsp; call execute(&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3883&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3884&amp;nbsp; 'proc import out='||filename|| 'datafile="%bquote(&amp;amp;filepath.)\'||strip(filename)||'.xlsx"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3884! dbms=xlsx replace;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3885&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3886&amp;nbsp;&amp;nbsp; run;'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3887&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3888&amp;nbsp; );&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3889&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3890&amp;nbsp; run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NOTE: The infile FILES is:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Unnamed Pipe Access Device,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PROCESS=dir/b S:\2013\SR\Excel Files\Sample\*.xlsx,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RECFM=V,LRECL=256&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Stderr output:&lt;/P&gt;&lt;P&gt;The system cannot find the path specified.&lt;/P&gt;&lt;P&gt;NOTE: 0 records were read from the infile FILES.&lt;/P&gt;&lt;P&gt;NOTE: DATA statement used (Total process time):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; real time&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.11 seconds&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cpu time&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.01 seconds&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 May 2014 21:41:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Import-and-Append-Multiple-MS-Excel-Spreadsheets/m-p/192182#M36182</guid>
      <dc:creator>jcis7</dc:creator>
      <dc:date>2014-05-01T21:41:58Z</dc:date>
    </item>
    <item>
      <title>Re: Import and Append Multiple MS Excel Spreadsheets</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Import-and-Append-Multiple-MS-Excel-Spreadsheets/m-p/192183#M36183</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The path command depends if you're on UNIX or Windows and if you have spaces in them that's an issue as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can test it in your unix or dos environment first to see if it works and then port that code back to SAS. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 May 2014 22:09:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Import-and-Append-Multiple-MS-Excel-Spreadsheets/m-p/192183#M36183</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2014-05-01T22:09:12Z</dc:date>
    </item>
    <item>
      <title>Re: Import and Append Multiple MS Excel Spreadsheets</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Import-and-Append-Multiple-MS-Excel-Spreadsheets/m-p/192184#M36184</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;An alternative to the "pipe" statement &lt;EM&gt;(which spawns an O/S shell, something not always allowed)&lt;/EM&gt; is to use the SAS file &amp;amp; directory functions - dopen(), fopen(), etc - to get the list of Excel spreadsheets in a directory, each of which can then be used in a subsequent import/libname statement.&amp;nbsp; &lt;EM&gt;(This also removes the O/S dependency.)&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 May 2014 02:40:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Import-and-Append-Multiple-MS-Excel-Spreadsheets/m-p/192184#M36184</guid>
      <dc:creator>AndrewHowell</dc:creator>
      <dc:date>2014-05-02T02:40:24Z</dc:date>
    </item>
    <item>
      <title>Re: Import and Append Multiple MS Excel Spreadsheets</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Import-and-Append-Multiple-MS-Excel-Spreadsheets/m-p/192185#M36185</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, I don't know Unix or Dos..any other suggestions?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 May 2014 15:09:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Import-and-Append-Multiple-MS-Excel-Spreadsheets/m-p/192185#M36185</guid>
      <dc:creator>jcis7</dc:creator>
      <dc:date>2014-05-02T15:09:41Z</dc:date>
    </item>
    <item>
      <title>Re: Import and Append Multiple MS Excel Spreadsheets</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Import-and-Append-Multiple-MS-Excel-Spreadsheets/m-p/192186#M36186</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1. Learn some&lt;/P&gt;&lt;P&gt;2. Post if you're on Unix or Windows, so the answer conforms to your system. Otherwise I'll post what works on mine &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>Fri, 02 May 2014 15:19:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Import-and-Append-Multiple-MS-Excel-Spreadsheets/m-p/192186#M36186</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2014-05-02T15:19:10Z</dc:date>
    </item>
    <item>
      <title>Re: Import and Append Multiple MS Excel Spreadsheets</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Import-and-Append-Multiple-MS-Excel-Spreadsheets/m-p/192187#M36187</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm using Windows 7. Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 May 2014 15:21:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Import-and-Append-Multiple-MS-Excel-Spreadsheets/m-p/192187#M36187</guid>
      <dc:creator>jcis7</dc:creator>
      <dc:date>2014-05-02T15:21:42Z</dc:date>
    </item>
    <item>
      <title>Re: Import and Append Multiple MS Excel Spreadsheets</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Import-and-Append-Multiple-MS-Excel-Spreadsheets/m-p/192188#M36188</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="http://support.sas.com/kb/24/820.html" title="http://support.sas.com/kb/24/820.html"&gt;24820 - Creating a Directory Listing Using SAS for Windows&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;filename files pipe 'dir /b "S:\2013\SR\Excel Files\Sample\*.xlsx" ';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Make sure the quotes are all there!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 May 2014 16:11:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Import-and-Append-Multiple-MS-Excel-Spreadsheets/m-p/192188#M36188</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2014-05-02T16:11:42Z</dc:date>
    </item>
    <item>
      <title>Re: Import and Append Multiple MS Excel Spreadsheets</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Import-and-Append-Multiple-MS-Excel-Spreadsheets/m-p/192189#M36189</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The code work for me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2&amp;nbsp;&amp;nbsp;&amp;nbsp; %let filepath=c:\test;&lt;/P&gt;&lt;P&gt;3&lt;/P&gt;&lt;P&gt;4&amp;nbsp;&amp;nbsp;&amp;nbsp; filename files pipe "dir/b %bquote(&amp;amp;filepath.)\*.xlsx";&lt;/P&gt;&lt;P&gt;5&lt;/P&gt;&lt;P&gt;6&amp;nbsp;&amp;nbsp;&amp;nbsp; data _null_;&lt;/P&gt;&lt;P&gt;7&lt;/P&gt;&lt;P&gt;8&amp;nbsp;&amp;nbsp;&amp;nbsp; infile files truncover;&lt;/P&gt;&lt;P&gt;9&lt;/P&gt;&lt;P&gt;10&amp;nbsp;&amp;nbsp; length filename $20.;&lt;/P&gt;&lt;P&gt;11&lt;/P&gt;&lt;P&gt;12&amp;nbsp;&amp;nbsp; input;&lt;/P&gt;&lt;P&gt;13&lt;/P&gt;&lt;P&gt;14&amp;nbsp;&amp;nbsp; filename=scan(_infile_,1);&lt;/P&gt;&lt;P&gt;15&lt;/P&gt;&lt;P&gt;16&amp;nbsp;&amp;nbsp; call execute(&lt;/P&gt;&lt;P&gt;17&lt;/P&gt;&lt;P&gt;18&amp;nbsp;&amp;nbsp; 'proc import out='||filename||&lt;/P&gt;&lt;P&gt;18 ! 'datafile="%bquote(&amp;amp;filepath.)\'||strip(filename)||'.xlsx" dbms=xlsx&lt;/P&gt;&lt;P&gt;18 ! replace;&lt;/P&gt;&lt;P&gt;19&lt;/P&gt;&lt;P&gt;20&amp;nbsp;&amp;nbsp; run;'&lt;/P&gt;&lt;P&gt;21&lt;/P&gt;&lt;P&gt;22&amp;nbsp;&amp;nbsp; );&lt;/P&gt;&lt;P&gt;23&lt;/P&gt;&lt;P&gt;24&amp;nbsp;&amp;nbsp; run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NOTE: The infile FILES is:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Unnamed Pipe Access Device,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PROCESS=dir/b c:\test\*.xlsx,RECFM=V,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LRECL=32767&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NOTE: 2 records were read from the infile FILES.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The minimum record length was 9.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The maximum record length was 10.&lt;/P&gt;&lt;P&gt;NOTE: DATA statement used (Total process time):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; real time&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.10 seconds&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cpu time&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.04 seconds&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NOTE: CALL EXECUTE generated line.&lt;/P&gt;&lt;P&gt;1&amp;nbsp;&amp;nbsp; + proc import out=cars&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; datafile="c:\test\cars.xlsx"&lt;/P&gt;&lt;P&gt;dbms=xlsx replace;&lt;/P&gt;&lt;P&gt;1&amp;nbsp;&amp;nbsp; +&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NOTE: The import data set has 428 observations and 15 variables.&lt;/P&gt;&lt;P&gt;NOTE: WORK.CARS data set was successfully created.&lt;/P&gt;&lt;P&gt;NOTE: PROCEDURE IMPORT used (Total process time):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; real time&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.08 seconds&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cpu time&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.09 seconds&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2&amp;nbsp;&amp;nbsp; + proc import out=class&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; datafile="c:\test\class.xlsx"&lt;/P&gt;&lt;P&gt;dbms=xlsx replace;&lt;/P&gt;&lt;P&gt;2&amp;nbsp;&amp;nbsp; +&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NOTE: The import data set has 19 observations and 5 variables.&lt;/P&gt;&lt;P&gt;NOTE: WORK.CLASS data set was successfully created.&lt;/P&gt;&lt;P&gt;NOTE: PROCEDURE IMPORT used (Total process time):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; real time&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.01 seconds&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cpu time&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.01 seconds&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 May 2014 16:20:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Import-and-Append-Multiple-MS-Excel-Spreadsheets/m-p/192189#M36189</guid>
      <dc:creator>slchen</dc:creator>
      <dc:date>2014-05-02T16:20:35Z</dc:date>
    </item>
    <item>
      <title>Re: Import and Append Multiple MS Excel Spreadsheets</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Import-and-Append-Multiple-MS-Excel-Spreadsheets/m-p/192190#M36190</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It didn't work for me - Windows 7 - path had spaces in it. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 May 2014 16:25:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Import-and-Append-Multiple-MS-Excel-Spreadsheets/m-p/192190#M36190</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2014-05-02T16:25:30Z</dc:date>
    </item>
    <item>
      <title>Re: Import and Append Multiple MS Excel Spreadsheets</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Import-and-Append-Multiple-MS-Excel-Spreadsheets/m-p/192191#M36191</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks! I added the quotes. Now I'm getting another error but don't know why?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4123&amp;nbsp; filename files pipe 'dir /b "S:\2013\SR\Excel&lt;BR /&gt;4123! Files\ISample\*.xlsx" ';&lt;BR /&gt;4124&lt;BR /&gt;4125&amp;nbsp; data _null_;&lt;BR /&gt;4126&lt;BR /&gt;4127&amp;nbsp; infile files truncover;&lt;BR /&gt;4128&lt;BR /&gt;4129&amp;nbsp; length filename $20.;&lt;BR /&gt;4130&lt;BR /&gt;4131&amp;nbsp; input;&lt;BR /&gt;4132&lt;BR /&gt;4133&amp;nbsp; filename=scan(_infile_,1);&lt;BR /&gt;4134&lt;BR /&gt;4135&amp;nbsp; call execute(&lt;BR /&gt;4136&lt;BR /&gt;4137&amp;nbsp; 'proc import out='||filename|| 'S:\2013\SR1314\Excel&lt;BR /&gt;4137! Files\Sample\'||strip(filename)||'.xlsx" dbms=xlsx replace;&lt;BR /&gt;4138&lt;BR /&gt;4139&amp;nbsp;&amp;nbsp; run;'&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 180&lt;BR /&gt;ERROR 180-322: Statement is not valid or it is used out of proper order.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4140&lt;BR /&gt;4141&amp;nbsp; );&lt;BR /&gt;4142&lt;BR /&gt;4143&amp;nbsp; run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 May 2014 16:29:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Import-and-Append-Multiple-MS-Excel-Spreadsheets/m-p/192191#M36191</guid>
      <dc:creator>jcis7</dc:creator>
      <dc:date>2014-05-02T16:29:45Z</dc:date>
    </item>
    <item>
      <title>Re: Import and Append Multiple MS Excel Spreadsheets</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Import-and-Append-Multiple-MS-Excel-Spreadsheets/m-p/192192#M36192</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try a longer but a simpler solution, that you can try and debug yourself &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;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A __default_attr="150364" __jive_macro_name="message" class="jive_macro jive_macro_message" href="https://communities.sas.com/"&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 May 2014 16:43:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Import-and-Append-Multiple-MS-Excel-Spreadsheets/m-p/192192#M36192</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2014-05-02T16:43:29Z</dc:date>
    </item>
    <item>
      <title>Re: Import and Append Multiple MS Excel Spreadsheets</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Import-and-Append-Multiple-MS-Excel-Spreadsheets/m-p/192193#M36193</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it could solved the problem of path with space.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;filename files pipe "dir/b %bquote("&amp;amp;filepath.\*.xlsx")";&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 03 May 2014 01:58:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Import-and-Append-Multiple-MS-Excel-Spreadsheets/m-p/192193#M36193</guid>
      <dc:creator>slchen</dc:creator>
      <dc:date>2014-05-03T01:58:20Z</dc:date>
    </item>
    <item>
      <title>Re: Import and Append Multiple MS Excel Spreadsheets</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Import-and-Append-Multiple-MS-Excel-Spreadsheets/m-p/192194#M36194</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 May 2014 16:12:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Import-and-Append-Multiple-MS-Excel-Spreadsheets/m-p/192194#M36194</guid>
      <dc:creator>jcis7</dc:creator>
      <dc:date>2014-05-12T16:12:50Z</dc:date>
    </item>
  </channel>
</rss>

