<?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: How to read the Excel with over 256 columns by SAS in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-read-the-Excel-with-over-256-columns-by-SAS/m-p/325605#M72432</link>
    <description>&lt;P&gt;Open Excel, SaveAs, then in the Filetype box under filename, select CSV and Save.&lt;/P&gt;</description>
    <pubDate>Wed, 18 Jan 2017 09:44:52 GMT</pubDate>
    <dc:creator>RW9</dc:creator>
    <dc:date>2017-01-18T09:44:52Z</dc:date>
    <item>
      <title>How to read the Excel with over 256 columns by SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-read-the-Excel-with-over-256-columns-by-SAS/m-p/325591#M72424</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Recently , I got confused by importing the Excel dataset with&amp;nbsp; hundreds of variables by using SAS.&lt;/P&gt;&lt;P&gt;&amp;nbsp; When I tried to do it , SAS imported the Excel dataset with only 256 variables and droped many variables without error messages printed in the log.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Is there anyone who knows the methods of importing Excel data with over 300 variables?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; I'm looking forward to your answers.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jan 2017 09:18:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-read-the-Excel-with-over-256-columns-by-SAS/m-p/325591#M72424</guid>
      <dc:creator>zheng2017</dc:creator>
      <dc:date>2017-01-18T09:18:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to read the Excel with over 256 columns by SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-read-the-Excel-with-over-256-columns-by-SAS/m-p/325595#M72426</link>
      <description>&lt;P&gt;You can use the search functionality on here to see all the other posts in the same topic as you are looking, here for example;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://communities.sas.com/t5/SAS-Procedures/Limit-To-Columns-Imported-from-Excel-2010/td-p/109430" target="_blank"&gt;https://communities.sas.com/t5/SAS-Procedures/Limit-To-Columns-Imported-from-Excel-2010/td-p/109430&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What version of SAS are you using, what OS are you using, what code are you using? &amp;nbsp;Can you not get a CSV file and do a proper import of data?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, to note, a dataset with more than about 50 columns becomes programatically very unweildy to use, consider data re-modelling to get it into a more usable format.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jan 2017 09:25:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-read-the-Excel-with-over-256-columns-by-SAS/m-p/325595#M72426</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2017-01-18T09:25:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to read the Excel with over 256 columns by SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-read-the-Excel-with-over-256-columns-by-SAS/m-p/325597#M72428</link>
      <description>OS: Windows&lt;BR /&gt;SAS Version:9.3&lt;BR /&gt;&lt;BR /&gt;For somes reasons,I can't convert Excel into CSV format.</description>
      <pubDate>Wed, 18 Jan 2017 09:28:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-read-the-Excel-with-over-256-columns-by-SAS/m-p/325597#M72428</guid>
      <dc:creator>zheng2017</dc:creator>
      <dc:date>2017-01-18T09:28:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to read the Excel with over 256 columns by SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-read-the-Excel-with-over-256-columns-by-SAS/m-p/325605#M72432</link>
      <description>&lt;P&gt;Open Excel, SaveAs, then in the Filetype box under filename, select CSV and Save.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jan 2017 09:44:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-read-the-Excel-with-over-256-columns-by-SAS/m-p/325605#M72432</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2017-01-18T09:44:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to read the Excel with over 256 columns by SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-read-the-Excel-with-over-256-columns-by-SAS/m-p/325692#M72472</link>
      <description>&lt;P&gt;Along with &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/45151"&gt;@RW9&lt;/a&gt;&amp;nbsp;excellet suggestion after saving the file to CSV open it in a text editor such as Wordpad or Notepad. You will want to look for things where the first column doesn't look correct. If people have entered text, or exported text, containing linefeeds or carriage returns then you may have lines split in the CSV file. Solutions for this may depend on how many cases appear.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also you may find rows at the end consisting of nothing but:&lt;/P&gt;
&lt;P&gt;,,,,,,,,,,,,,,,,,,,,,,,,&lt;/P&gt;
&lt;P&gt;from rows deleted in Excel. You should delete those before importing into SAS.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jan 2017 14:52:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-read-the-Excel-with-over-256-columns-by-SAS/m-p/325692#M72472</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2017-01-18T14:52:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to read the Excel with over 256 columns by SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-read-the-Excel-with-over-256-columns-by-SAS/m-p/325756#M72493</link>
      <description>&lt;P&gt;You haven't posted the code you've tried but, as mentioned in the post that&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/45151"&gt;@RW9&lt;/a&gt;&amp;nbsp;referenced, try DBMS=XLSX&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, 18 Jan 2017 18:17:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-read-the-Excel-with-over-256-columns-by-SAS/m-p/325756#M72493</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2017-01-18T18:17:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to read the Excel with over 256 columns by SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-read-the-Excel-with-over-256-columns-by-SAS/m-p/325910#M72539</link>
      <description>The following code is the way I import the excel into SAS:&lt;BR /&gt;libname EXL excel "D:\tt\dt.xlsx"&lt;BR /&gt;ver=2010 SCAN_TEXTSIZE=NO MSENGINE= ACE ;</description>
      <pubDate>Thu, 19 Jan 2017 08:58:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-read-the-Excel-with-over-256-columns-by-SAS/m-p/325910#M72539</guid>
      <dc:creator>zheng2017</dc:creator>
      <dc:date>2017-01-19T08:58:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to read the Excel with over 256 columns by SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-read-the-Excel-with-over-256-columns-by-SAS/m-p/326003#M72557</link>
      <description>&lt;P&gt;Use XLSX engine in the libname statement. See:&amp;nbsp;&lt;A href="http://blogs.sas.com/content/sasdummy/2015/05/20/using-libname-xlsx-to-read-and-write-excel-files/" target="_blank"&gt;http://blogs.sas.com/content/sasdummy/2015/05/20/using-libname-xlsx-to-read-and-write-excel-files/&lt;/A&gt;&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>Thu, 19 Jan 2017 15:22:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-read-the-Excel-with-over-256-columns-by-SAS/m-p/326003#M72557</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2017-01-19T15:22:17Z</dc:date>
    </item>
  </channel>
</rss>

