<?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: How to connect to data using SAS University in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-connect-to-data-using-SAS-University/m-p/685237#M207794</link>
    <description>&lt;P&gt;Thank you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;wlierman&lt;/P&gt;</description>
    <pubDate>Sun, 20 Sep 2020 04:56:29 GMT</pubDate>
    <dc:creator>wlierman</dc:creator>
    <dc:date>2020-09-20T04:56:29Z</dc:date>
    <item>
      <title>How to connect to data using SAS University</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-connect-to-data-using-SAS-University/m-p/685199#M207779</link>
      <description>&lt;P&gt;I am using SAS University Edition JupyterLab.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is what I have&lt;/P&gt;
&lt;PRE&gt;''' options compress=yes;
Libname SAS_1 'C:\SASUniversityEdition\myfolders';

Proc import 
Datafile = "C:\SASUniversityEdition\myfolders\data_code\All_Contacts.xlsx"
dbms = xlsx
out = SAS_1.All_Contacts_code
replace;
getnames=Yes;
run; '''&lt;/PRE&gt;
&lt;P&gt;The log&lt;/P&gt;
&lt;PRE&gt;ods listing close;ods html5 (id=saspy_internal) file=stdout options(bitmap_mode='inline') device=svg style=HTMLBlue; ods
114! graphics on / outputfmt=png;
NOTE: Writing HTML5(SASPY_INTERNAL) Body file: STDOUT
115  
116  options compress=yes;
117  Libname SAS_1 'C:\SASUniversityEdition\myfolders';
NOTE: Library SAS_1 does not exist.
118  
119  Proc import
120  Datafile = "C:\SASUniversityEdition\myfolders\data_code\All_Contacts.xlsx"
121  dbms = xlsx
122  out = SAS_1.All_Contacts_code
123  replace;
124  getnames=Yes;
125  run;
ERROR: Physical file does not exist, /media/sf_myfolders/C:\SASUniversityEdition\myfolders\data_code\/All_Contacts.
NOTE: The SAS System stopped processing this step because of errors.
NOTE: PROCEDURE IMPORT used (Total process time):
      real time           0.00 seconds
      cpu time            0.00 seconds&lt;/PRE&gt;
&lt;P&gt;I can follow the path to the physical file which is an Excel xlsx file.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What is the form of the Libname statement?&amp;nbsp; Why does the path expressed in the datafile statement not find the excel file?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for your assistance.&lt;/P&gt;
&lt;P&gt;wlierman&lt;/P&gt;</description>
      <pubDate>Sat, 19 Sep 2020 16:08:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-connect-to-data-using-SAS-University/m-p/685199#M207779</guid>
      <dc:creator>wlierman</dc:creator>
      <dc:date>2020-09-19T16:08:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to connect to data using SAS University</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-connect-to-data-using-SAS-University/m-p/685201#M207780</link>
      <description>&lt;P&gt;You need to address the shared folder from within the virtual machine, where the path is&lt;/P&gt;
&lt;PRE&gt;/folders/myfolders&lt;/PRE&gt;
&lt;P&gt;so the correct path would be&lt;/P&gt;
&lt;PRE&gt;/folders/myfolders/data_code/All_Contacts.xlsx&lt;/PRE&gt;</description>
      <pubDate>Sat, 19 Sep 2020 16:35:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-connect-to-data-using-SAS-University/m-p/685201#M207780</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-09-19T16:35:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to connect to data using SAS University</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-connect-to-data-using-SAS-University/m-p/685202#M207781</link>
      <description>&lt;P&gt;Thank you that was exactly the solution.&lt;/P&gt;
&lt;P&gt;Besides the SAS University FAQs is there a article that you would recommend to help understand more about problems like this - connecting to data in a VM environment?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you again for your help.&amp;nbsp; I really appreciate it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;wlierman&lt;/P&gt;</description>
      <pubDate>Sat, 19 Sep 2020 16:53:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-connect-to-data-using-SAS-University/m-p/685202#M207781</guid>
      <dc:creator>wlierman</dc:creator>
      <dc:date>2020-09-19T16:53:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to connect to data using SAS University</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-connect-to-data-using-SAS-University/m-p/685210#M207787</link>
      <description>&lt;P&gt;That depends very much on the internal setup of the VM. If it surfaces a SSH port to, you can use SFTP clients to transfer data. The shared folder method is just what SAS chose vor UE.&lt;/P&gt;
&lt;P&gt;Most servers today run in VMs.&lt;/P&gt;</description>
      <pubDate>Sat, 19 Sep 2020 18:06:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-connect-to-data-using-SAS-University/m-p/685210#M207787</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-09-19T18:06:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to connect to data using SAS University</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-connect-to-data-using-SAS-University/m-p/685237#M207794</link>
      <description>&lt;P&gt;Thank you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;wlierman&lt;/P&gt;</description>
      <pubDate>Sun, 20 Sep 2020 04:56:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-connect-to-data-using-SAS-University/m-p/685237#M207794</guid>
      <dc:creator>wlierman</dc:creator>
      <dc:date>2020-09-20T04:56:29Z</dc:date>
    </item>
  </channel>
</rss>

