<?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: problem with proc import in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/problem-with-proc-import/m-p/171725#M44302</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;UE is running at Linux you CANNOT use windows filenames with that. Use the Unix names for that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The unix shared name of My folder is:&amp;nbsp;&amp;nbsp; /folders/myfolders/ ....&amp;nbsp; (instead of ... your datasetname)&lt;/P&gt;&lt;P&gt;Ask the properties of folders/datasets in the right panel.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;="C:/Users/RChiruka/Documents/software/SASUniversityEdition/Myfolders/mandeya/nur.xlsx"&amp;nbsp;&amp;nbsp; (windows)&lt;/P&gt;&lt;P&gt;="/folders/myfolders/mandeya/nur.xlsx"&amp;nbsp; (unix)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 14 Nov 2014 09:41:45 GMT</pubDate>
    <dc:creator>jakarman</dc:creator>
    <dc:date>2014-11-14T09:41:45Z</dc:date>
    <item>
      <title>problem with proc import</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/problem-with-proc-import/m-p/171724#M44301</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i'm trying to import data either a tab delimited or excel file still get the same error that physical file does not exist. here is the code and error&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;&lt;/P&gt;&lt;P&gt; 42&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ;&lt;/P&gt;&lt;P&gt; 43&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /** Import an XLS file.&amp;nbsp; **/&lt;/P&gt;&lt;P&gt; 44&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt; 45&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PROC IMPORT DATAFILE="C:/Users/RChiruka/Documents/software/SASUniversityEdition/Myfolders/mandeya/nur.xlsx"&lt;/P&gt;&lt;P&gt; 46&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OUT=WORK.MYEXCEL&lt;/P&gt;&lt;P&gt; 47&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DBMS=XLSX&lt;/P&gt;&lt;P&gt; 48&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; REPLACE;&lt;/P&gt;&lt;P&gt; 49&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RUN;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; ERROR: Physical file does not exist, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /opt/sasinside/SASConfig/Lev1/SASApp/C:/Users/RChiruka/Documents/software/SASUniversityEdition&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the excel file is saved in the shared folder myfolders. i also tried to change the forward slash to back slash with the same result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Nov 2014 09:39:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/problem-with-proc-import/m-p/171724#M44301</guid>
      <dc:creator>tonderai</dc:creator>
      <dc:date>2014-11-14T09:39:28Z</dc:date>
    </item>
    <item>
      <title>Re: problem with proc import</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/problem-with-proc-import/m-p/171725#M44302</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;UE is running at Linux you CANNOT use windows filenames with that. Use the Unix names for that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The unix shared name of My folder is:&amp;nbsp;&amp;nbsp; /folders/myfolders/ ....&amp;nbsp; (instead of ... your datasetname)&lt;/P&gt;&lt;P&gt;Ask the properties of folders/datasets in the right panel.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;="C:/Users/RChiruka/Documents/software/SASUniversityEdition/Myfolders/mandeya/nur.xlsx"&amp;nbsp;&amp;nbsp; (windows)&lt;/P&gt;&lt;P&gt;="/folders/myfolders/mandeya/nur.xlsx"&amp;nbsp; (unix)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Nov 2014 09:41:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/problem-with-proc-import/m-p/171725#M44302</guid>
      <dc:creator>jakarman</dc:creator>
      <dc:date>2014-11-14T09:41:45Z</dc:date>
    </item>
    <item>
      <title>Re: problem with proc import</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/problem-with-proc-import/m-p/171726#M44303</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you should place the file in Linux server as Jaap mentioned instead placing it in windows folder.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Nov 2014 09:43:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/problem-with-proc-import/m-p/171726#M44303</guid>
      <dc:creator>RamKumar</dc:creator>
      <dc:date>2014-11-14T09:43:46Z</dc:date>
    </item>
    <item>
      <title>Re: problem with proc import</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/problem-with-proc-import/m-p/171727#M44304</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;my sas is running on windows so I tried with the back slash istill get the same error&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;&lt;/P&gt;&lt;P&gt; 42&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ;&lt;/P&gt;&lt;P&gt; 43&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /** Import an XLS file.&amp;nbsp; **/&lt;/P&gt;&lt;P&gt; 44&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt; 45&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PROC IMPORT DATAFILE="C:\Users\RChiruka\Documents\software\SASUniversityEdition\Myfolder\/mandeya\nur.xlsx"&lt;/P&gt;&lt;P&gt; 46&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OUT=WORK.MYEXCEL&lt;/P&gt;&lt;P&gt; 47&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DBMS=XLSX&lt;/P&gt;&lt;P&gt; 48&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; REPLACE;&lt;/P&gt;&lt;P&gt; 49&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RUN;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; ERROR: Physical file does not exist, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /opt/sasinside/SASConfig/Lev1/SASApp/C:/Users/RChiruka/Documents/software/SASUniversityEdition&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the excel file is saved in the shared folder myfolders.&lt;/P&gt;&lt;P&gt;i also tried to change the forward slash to back slash with the same result.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Nov 2014 09:47:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/problem-with-proc-import/m-p/171727#M44304</guid>
      <dc:creator>tonderai</dc:creator>
      <dc:date>2014-11-14T09:47:17Z</dc:date>
    </item>
    <item>
      <title>Re: problem with proc import</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/problem-with-proc-import/m-p/171728#M44305</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your sas may be running on your desktop windows in a VIRTUALIZED LINUX environment (CENTOS).&lt;/P&gt;&lt;P&gt;This message:&amp;nbsp; " /opt/sasinside/SASConfig/Lev1/SASApp " is the proof of that no sas-windows but a Unix-SAS that is coming with UE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you run the sas-code:&amp;nbsp;&amp;nbsp;&amp;nbsp; % put _automatic_ ;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; it will show:&lt;/P&gt;&lt;P class="sasSource"&gt; AUTOMATIC SYSHOSTINFOLONG Linux LIN X64 2.6.32-431.11.2.el6.x86_64 #1 SMP Tue Mar 25 19:59:55 UTC 2014 x86_64 CentOS release 6.5&amp;nbsp; (Final) &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Nov 2014 10:00:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/problem-with-proc-import/m-p/171728#M44305</guid>
      <dc:creator>jakarman</dc:creator>
      <dc:date>2014-11-14T10:00:52Z</dc:date>
    </item>
    <item>
      <title>Re: problem with proc import</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/problem-with-proc-import/m-p/171729#M44306</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ram and Jaap are right, but maybe the problem here is the understanding.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What you pretend is to make an import of a local file (on your windows pc), when running your code in your server, that is a Linux server. So the server is trying to read a Windows path (and reach a file that is not on the server), and of course the server can not do that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unless that you have a local Base SAS and SAS Connect (probably not), you should upload your file to the server, and then the proc import should reflect the path where the Xls file is placed (Linux path).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Some suggested readings:&lt;/P&gt;&lt;P&gt;&lt;A class="active_link" href="http://blogs.sas.com/content/sasdummy/2012/12/06/copy-files-in-sas-eg/" title="http://blogs.sas.com/content/sasdummy/2012/12/06/copy-files-in-sas-eg/"&gt;http://blogs.sas.com/content/sasdummy/2012/12/06/copy-files-in-sas-eg/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/resources/papers/proceedings12/300-2012.pdf" title="http://support.sas.com/resources/papers/proceedings12/300-2012.pdf"&gt;http://support.sas.com/resources/papers/proceedings12/300-2012.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://stackoverflow.com/questions/13430710/sas-eg-including-local-file-while-running-on-server" title="http://stackoverflow.com/questions/13430710/sas-eg-including-local-file-while-running-on-server"&gt;enterprise guide - SAS EG: including local file while running on server - Stack Overflow&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Nov 2014 10:29:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/problem-with-proc-import/m-p/171729#M44306</guid>
      <dc:creator>JuanS_OCS</dc:creator>
      <dc:date>2014-11-14T10:29:29Z</dc:date>
    </item>
    <item>
      <title>Re: problem with proc import</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/problem-with-proc-import/m-p/171730#M44307</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i uploaded the file i wanted to import to myfolder in sas and ra n the proc import and it seems to work fine so i think for now i will just have to upload my files first.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;final question&lt;/P&gt;&lt;P&gt;why do we create a shared myfolder when installing sas&amp;nbsp; u if it does not seem to be used .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Nov 2014 10:43:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/problem-with-proc-import/m-p/171730#M44307</guid>
      <dc:creator>tonderai</dc:creator>
      <dc:date>2014-11-14T10:43:19Z</dc:date>
    </item>
    <item>
      <title>Re: problem with proc import</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/problem-with-proc-import/m-p/171731#M44308</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good to read&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The share still makes sense, because you can put your files on the share. But the share needs to be mounted on a Linux path. Then, if you put your files on a windows share like \\server\folder\file.ext, and if \\server\folder is mounted on the linux server as /media/win_share/ , then you should be ably to reach that file with a Linux path as /media/win_share/file.ext from the server.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Nov 2014 10:48:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/problem-with-proc-import/m-p/171731#M44308</guid>
      <dc:creator>JuanS_OCS</dc:creator>
      <dc:date>2014-11-14T10:48:55Z</dc:date>
    </item>
  </channel>
</rss>

