<?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 do I write a filepath to a server in PROC iMPORT? in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-do-I-write-a-filepath-to-a-server-in-PROC-iMPORT/m-p/640642#M35879</link>
    <description>&lt;P&gt;Hi Chris,&lt;/P&gt;&lt;P&gt;Thanks for responding so quickly. I will enquire with my IT department if they can implement any of those solutions you've recommended.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;kind regards,&lt;/P&gt;&lt;P&gt;Eu Aun&lt;/P&gt;</description>
    <pubDate>Fri, 17 Apr 2020 08:55:08 GMT</pubDate>
    <dc:creator>eatan</dc:creator>
    <dc:date>2020-04-17T08:55:08Z</dc:date>
    <item>
      <title>How do I write a filepath to a server in PROC iMPORT?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-do-I-write-a-filepath-to-a-server-in-PROC-iMPORT/m-p/640489#M35877</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm new to Base SAS. I'm leaning to use base SAS to import a csv datafile( stage_1_feedback_monthly_raw_data_v2.csv) located on a server. I am using use SAS EG 7.12. Here's my code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;PROC IMPORT DATAFILE="\\blackett\ncareers\MI\feedback\SAS_dataset\stage_1_feedback_monthly_raw_data_v2.csv" DBMS=csv 
	OUT=work.stage_1_feedback_import REPLACE;
	run; &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;The log( see below) mentions that the file does not exist suggesting my filepath is wrong. I can't see what path to use? Can anyone help?&amp;nbsp; Many thanks in advance :).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;24         PROC IMPORT DATAFILE="\\blackett\ncareers\MI\feedback\SAS_dataset\stage_1_feedback_monthly_raw_data_v2.csv" DBMS=csv
25         	OUT=work.stage_1_feedback_import REPLACE;
26         	run;

NOTE: Unable to open parameter catalog: SASUSER.PARMS.PARMS.SLIST in update mode. Temporary parameter values will be saved to WORK.PARMS.PARMS.SLIST.
ERROR: Physical file does not exist, /opt/sas/config/Lev1/SASApp/\\blackett\ncareers\MI\feedback\SAS_dataset\stage_1_feedback_monthly_raw_data_v2.csv. 
ERROR: Import unsuccessful.  See SAS Log for details.
NOTE: The SAS System stopped processing this step because of errors.
NOTE: PROCEDURE IMPORT used (Total process time):
      real time           5.06 seconds
      cpu time            0.04 seconds
      
27         
28         GOPTIONS NOACCESSIBLE;
29         %LET _CLIENTTASKLABEL=;
30         %LET _CLIENTPROCESSFLOWNAME=;&lt;/PRE&gt;</description>
      <pubDate>Thu, 16 Apr 2020 16:59:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-do-I-write-a-filepath-to-a-server-in-PROC-iMPORT/m-p/640489#M35877</guid>
      <dc:creator>eatan</dc:creator>
      <dc:date>2020-04-16T16:59:27Z</dc:date>
    </item>
    <item>
      <title>Re: How do I write a filepath to a server in PROC iMPORT?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-do-I-write-a-filepath-to-a-server-in-PROC-iMPORT/m-p/640494#M35878</link>
      <description>&lt;P&gt;Your CSV file is on your local Windows network, but your SAS code is running in Linux (looks like).&amp;nbsp; So you can either:&lt;/P&gt;
&lt;P&gt;- address your CSV file path in terms of Linux (maybe you have a shared file mount that you can use),&amp;nbsp;&lt;STRONG&gt;or&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;- use the Copy Files task to copy the CSV file to the Linux file system, then PROC IMPORT from there.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Copy Files is built into SAS Enterprise Guide, but in version&amp;nbsp;&lt;STRONG&gt;7.13&lt;/STRONG&gt; and later.&amp;nbsp; &lt;A href="https://blogs.sas.com/content/sasdummy/2012/12/06/copy-files-in-sas-eg/" target="_self"&gt;If you have 7.12 you'll have to install that task yourself&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Apr 2020 17:36:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-do-I-write-a-filepath-to-a-server-in-PROC-iMPORT/m-p/640494#M35878</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2020-04-16T17:36:41Z</dc:date>
    </item>
    <item>
      <title>Re: How do I write a filepath to a server in PROC iMPORT?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-do-I-write-a-filepath-to-a-server-in-PROC-iMPORT/m-p/640642#M35879</link>
      <description>&lt;P&gt;Hi Chris,&lt;/P&gt;&lt;P&gt;Thanks for responding so quickly. I will enquire with my IT department if they can implement any of those solutions you've recommended.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;kind regards,&lt;/P&gt;&lt;P&gt;Eu Aun&lt;/P&gt;</description>
      <pubDate>Fri, 17 Apr 2020 08:55:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-do-I-write-a-filepath-to-a-server-in-PROC-iMPORT/m-p/640642#M35879</guid>
      <dc:creator>eatan</dc:creator>
      <dc:date>2020-04-17T08:55:08Z</dc:date>
    </item>
  </channel>
</rss>

