<?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 files in SAS DI Studio in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/Import-Excel-files-in-SAS-DI-Studio/m-p/622734#M19839</link>
    <description>&lt;P&gt;You mean User Written external file, right?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What do you mean you don't have direct access to files?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is your PROC IMPORT working outside DI Studio?&lt;/P&gt;</description>
    <pubDate>Thu, 06 Feb 2020 15:15:49 GMT</pubDate>
    <dc:creator>LinusH</dc:creator>
    <dc:date>2020-02-06T15:15:49Z</dc:date>
    <item>
      <title>Import Excel files in SAS DI Studio</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Import-Excel-files-in-SAS-DI-Studio/m-p/622731#M19838</link>
      <description>&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;I'm having trouble importing an external file in excel format to SAS DI Studio.&lt;BR /&gt;Inside SAS, I'm creating an external file &amp;gt; User input...&lt;/P&gt;&lt;P&gt;We don't have direct access to files in SAS.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;In the metadata section I put the following code:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;PROC IMPORT OUT=WORK.file;&lt;/P&gt;&lt;P&gt;&amp;nbsp;DATAFILE="/mydata/Sample Data.xlsx"&lt;BR /&gt;&amp;nbsp;DBMS=xls REPLACE;&lt;BR /&gt;SHEET="Sheet1$";&lt;BR /&gt;GETNAMES=YES;&lt;BR /&gt;MIXED=YES;&lt;BR /&gt;SCANTEXT=YES;&lt;BR /&gt;USEDATE=YES;&lt;BR /&gt;SCANTIME=YES;&lt;BR /&gt;RUN;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The file is created, but it does not load any data and with the File Reader transformation and I get the following error:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;ERROR: FILE = OR TABLE= IS REQUIERED AND MUST BE SPECIFIED&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sas.PNG" style="width: 519px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/35887iE0C60F5FE1B61D3E/image-size/large?v=v2&amp;amp;px=999" role="button" title="sas.PNG" alt="sas.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Excel only has one sheet with different types of data. I don't know if I have to define the SAS code in the external file differently, but I have defined the columns well or you can't load external files in excel format this way.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could someone tell me a possible solution, please?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Feb 2020 15:07:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Import-Excel-files-in-SAS-DI-Studio/m-p/622731#M19838</guid>
      <dc:creator>Pat_5</dc:creator>
      <dc:date>2020-02-06T15:07:25Z</dc:date>
    </item>
    <item>
      <title>Re: Import Excel files in SAS DI Studio</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Import-Excel-files-in-SAS-DI-Studio/m-p/622734#M19839</link>
      <description>&lt;P&gt;You mean User Written external file, right?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What do you mean you don't have direct access to files?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is your PROC IMPORT working outside DI Studio?&lt;/P&gt;</description>
      <pubDate>Thu, 06 Feb 2020 15:15:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Import-Excel-files-in-SAS-DI-Studio/m-p/622734#M19839</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2020-02-06T15:15:49Z</dc:date>
    </item>
    <item>
      <title>Re: Import Excel files in SAS DI Studio</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Import-Excel-files-in-SAS-DI-Studio/m-p/622736#M19840</link>
      <description>Yes, I mean User Written an external file&lt;BR /&gt;&lt;BR /&gt;I don't have direct access to the folder where the files are uploaded. I don't know if that's a problem.&lt;BR /&gt;&lt;BR /&gt;How can I compare that my PROC IMPORT works outside SAS DI?</description>
      <pubDate>Thu, 06 Feb 2020 15:24:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Import-Excel-files-in-SAS-DI-Studio/m-p/622736#M19840</guid>
      <dc:creator>Pat_5</dc:creator>
      <dc:date>2020-02-06T15:24:38Z</dc:date>
    </item>
    <item>
      <title>Re: Import Excel files in SAS DI Studio</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Import-Excel-files-in-SAS-DI-Studio/m-p/622742#M19841</link>
      <description>&lt;P&gt;Try the code in Enterprise Guide, SAS Studio or even in the DI Studio code editor.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Once working there, try to implement in the metadata.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Feb 2020 15:37:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Import-Excel-files-in-SAS-DI-Studio/m-p/622742#M19841</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2020-02-06T15:37:02Z</dc:date>
    </item>
  </channel>
</rss>

