<?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: Error when Iimport a csv file in WindosXP environment in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Error-when-Iimport-a-csv-file-in-WindosXP-environment/m-p/17167#M3128</link>
    <description>Did you write this code or was it from one of the wizards? If code, try with base SAS.&lt;BR /&gt;
&lt;BR /&gt;
I searched for the first phrase of the error message and got several possible hits on support.sas.com, particularly this one&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="http://support.sas.com/kb/19/720.html" target="_blank"&gt;http://support.sas.com/kb/19/720.html&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
You would need to look at the rest of the log for some of the parts.</description>
    <pubDate>Thu, 24 Feb 2011 20:03:45 GMT</pubDate>
    <dc:creator>Doc_Duke</dc:creator>
    <dc:date>2011-02-24T20:03:45Z</dc:date>
    <item>
      <title>Error when Iimport a csv file in WindosXP environment</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Error-when-Iimport-a-csv-file-in-WindosXP-environment/m-p/17166#M3127</link>
      <description>I am running this sas code  in EG 4.2:&lt;BR /&gt;
&lt;BR /&gt;
------------------------------&lt;BR /&gt;
proc import&lt;BR /&gt;
dbms = csv&lt;BR /&gt;
datafile = '\\wkhqpmin01\Marketing\UserSpace\BHE\Test\test_supression_snaplink.csv'&lt;BR /&gt;
out = work.test_supression_snaplink ;&lt;BR /&gt;
run;&lt;BR /&gt;
-------------------------&lt;BR /&gt;
&lt;BR /&gt;
I do not understand why my sas log shows: &lt;BR /&gt;
Unable to sample external file, no data in first 5 records.&lt;BR /&gt;
ERROR: Import unsuccessful.  See SAS Log for details.&lt;BR /&gt;
&lt;BR /&gt;
I have more than 40k records,with A - I columns,  in my csv file. This is so weird...............</description>
      <pubDate>Thu, 24 Feb 2011 19:36:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Error-when-Iimport-a-csv-file-in-WindosXP-environment/m-p/17166#M3127</guid>
      <dc:creator>beathe</dc:creator>
      <dc:date>2011-02-24T19:36:06Z</dc:date>
    </item>
    <item>
      <title>Re: Error when Iimport a csv file in WindosXP environment</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Error-when-Iimport-a-csv-file-in-WindosXP-environment/m-p/17167#M3128</link>
      <description>Did you write this code or was it from one of the wizards? If code, try with base SAS.&lt;BR /&gt;
&lt;BR /&gt;
I searched for the first phrase of the error message and got several possible hits on support.sas.com, particularly this one&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="http://support.sas.com/kb/19/720.html" target="_blank"&gt;http://support.sas.com/kb/19/720.html&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
You would need to look at the rest of the log for some of the parts.</description>
      <pubDate>Thu, 24 Feb 2011 20:03:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Error-when-Iimport-a-csv-file-in-WindosXP-environment/m-p/17167#M3128</guid>
      <dc:creator>Doc_Duke</dc:creator>
      <dc:date>2011-02-24T20:03:45Z</dc:date>
    </item>
    <item>
      <title>Re: Error when import a csv file in WindosXP environment</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Error-when-Iimport-a-csv-file-in-WindosXP-environment/m-p/17168#M3129</link>
      <description>I wrote this code;&lt;BR /&gt;
&lt;BR /&gt;
I also tried to wrote this sas code:&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
---------------------------------------------&lt;BR /&gt;
DATA sasuser.test_supression_snaplink;   &lt;BR /&gt;
&lt;BR /&gt;
INFILE &lt;BR /&gt;
'\\wkhqpmin01\Marketing\UserSpace\BHE\Test\test_supression_snaplink.csv'&lt;BR /&gt;
       DLM='9F'x&lt;BR /&gt;
        MISSOVER&lt;BR /&gt;
        DSD IGNOREDOSEOF;&lt;BR /&gt;
&lt;BR /&gt;
             FORMAT&lt;BR /&gt;
        first_name       $25.&lt;BR /&gt;
        middle_initial   $5.&lt;BR /&gt;
        last_name        $48.&lt;BR /&gt;
        address          $130.&lt;BR /&gt;
        city             $24.&lt;BR /&gt;
        state            $2.&lt;BR /&gt;
        zip              $27.&lt;BR /&gt;
        ad_code          $8.&lt;BR /&gt;
        suppression_type $5. ;&lt;BR /&gt;
    INPUT&lt;BR /&gt;
        first_name       $&lt;BR /&gt;
        middle_initial   $&lt;BR /&gt;
        last_name        $&lt;BR /&gt;
        address          $&lt;BR /&gt;
        city             $&lt;BR /&gt;
        state            $&lt;BR /&gt;
        zip              $&lt;BR /&gt;
        ad_code          $&lt;BR /&gt;
        suppression_type $ ;&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
-----------&lt;BR /&gt;
&lt;BR /&gt;
I got a sas dataset from this piece of code,  but my csv data dos not show in the sas dataset result.I could only see some unrecongnizable stuffs: like ÐÏ&amp;#17;à¡±&amp;#26;á</description>
      <pubDate>Thu, 24 Feb 2011 21:04:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Error-when-Iimport-a-csv-file-in-WindosXP-environment/m-p/17168#M3129</guid>
      <dc:creator>beathe</dc:creator>
      <dc:date>2011-02-24T21:04:53Z</dc:date>
    </item>
    <item>
      <title>Re: Error when import a csv file in WindosXP environment</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Error-when-Iimport-a-csv-file-in-WindosXP-environment/m-p/17169#M3130</link>
      <description>try to use:&lt;BR /&gt;
&lt;BR /&gt;
infile ............ firstobs=6;&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Ksharp</description>
      <pubDate>Mon, 28 Feb 2011 07:08:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Error-when-Iimport-a-csv-file-in-WindosXP-environment/m-p/17169#M3130</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2011-02-28T07:08:31Z</dc:date>
    </item>
  </channel>
</rss>

