<?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: SAS proc import path with spaces in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/SAS-proc-import-path-with-spaces/m-p/867604#M342667</link>
    <description>&lt;P&gt;I typically use Windows Explorer so I can click on a folder and have the path in the display window to copy and paste into code. Same with filenames if they are to be read.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;HOWEVER, since you cite Enterprise Guide it probably means that the server running EG does not see your local drive (or cloud mounted drive) at all and you need to copy the file to a location that the server sees and use that path. If you think about it the server is extremely unlikely to have a generic "yourusername" folder on its C: drive much less the One Drive.&lt;/P&gt;</description>
    <pubDate>Sat, 01 Apr 2023 05:10:01 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2023-04-01T05:10:01Z</dc:date>
    <item>
      <title>SAS proc import path with spaces</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-proc-import-path-with-spaces/m-p/867594#M342664</link>
      <description>&lt;P&gt;I am trying to import an Excel spreadsheet in SAS Enterprise Guide v.&amp;nbsp;7.15 (64-bit).&lt;/P&gt;&lt;P&gt;This is the code:&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;PROC IMPORT DATAFILE="C:\Users\username\OneDrive - Name\Documents\spreadsheet.xlsx"&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;OUT= data_1&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;DBMS=XLSX&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;REPLACE;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;GETNAMES=YES;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;SHEET="sheet1";&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;RUN;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However I am getting the following Error message:&amp;nbsp;&lt;BR /&gt;&lt;SPAN&gt;ERROR: Physical file does not exist, C&lt;/SPAN&gt;&lt;FONT size="2"&gt;:\Users\username\OneDrive - Name\Documents\spreadsheet"&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;I suspect it is because of the space in the path name ? Anyone has an idea ?&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Fri, 31 Mar 2023 23:45:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-proc-import-path-with-spaces/m-p/867594#M342664</guid>
      <dc:creator>RVNWOP</dc:creator>
      <dc:date>2023-03-31T23:45:35Z</dc:date>
    </item>
    <item>
      <title>Re: SAS proc import path with spaces</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-proc-import-path-with-spaces/m-p/867604#M342667</link>
      <description>&lt;P&gt;I typically use Windows Explorer so I can click on a folder and have the path in the display window to copy and paste into code. Same with filenames if they are to be read.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;HOWEVER, since you cite Enterprise Guide it probably means that the server running EG does not see your local drive (or cloud mounted drive) at all and you need to copy the file to a location that the server sees and use that path. If you think about it the server is extremely unlikely to have a generic "yourusername" folder on its C: drive much less the One Drive.&lt;/P&gt;</description>
      <pubDate>Sat, 01 Apr 2023 05:10:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-proc-import-path-with-spaces/m-p/867604#M342667</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2023-04-01T05:10:01Z</dc:date>
    </item>
  </channel>
</rss>

