<?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: Ways of importing excel file into SAS? in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Ways-of-importing-excel-file-into-SAS/m-p/205180#M13614</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Note: - Use a valid dbms option?&amp;nbsp; I.e. do you have SAS Access installed, are you using the correct dbms for you file type, here is the list of them:&lt;/P&gt;&lt;P&gt;&lt;A class="active_link" href="http://support.sas.com/documentation/cdl/en/acpcref/63184/HTML/default/viewer.htm#a003102096.htm" title="http://support.sas.com/documentation/cdl/en/acpcref/63184/HTML/default/viewer.htm#a003102096.htm"&gt;http://support.sas.com/documentation/cdl/en/acpcref/63184/HTML/default/viewer.htm#a003102096.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That aside, I wouldn't recommend using:&lt;/P&gt;&lt;P&gt;a) Excel - this is not a good data transfer format.&amp;nbsp; Use CSV, XML or any of the other proper structured data transfer formats&lt;/P&gt;&lt;P&gt;b) Proc import/export - these are guessing procedures.&amp;nbsp; They guess what data you want to import.&amp;nbsp; Use a proper data transfer format and write and explicit datastep import to import the data as you know it to be.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Options:&lt;/P&gt;&lt;P&gt;1) Datastep infile and inputs with CSV file.&amp;nbsp; Most robust method.&lt;/P&gt;&lt;P&gt;2) libname xml&lt;/P&gt;&lt;P&gt;3) libname excel - limited to accessible data&lt;/P&gt;&lt;P&gt;4) proc import - guesswork&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 17 Jul 2015 08:57:32 GMT</pubDate>
    <dc:creator>RW9</dc:creator>
    <dc:date>2015-07-17T08:57:32Z</dc:date>
    <item>
      <title>Ways of importing excel file into SAS?</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Ways-of-importing-excel-file-into-SAS/m-p/205179#M13613</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please can you suggest 4-5 ways of importing excel file into SAS 9.3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note:&lt;/P&gt;&lt;P&gt;1. When i use proc import, SAS gives error related invalid dbms= option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jul 2015 04:31:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Ways-of-importing-excel-file-into-SAS/m-p/205179#M13613</guid>
      <dc:creator>dkanand86</dc:creator>
      <dc:date>2015-07-17T04:31:55Z</dc:date>
    </item>
    <item>
      <title>Re: Ways of importing excel file into SAS?</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Ways-of-importing-excel-file-into-SAS/m-p/205180#M13614</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Note: - Use a valid dbms option?&amp;nbsp; I.e. do you have SAS Access installed, are you using the correct dbms for you file type, here is the list of them:&lt;/P&gt;&lt;P&gt;&lt;A class="active_link" href="http://support.sas.com/documentation/cdl/en/acpcref/63184/HTML/default/viewer.htm#a003102096.htm" title="http://support.sas.com/documentation/cdl/en/acpcref/63184/HTML/default/viewer.htm#a003102096.htm"&gt;http://support.sas.com/documentation/cdl/en/acpcref/63184/HTML/default/viewer.htm#a003102096.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That aside, I wouldn't recommend using:&lt;/P&gt;&lt;P&gt;a) Excel - this is not a good data transfer format.&amp;nbsp; Use CSV, XML or any of the other proper structured data transfer formats&lt;/P&gt;&lt;P&gt;b) Proc import/export - these are guessing procedures.&amp;nbsp; They guess what data you want to import.&amp;nbsp; Use a proper data transfer format and write and explicit datastep import to import the data as you know it to be.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Options:&lt;/P&gt;&lt;P&gt;1) Datastep infile and inputs with CSV file.&amp;nbsp; Most robust method.&lt;/P&gt;&lt;P&gt;2) libname xml&lt;/P&gt;&lt;P&gt;3) libname excel - limited to accessible data&lt;/P&gt;&lt;P&gt;4) proc import - guesswork&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jul 2015 08:57:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Ways-of-importing-excel-file-into-SAS/m-p/205180#M13614</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2015-07-17T08:57:32Z</dc:date>
    </item>
    <item>
      <title>Re: Ways of importing excel file into SAS?</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Ways-of-importing-excel-file-into-SAS/m-p/205181#M13615</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1) proc import&lt;/P&gt;&lt;P&gt;2) libname&lt;/P&gt;&lt;P&gt;3) ODBC&lt;/P&gt;&lt;P&gt;4) DDE &amp;lt;-- old school&lt;/P&gt;&lt;P&gt;5) filename + clipboard&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jul 2015 13:51:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Ways-of-importing-excel-file-into-SAS/m-p/205181#M13615</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2015-07-17T13:51:47Z</dc:date>
    </item>
    <item>
      <title>Re: Ways of importing excel file into SAS?</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Ways-of-importing-excel-file-into-SAS/m-p/205182#M13616</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Please can you provide the exact code for importing using datastep and importing using proc import.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will definitely look into the list of dbms types from the link you provided.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jul 2015 16:10:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Ways-of-importing-excel-file-into-SAS/m-p/205182#M13616</guid>
      <dc:creator>dkanand86</dc:creator>
      <dc:date>2015-07-17T16:10:37Z</dc:date>
    </item>
    <item>
      <title>Re: Ways of importing excel file into SAS?</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Ways-of-importing-excel-file-into-SAS/m-p/205183#M13617</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you have to do it use XLSX file format and DBMS=XLSX. &lt;/P&gt;&lt;P&gt;To just get the first sheet use:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc import file='myfile.xlsx' out=MYSAS dbms=xlsx;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jul 2015 17:31:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Ways-of-importing-excel-file-into-SAS/m-p/205183#M13617</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2015-07-17T17:31:33Z</dc:date>
    </item>
    <item>
      <title>Re: Ways of importing excel file into SAS?</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Ways-of-importing-excel-file-into-SAS/m-p/205184#M13618</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;my SAS shows, it is dbms= type is INVALID.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jul 2015 19:03:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Ways-of-importing-excel-file-into-SAS/m-p/205184#M13618</guid>
      <dc:creator>dkanand86</dc:creator>
      <dc:date>2015-07-17T19:03:44Z</dc:date>
    </item>
    <item>
      <title>Re: Ways of importing excel file into SAS?</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Ways-of-importing-excel-file-into-SAS/m-p/205185#M13619</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Upgrade.&amp;nbsp; &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;Try changing to XLS and see if it works.&lt;/P&gt;&lt;P&gt;Other trick from the bad old days was to use&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 14pt;"&gt;SHEET="'A B'$"&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jul 2015 20:15:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Ways-of-importing-excel-file-into-SAS/m-p/205185#M13619</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2015-07-17T20:15:47Z</dc:date>
    </item>
  </channel>
</rss>

