<?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 excel using SAS on demand (cloud) and snippets in SAS Studio</title>
    <link>https://communities.sas.com/t5/SAS-Studio/Import-excel-using-SAS-on-demand-cloud-and-snippets/m-p/540354#M7145</link>
    <description>&lt;P&gt;Hello. I am new to using SAS in this way. I have watched the video for the university version. SAS on demand (SAS studio) does not have the file-import option. I am trying to use the snippets. This gives me a few lines of code. I am battling with the syntax for the code, specifically the path for the import statement and the specs for the out statement. I have created a folder on the left panel. I have also created a shared folder on my laptop. I was discussing this online with support, but cannot even find that chat box now.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is a sample of my latest:&lt;/P&gt;&lt;DIV class="sasSource"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;71 /** Import an XLSX file. **/&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;72&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;73 PROC IMPORT DATAFILE="/folders/home/noleenwork0/mydata/Edwinsas.xlsx"&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;74 OUT=mydata.edwinsas&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;75 DBMS=XLSX&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;76 REPLACE;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;77 RUN;&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasError"&gt;ERROR: Physical file does not exist, /pbr/biconfig/940/Lev1/SASApp//folders/home/noleenwork0/mydata//Edwinsas.&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have called my data file mydata and have also called the library mydata. My student's spreadsheet is Edwinsas. This particular run was done with (here) and without the /folders at the beginning&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 05 Mar 2019 07:55:36 GMT</pubDate>
    <dc:creator>Noleen0</dc:creator>
    <dc:date>2019-03-05T07:55:36Z</dc:date>
    <item>
      <title>Import excel using SAS on demand (cloud) and snippets</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Import-excel-using-SAS-on-demand-cloud-and-snippets/m-p/540354#M7145</link>
      <description>&lt;P&gt;Hello. I am new to using SAS in this way. I have watched the video for the university version. SAS on demand (SAS studio) does not have the file-import option. I am trying to use the snippets. This gives me a few lines of code. I am battling with the syntax for the code, specifically the path for the import statement and the specs for the out statement. I have created a folder on the left panel. I have also created a shared folder on my laptop. I was discussing this online with support, but cannot even find that chat box now.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is a sample of my latest:&lt;/P&gt;&lt;DIV class="sasSource"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;71 /** Import an XLSX file. **/&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;72&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;73 PROC IMPORT DATAFILE="/folders/home/noleenwork0/mydata/Edwinsas.xlsx"&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;74 OUT=mydata.edwinsas&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;75 DBMS=XLSX&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;76 REPLACE;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;77 RUN;&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasError"&gt;ERROR: Physical file does not exist, /pbr/biconfig/940/Lev1/SASApp//folders/home/noleenwork0/mydata//Edwinsas.&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have called my data file mydata and have also called the library mydata. My student's spreadsheet is Edwinsas. This particular run was done with (here) and without the /folders at the beginning&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Mar 2019 07:55:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Import-excel-using-SAS-on-demand-cloud-and-snippets/m-p/540354#M7145</guid>
      <dc:creator>Noleen0</dc:creator>
      <dc:date>2019-03-05T07:55:36Z</dc:date>
    </item>
    <item>
      <title>Re: Import excel using SAS on demand (cloud) and snippets</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Import-excel-using-SAS-on-demand-cloud-and-snippets/m-p/540374#M7146</link>
      <description>&lt;P&gt;Please re-post the log, using the {i} button. I suspect you have a hidden character in your DATAFILE string that prevents the path from being recognized as absolute.&lt;/P&gt;
&lt;P&gt;Also include the log of the libname statement you use for library mydata.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Mar 2019 08:57:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Import-excel-using-SAS-on-demand-cloud-and-snippets/m-p/540374#M7146</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2019-03-05T08:57:52Z</dc:date>
    </item>
    <item>
      <title>Re: Import excel using SAS on demand (cloud) and snippets</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Import-excel-using-SAS-on-demand-cloud-and-snippets/m-p/540437#M7147</link>
      <description>Thank you. I came right with the help chat eventually, and a lot of&lt;BR /&gt;fidgeting! Something may well have been hidden because I reloaded and reran&lt;BR /&gt;everything.&lt;BR /&gt;</description>
      <pubDate>Tue, 05 Mar 2019 13:52:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Import-excel-using-SAS-on-demand-cloud-and-snippets/m-p/540437#M7147</guid>
      <dc:creator>Noleen0</dc:creator>
      <dc:date>2019-03-05T13:52:00Z</dc:date>
    </item>
  </channel>
</rss>

