<?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: Proc Import Not Working for CSV in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Proc-Import-Not-Working-for-CSV/m-p/533728#M146362</link>
    <description>&lt;PRE&gt;13434
13435  PROC IMPORT OUT= list DATAFILE= "C:\Users\person\Desktop\SAS\list****_**.csv"
13436              DBMS=csv REPLACE;
13437       GETNAMES=YES;
13438  RUN;

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           0.02 seconds
      cpu time            0.04 seconds


&lt;/PRE&gt;&lt;P&gt;This is literally all it says&lt;/P&gt;</description>
    <pubDate>Thu, 07 Feb 2019 20:32:36 GMT</pubDate>
    <dc:creator>jjb123</dc:creator>
    <dc:date>2019-02-07T20:32:36Z</dc:date>
    <item>
      <title>Proc Import Not Working for CSV</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Import-Not-Working-for-CSV/m-p/533718#M146357</link>
      <description>&lt;P&gt;Hi all. The following code is not working for me.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It gives me the following error:&amp;nbsp;Import unsuccessful. See SAS Log for details.&lt;/P&gt;&lt;P&gt;Obviously, the SAS Log provided zero guidance, so please let me know if you can help.&lt;/P&gt;&lt;P&gt;Note: I've already checked the files in the folder and verified they are there. The data starts on line two, with column names on line 1.&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;filename file1 "C:\Users\person\Desktop\SAS\List_****_**.csv";
PROC IMPORT OUT= perm.list DATAFILE= file1
            DBMS=csv REPLACE;
     GETNAMES=YES;
RUN;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Feb 2019 20:13:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Import-Not-Working-for-CSV/m-p/533718#M146357</guid>
      <dc:creator>jjb123</dc:creator>
      <dc:date>2019-02-07T20:13:43Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Import Not Working for CSV</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Import-Not-Working-for-CSV/m-p/533727#M146361</link>
      <description>&lt;P&gt;As SAS already told you, the answer is in the log.&lt;/P&gt;
&lt;P&gt;Please post it (use the {i} button), and we will help you understand it.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Feb 2019 20:30:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Import-Not-Working-for-CSV/m-p/533727#M146361</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2019-02-07T20:30:45Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Import Not Working for CSV</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Import-Not-Working-for-CSV/m-p/533728#M146362</link>
      <description>&lt;PRE&gt;13434
13435  PROC IMPORT OUT= list DATAFILE= "C:\Users\person\Desktop\SAS\list****_**.csv"
13436              DBMS=csv REPLACE;
13437       GETNAMES=YES;
13438  RUN;

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           0.02 seconds
      cpu time            0.04 seconds


&lt;/PRE&gt;&lt;P&gt;This is literally all it says&lt;/P&gt;</description>
      <pubDate>Thu, 07 Feb 2019 20:32:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Import-Not-Working-for-CSV/m-p/533728#M146362</guid>
      <dc:creator>jjb123</dc:creator>
      <dc:date>2019-02-07T20:32:36Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Import Not Working for CSV</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Import-Not-Working-for-CSV/m-p/533731#M146363</link>
      <description>&lt;P&gt;You only need one * if you are doing wild cards: List_*.csv would get all of the List_ files in that location.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Are any of the files in use by another program such as Excel?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Did you try reading just one?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you are working in a server environment the program would likely be executing in terms of the server when paths are considered and is very likely that your desktop folder is not accessible by the server and could possibly be blocked from accessing C:\users on the server.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you are using SAS University edition the file is 1) in the wrong location as it has to be somewhere the virtual machine running SAS can see it and 2) the path syntax is incorrect as the path would start with /folders/myfolders/ and uses UNIX syntax.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Feb 2019 20:34:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Import-Not-Working-for-CSV/m-p/533731#M146363</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2019-02-07T20:34:15Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Import Not Working for CSV</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Import-Not-Working-for-CSV/m-p/533734#M146365</link>
      <description>&lt;P&gt;1) the one * still gave the same result&amp;nbsp;&lt;/P&gt;&lt;P&gt;2) none of the files are in use&lt;/P&gt;&lt;P&gt;3) yes, reading just one also does not work&lt;/P&gt;&lt;P&gt;4) the path is correct, as evidenced by SAS correctly reading my xlsx file with a similar path&lt;/P&gt;</description>
      <pubDate>Thu, 07 Feb 2019 20:36:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Import-Not-Working-for-CSV/m-p/533734#M146365</guid>
      <dc:creator>jjb123</dc:creator>
      <dc:date>2019-02-07T20:36:48Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Import Not Working for CSV</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Import-Not-Working-for-CSV/m-p/533738#M146368</link>
      <description>&lt;P&gt;I just restarted my SAS application and it worked fine.... Any reason why this happened? Or ways to prevent it in the future?&lt;/P&gt;</description>
      <pubDate>Thu, 07 Feb 2019 20:48:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Import-Not-Working-for-CSV/m-p/533738#M146368</guid>
      <dc:creator>jjb123</dc:creator>
      <dc:date>2019-02-07T20:48:56Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Import Not Working for CSV</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Import-Not-Working-for-CSV/m-p/533822#M146412</link>
      <description>The multiple asterisks may have messed things up if you missed a quote or comma somewhere.</description>
      <pubDate>Fri, 08 Feb 2019 04:01:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Import-Not-Working-for-CSV/m-p/533822#M146412</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-02-08T04:01:44Z</dc:date>
    </item>
  </channel>
</rss>

