<?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 Import the excel to SAS dataset in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/Import-the-excel-to-SAS-dataset/m-p/833245#M35769</link>
    <description>&lt;P&gt;I have an excel file and needs to import into SAS. Somehow this is not working.&lt;/P&gt;&lt;P&gt;any tricks here?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc import datafile="folder\file.xlsx"&lt;BR /&gt;dbms=xlsx replace&lt;BR /&gt;out=a;&lt;BR /&gt;guessingrows=3000;/*guessingrows helps not to truncate the observations*/&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;I am doing something wrong here? the log says "DBMS type xlsx is not valid to import"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks in advance.&lt;/P&gt;</description>
    <pubDate>Tue, 13 Sep 2022 20:40:07 GMT</pubDate>
    <dc:creator>Smitha9</dc:creator>
    <dc:date>2022-09-13T20:40:07Z</dc:date>
    <item>
      <title>Import the excel to SAS dataset</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Import-the-excel-to-SAS-dataset/m-p/833245#M35769</link>
      <description>&lt;P&gt;I have an excel file and needs to import into SAS. Somehow this is not working.&lt;/P&gt;&lt;P&gt;any tricks here?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc import datafile="folder\file.xlsx"&lt;BR /&gt;dbms=xlsx replace&lt;BR /&gt;out=a;&lt;BR /&gt;guessingrows=3000;/*guessingrows helps not to truncate the observations*/&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;I am doing something wrong here? the log says "DBMS type xlsx is not valid to import"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks in advance.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Sep 2022 20:40:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Import-the-excel-to-SAS-dataset/m-p/833245#M35769</guid>
      <dc:creator>Smitha9</dc:creator>
      <dc:date>2022-09-13T20:40:07Z</dc:date>
    </item>
    <item>
      <title>Re: Import the excel to SAS dataset</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Import-the-excel-to-SAS-dataset/m-p/833246#M35770</link>
      <description>&lt;P&gt;Please post your full code and log.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/329198"&gt;@Smitha9&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;I have an excel file and needs to import into SAS. Somehow this is not working.&lt;/P&gt;
&lt;P&gt;any tricks here?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc import datafile="folder\file.xlsx"&lt;BR /&gt;dbms=xlsx replace&lt;BR /&gt;out=a;&lt;BR /&gt;guessingrows=3000;/*guessingrows helps not to truncate the observations*/&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;I am doing something wrong here? the log says "DBMS type xlsx is not valid to import"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;thanks in advance.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Sep 2022 20:44:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Import-the-excel-to-SAS-dataset/m-p/833246#M35770</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2022-09-13T20:44:14Z</dc:date>
    </item>
    <item>
      <title>Re: Import the excel to SAS dataset</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Import-the-excel-to-SAS-dataset/m-p/833257#M35774</link>
      <description>&lt;P&gt;For Import to work with XLSX files you need to have the write module licensed.&lt;/P&gt;
&lt;P&gt;If you run&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;proc setinit;
run;&lt;/PRE&gt;
&lt;P&gt;and do not see something like&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;---SAS/ACCESS Interface to PC Files
      30MAY2023
&lt;/PRE&gt;
&lt;P&gt;then your license does not include the access to XLSX files with Import. Solution: Use File-Save as menu to save to a CSV file and import that.&lt;/P&gt;
&lt;P&gt;If you do see the Interface to PC Files then run this to see if it was installed.&lt;/P&gt;
&lt;PRE&gt;proc product_status;run;&lt;/PRE&gt;
&lt;P&gt;If the log does not show, among other products, something like the following then the it was not installed and you need to do a reinstall and make sure the PC Files is selected&lt;/P&gt;
&lt;PRE&gt;For SAS/ACCESS Interface to PC Files ...
   Custom version information: 9.4_M4
&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;"Not working" is awful vague.&lt;BR /&gt;&lt;BR /&gt;Are there errors in the log?: Post the code and log in a code box opened with the "&amp;lt;/&amp;gt;" to maintain formatting of error messages.&lt;BR /&gt;&lt;BR /&gt;No output? Post any log in a code box.&lt;BR /&gt;&lt;BR /&gt;Unexpected output? Provide input data in the form of data step code pasted into a code box, the actual results and the expected results. Instructions here: &lt;A href="https://communities.sas.com/t5/SAS-Communities-Library/How-to-create-a-data-step-version-of-your-data-AKA-generate/ta-p/258712" target="_blank"&gt;https://communities.sas.com/t5/SAS-Communities-Library/How-to-create-a-data-step-version-of-your-data-AKA-generate/ta-p/258712&lt;/A&gt; will show how to turn an existing SAS data set into data step code that can be pasted into a forum code box using the "&amp;lt;/&amp;gt;" icon or attached as text to show exactly what you have and that we can test code against.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Sep 2022 21:44:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Import-the-excel-to-SAS-dataset/m-p/833257#M35774</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2022-09-13T21:44:57Z</dc:date>
    </item>
  </channel>
</rss>

