<?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 excel XLS in SAS Studio</title>
    <link>https://communities.sas.com/t5/SAS-Studio/import-excel-XLS/m-p/485663#M6016</link>
    <description>&lt;P&gt;When you need help with an ERROR, always post the whole log of the failing step.&lt;/P&gt;
&lt;P&gt;Copy/paste the log into a window opened with the {i} button.&lt;/P&gt;</description>
    <pubDate>Fri, 10 Aug 2018 06:14:11 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2018-08-10T06:14:11Z</dc:date>
    <item>
      <title>import excel XLS</title>
      <link>https://communities.sas.com/t5/SAS-Studio/import-excel-XLS/m-p/485646#M6015</link>
      <description>&lt;P&gt;i try to run&amp;nbsp; this file&lt;/P&gt;&lt;P&gt;this error was show up here *database missing&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"proc import datafile="/home/naveence0/food2.xlsx"&lt;BR /&gt;out= indata&lt;BR /&gt;dbms=xlsx replace;&lt;BR /&gt;run;&lt;BR /&gt;proc print data = indata; ,,&lt;/P&gt;&lt;P&gt;please if tat code having nay changes please descriped that.&amp;nbsp;&lt;/P&gt;&lt;P&gt;one main questions wat is file extension of xls file&lt;/P&gt;</description>
      <pubDate>Fri, 10 Aug 2018 03:35:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/import-excel-XLS/m-p/485646#M6015</guid>
      <dc:creator>navinrraj</dc:creator>
      <dc:date>2018-08-10T03:35:55Z</dc:date>
    </item>
    <item>
      <title>Re: import excel XLS</title>
      <link>https://communities.sas.com/t5/SAS-Studio/import-excel-XLS/m-p/485663#M6016</link>
      <description>&lt;P&gt;When you need help with an ERROR, always post the whole log of the failing step.&lt;/P&gt;
&lt;P&gt;Copy/paste the log into a window opened with the {i} button.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Aug 2018 06:14:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/import-excel-XLS/m-p/485663#M6016</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2018-08-10T06:14:11Z</dc:date>
    </item>
    <item>
      <title>Re: import excel XLS</title>
      <link>https://communities.sas.com/t5/SAS-Studio/import-excel-XLS/m-p/485680#M6017</link>
      <description>&lt;P&gt;Why is the proc import statement in quotes?&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;"proc import datafile="/home/naveence0/food2.xlsx"&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;That is invalid.&amp;nbsp; Run:&lt;/SPAN&gt;&lt;/P&gt;
&lt;PRE&gt;proc import datafile="/home/naveence0/food2.xlsx" out= indata dbms=xlsx replace;
run;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Aug 2018 07:56:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/import-excel-XLS/m-p/485680#M6017</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2018-08-10T07:56:54Z</dc:date>
    </item>
    <item>
      <title>Re: import excel XLS</title>
      <link>https://communities.sas.com/t5/SAS-Studio/import-excel-XLS/m-p/485748#M6018</link>
      <description>&lt;P&gt;proc import datafile="/home/naveence0/food2.xlsx"&lt;BR /&gt;out= indata&lt;BR /&gt;dbms=xlsx replace;&lt;BR /&gt;run;&lt;BR /&gt;proc print data = indata;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Aug 2018 13:10:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/import-excel-XLS/m-p/485748#M6018</guid>
      <dc:creator>navinrraj</dc:creator>
      <dc:date>2018-08-10T13:10:46Z</dc:date>
    </item>
    <item>
      <title>Re: import excel XLS</title>
      <link>https://communities.sas.com/t5/SAS-Studio/import-excel-XLS/m-p/485752#M6019</link>
      <description>&lt;P&gt;Yes, that is what I posted.&amp;nbsp; Post your log, so we can see the error message and the code you run.&amp;nbsp; Did you put the file in your shared directory?&lt;/P&gt;
&lt;P&gt;&lt;A href="https://communities.sas.com/t5/SAS-Analytics-U/Importing-Excel-file-to-SAS-Studio/m-p/216686#M2443" target="_blank"&gt;https://communities.sas.com/t5/SAS-Analytics-U/Importing-Excel-file-to-SAS-Studio/m-p/216686#M2443&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Aug 2018 13:16:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/import-excel-XLS/m-p/485752#M6019</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2018-08-10T13:16:56Z</dc:date>
    </item>
    <item>
      <title>Re: import excel XLS</title>
      <link>https://communities.sas.com/t5/SAS-Studio/import-excel-XLS/m-p/485757#M6020</link>
      <description>&lt;DIV class="sasSource"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;1 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;70&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;71 proc import datafile='/home/naveence0/food3.csv'&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;72 out = datainput&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;73 dbms = excel&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;74 ;&lt;/DIV&gt;&lt;DIV class="sasError"&gt;ERROR: DBMS type EXCEL not valid for import.&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;NOTE: PROCEDURE IMPORT used (Total process time):&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;real time 0.00 seconds&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;user cpu time 0.00 seconds&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;whic extension should i use excel sheet to sas on windows&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;system cpu time 0.00 seconds&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;memory 44.00k&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;OS Memory 26532.00k&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;Timestamp 08/10/2018 01:25:47 PM&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;Step Count 38 Switch Count 0&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;Page Faults 0&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;Page Reclaims 22&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;Page Swaps 0&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;Voluntary Context Switches 0&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;Involuntary Context Switches 0&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;Block Input Operations 0&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;Block Output Operations 0&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;75 run;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Fri, 10 Aug 2018 13:29:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/import-excel-XLS/m-p/485757#M6020</guid>
      <dc:creator>navinrraj</dc:creator>
      <dc:date>2018-08-10T13:29:08Z</dc:date>
    </item>
    <item>
      <title>Re: import excel XLS</title>
      <link>https://communities.sas.com/t5/SAS-Studio/import-excel-XLS/m-p/485763#M6022</link>
      <description>&lt;P&gt;Well, you will see in the log you have given there, you have a CSV file -&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;'/home/naveence0/food3.csv'&lt;/PRE&gt;
&lt;P&gt;And your telling SAS that its supposed to read that file using the Excel engine, hence you get an invalid DBMS error.&lt;/P&gt;
&lt;P&gt;If the file is CSV, then your dbms should be csv.&amp;nbsp; However I would recommend taking the code generated from proc import (when you change dbms=csv) and then using that to create a datastep import, fixing the formats and such like.&amp;nbsp; When you run proc import, it will put the code it generates in the log.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Aug 2018 13:37:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/import-excel-XLS/m-p/485763#M6022</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2018-08-10T13:37:52Z</dc:date>
    </item>
    <item>
      <title>Re: import excel XLS</title>
      <link>https://communities.sas.com/t5/SAS-Studio/import-excel-XLS/m-p/485766#M6023</link>
      <description>So please tell me .&lt;BR /&gt;What the extension of excel file&lt;BR /&gt;How convert to sas&lt;BR /&gt;And dbms value&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 10 Aug 2018 13:45:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/import-excel-XLS/m-p/485766#M6023</guid>
      <dc:creator>navinrraj</dc:creator>
      <dc:date>2018-08-10T13:45:22Z</dc:date>
    </item>
    <item>
      <title>Re: import excel XLS</title>
      <link>https://communities.sas.com/t5/SAS-Studio/import-excel-XLS/m-p/485772#M6024</link>
      <description>&lt;P&gt;&lt;SPAN&gt;"What the extension of excel file" - File extensions tell the operating system and other tools what the file is.&amp;nbsp; It doesn't necessarily need to match the file type, however it really isn't very good if it doesn't.&amp;nbsp; Excel has a few different file extensions, XLS is the old binary file format, XLSX is the new Open Office file format.&amp;nbsp; CSV is not an Excel file format, it is plain text with data delimited by comma's, Excel can however read an parse this file type.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;SPAN&gt;"How convert to sas" - this depends on several factors.&amp;nbsp; What exactly is the file type you are trying to import, is it a CSV file?&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;SPAN&gt;"And dbms value" - DBMS value indicates to SAS what type of file you are trying to import.&amp;nbsp; Again, I do not know what you have, is it a CSV file, is it an XLSX file?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If its a csv file then:&lt;/SPAN&gt;&lt;/P&gt;
&lt;PRE&gt;proc import datafile="/home/naveence0/food2.csv" out=indata dbms=csv replace;
run;&lt;/PRE&gt;</description>
      <pubDate>Fri, 10 Aug 2018 13:54:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/import-excel-XLS/m-p/485772#M6024</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2018-08-10T13:54:22Z</dc:date>
    </item>
  </channel>
</rss>

