<?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 proc import error in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/proc-import-error/m-p/579221#M13417</link>
    <description>&lt;P&gt;What is wrong in this statement ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc import datafile="C:\Users\manya\Documents\DATA\BRFFS_data.xls" 
	dbms = xls
	out = work.data1 
	replace ;
	getnames = YES ;
run ;

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;the log says this&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt; 
 1          OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
 70         
 71         proc import datafile="C:\Users\manya\Documents\DATA\BRFFS_data.xls"
 72         dbms = xls
 73         out = work.data1
 74         replace ;
 75         getnames = YES ;
 76         run ;
 
 ERROR: Physical file does not exist, /pbr/biconfig/940/Lev1/SASApp/C:\Users\manya\Documents\DATA\BRFFS_data.xls.
 NOTE: The SAS System stopped processing this step because of errors.
 NOTE: PROCEDURE IMPORT used (Total process time):
       real time           0.00 seconds
       user cpu time       0.00 seconds
       system cpu time     0.00 seconds
       memory              685.90k
       OS Memory           27028.00k
       Timestamp           08/05/2019 08:04:30 PM
       Step Count                        70  Switch Count  0
       Page Faults                       0
       Page Reclaims                     146
       Page Swaps                        0
       Voluntary Context Switches        0
       Involuntary Context Switches      0
       Block Input Operations            0
       Block Output Operations           0
       
 77         
 78         
 79         
 80         
 81         
 82         
 83         OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
 95         &lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Mon, 05 Aug 2019 20:06:22 GMT</pubDate>
    <dc:creator>saipriya92</dc:creator>
    <dc:date>2019-08-05T20:06:22Z</dc:date>
    <item>
      <title>proc import error</title>
      <link>https://communities.sas.com/t5/New-SAS-User/proc-import-error/m-p/579221#M13417</link>
      <description>&lt;P&gt;What is wrong in this statement ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc import datafile="C:\Users\manya\Documents\DATA\BRFFS_data.xls" 
	dbms = xls
	out = work.data1 
	replace ;
	getnames = YES ;
run ;

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;the log says this&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt; 
 1          OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
 70         
 71         proc import datafile="C:\Users\manya\Documents\DATA\BRFFS_data.xls"
 72         dbms = xls
 73         out = work.data1
 74         replace ;
 75         getnames = YES ;
 76         run ;
 
 ERROR: Physical file does not exist, /pbr/biconfig/940/Lev1/SASApp/C:\Users\manya\Documents\DATA\BRFFS_data.xls.
 NOTE: The SAS System stopped processing this step because of errors.
 NOTE: PROCEDURE IMPORT used (Total process time):
       real time           0.00 seconds
       user cpu time       0.00 seconds
       system cpu time     0.00 seconds
       memory              685.90k
       OS Memory           27028.00k
       Timestamp           08/05/2019 08:04:30 PM
       Step Count                        70  Switch Count  0
       Page Faults                       0
       Page Reclaims                     146
       Page Swaps                        0
       Voluntary Context Switches        0
       Involuntary Context Switches      0
       Block Input Operations            0
       Block Output Operations           0
       
 77         
 78         
 79         
 80         
 81         
 82         
 83         OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
 95         &lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 05 Aug 2019 20:06:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/proc-import-error/m-p/579221#M13417</guid>
      <dc:creator>saipriya92</dc:creator>
      <dc:date>2019-08-05T20:06:22Z</dc:date>
    </item>
    <item>
      <title>Re: proc import error</title>
      <link>https://communities.sas.com/t5/New-SAS-User/proc-import-error/m-p/579228#M13421</link>
      <description>&lt;P&gt;There is nothing syntactically wrong with your program but it looks like you are making the classic mistake of trying to read a spreadsheet stored on your local PC drive, but SAS runs on a remote Unix server. The clue is here -&amp;nbsp;/pbr/biconfig/940/Lev1/SASApp/ - this is the SAS installation folder on a Unix server.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You need to move the spreadsheet to a folder readable by your SAS server. I suggest you talk to your SAS administrator to identify where that is. If you are using SAS Enterprise Guide it contains a task for copying your spreadsheet (or files in general) to the SAS server.&lt;/P&gt;</description>
      <pubDate>Mon, 05 Aug 2019 20:26:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/proc-import-error/m-p/579228#M13421</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2019-08-05T20:26:09Z</dc:date>
    </item>
    <item>
      <title>Re: proc import error</title>
      <link>https://communities.sas.com/t5/New-SAS-User/proc-import-error/m-p/579297#M13440</link>
      <description>&lt;P&gt;Just to add:&lt;/P&gt;
&lt;P&gt;This part&lt;/P&gt;
&lt;PRE&gt;/pbr/biconfig/940/Lev1/SASApp/&lt;/PRE&gt;
&lt;P&gt;is the &lt;A href="https://en.wikipedia.org/wiki/Working_directory" target="_blank" rel="noopener"&gt;Current Working Directory (CWD)&lt;/A&gt;&amp;nbsp;of your SAS workspace server process on the UNIX server.&lt;/P&gt;
&lt;P&gt;You do not have write permissions there (unless your SAS admin erred catastrophically during the installation), so you need to put your file somewhere where you have those permissions. One place is your &lt;A href="https://en.wikipedia.org/wiki/Home_directory" target="_blank" rel="noopener"&gt;home directory&lt;/A&gt;, where you MUST have write permission for anything to work, and where you automatically "land" when logging on to the server directly (ie with WinSCP) using your SAS credentials.&lt;/P&gt;
&lt;P&gt;In your code, you can use $HOME to address this home directory:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc import datafile="$HOME/BRFFS_data.xls" &lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 06 Aug 2019 08:32:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/proc-import-error/m-p/579297#M13440</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2019-08-06T08:32:50Z</dc:date>
    </item>
  </channel>
</rss>

