<?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: Import unsuccessful. See SAS log files (Foxpro Data) in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Import-unsuccessful-See-SAS-log-files-Foxpro-Data/m-p/419088#M103018</link>
    <description>&lt;P&gt;"See SAS Log for Details." lets me think there is more in the log of the import step.&lt;/P&gt;</description>
    <pubDate>Thu, 07 Dec 2017 08:14:03 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2017-12-07T08:14:03Z</dc:date>
    <item>
      <title>Import unsuccessful. See SAS log files (Foxpro Data)</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Import-unsuccessful-See-SAS-log-files-Foxpro-Data/m-p/419081#M103015</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to import a particular foxpro database table using the follow&lt;/P&gt;&lt;P&gt;PROC IMPORT OUT=FOXPRO.xxxxxx&lt;BR /&gt;DATAFILE="C:\FOXPRO-DBF\xxxx\xxxxxx.DBF"&lt;BR /&gt;DBMS=DBFMEMO REPLACE;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and it is displaying the error&amp;nbsp;&lt;/P&gt;&lt;P&gt;ERROR: Import unsuccessful.&amp;nbsp; See SAS Log for details.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What could be the reason and how to fix this?&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have not faced such an issue in importing any other tables from foxpro or any other database&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Sanat&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Dec 2017 06:20:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Import-unsuccessful-See-SAS-log-files-Foxpro-Data/m-p/419081#M103015</guid>
      <dc:creator>sklal</dc:creator>
      <dc:date>2017-12-07T06:20:26Z</dc:date>
    </item>
    <item>
      <title>Re: Import unsuccessful. See SAS log files (Foxpro Data)</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Import-unsuccessful-See-SAS-log-files-Foxpro-Data/m-p/419088#M103018</link>
      <description>&lt;P&gt;"See SAS Log for Details." lets me think there is more in the log of the import step.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Dec 2017 08:14:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Import-unsuccessful-See-SAS-log-files-Foxpro-Data/m-p/419088#M103018</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2017-12-07T08:14:03Z</dc:date>
    </item>
    <item>
      <title>Re: Import unsuccessful. See SAS log files (Foxpro Data)</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Import-unsuccessful-See-SAS-log-files-Foxpro-Data/m-p/419411#M103125</link>
      <description>&lt;P&gt;Run&amp;nbsp; this code:&lt;/P&gt;
&lt;PRE&gt;proc setinit; run;

proc product_status;run;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;See if you have SAS/ACCESS Interface to PC Files in both sections of output.&lt;/P&gt;
&lt;P&gt;If not in the first then not licensed, if in the first and not the second then the interface wasn't installed.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think the FoxPro memo files are supposed to have a FPT extension. Perhaps you don't want DBFMEMO but DBMS=DBF.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;One also never quite knows when a hyphen in a path name causes a problem. You might try renaming the FOXPRO-DBF folder with the "-".&lt;/P&gt;</description>
      <pubDate>Thu, 07 Dec 2017 23:41:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Import-unsuccessful-See-SAS-log-files-Foxpro-Data/m-p/419411#M103125</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2017-12-07T23:41:46Z</dc:date>
    </item>
    <item>
      <title>Re: Import unsuccessful. See SAS log files (Foxpro Data)</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Import-unsuccessful-See-SAS-log-files-Foxpro-Data/m-p/419422#M103129</link>
      <description>&lt;P&gt;Alas&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/11562"&gt;@Kurt_Bremser&lt;/a&gt;, not necessarily.&amp;nbsp; I've seen that error myself and details aren't always available.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I guess it's better than saying:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;Import unsuccessful. *shrug*&lt;/PRE&gt;</description>
      <pubDate>Fri, 08 Dec 2017 00:31:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Import-unsuccessful-See-SAS-log-files-Foxpro-Data/m-p/419422#M103129</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2017-12-08T00:31:32Z</dc:date>
    </item>
    <item>
      <title>Re: Import unsuccessful. See SAS log files (Foxpro Data)</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Import-unsuccessful-See-SAS-log-files-Foxpro-Data/m-p/419472#M103153</link>
      <description>&lt;P&gt;Thanks for the response.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't think there is any licensing issue(I have checked both the statements). Also, I tried replacing dbfmemo with dbf and changed the path name, now it doesn't throw an error but it is not displaying any rows inside the dataset , just blank column names.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any formatting issue within the file itself ? Or do I need to make some modifications from my side?&lt;/P&gt;</description>
      <pubDate>Fri, 08 Dec 2017 05:03:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Import-unsuccessful-See-SAS-log-files-Foxpro-Data/m-p/419472#M103153</guid>
      <dc:creator>sklal</dc:creator>
      <dc:date>2017-12-08T05:03:15Z</dc:date>
    </item>
    <item>
      <title>Re: Import unsuccessful. See SAS log files (Foxpro Data)</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Import-unsuccessful-See-SAS-log-files-Foxpro-Data/m-p/419474#M103154</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/4"&gt;@ChrisHemedinger&lt;/a&gt;&amp;nbsp;has rightly pointed out. The details are not available.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Dec 2017 05:13:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Import-unsuccessful-See-SAS-log-files-Foxpro-Data/m-p/419474#M103154</guid>
      <dc:creator>sklal</dc:creator>
      <dc:date>2017-12-08T05:13:18Z</dc:date>
    </item>
    <item>
      <title>Re: Import unsuccessful. See SAS log files (Foxpro Data)</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Import-unsuccessful-See-SAS-log-files-Foxpro-Data/m-p/419483#M103157</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/179237"&gt;@sklal&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/4"&gt;@ChrisHemedinger&lt;/a&gt;&amp;nbsp;has rightly pointed out. The details are not available.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;BR /&gt;D**n. Worst case situation. Do you still have FoxPro or some other software with which you can inspect the file?&lt;/P&gt;</description>
      <pubDate>Fri, 08 Dec 2017 07:44:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Import-unsuccessful-See-SAS-log-files-Foxpro-Data/m-p/419483#M103157</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2017-12-08T07:44:56Z</dc:date>
    </item>
    <item>
      <title>Re: Import unsuccessful. See SAS log files (Foxpro Data)</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Import-unsuccessful-See-SAS-log-files-Foxpro-Data/m-p/419708#M103207</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/179237"&gt;@sklal&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;Thanks for the response.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I don't think there is any licensing issue(I have checked both the statements). Also, I tried replacing dbfmemo with dbf and changed the path name, now it doesn't throw an error but it is not displaying any rows inside the dataset , just blank column names.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there any formatting issue within the file itself ? Or do I need to make some modifications from my side?&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;What size, how many bytes, does the operating system say that file has. If it is under 10K it might actually be empty with only column header information.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I was never much of a FoxPro guru but I seem to remember that some of the databases that use DBF formatted files actually have one or two other files that accompanied them. When other programs looked at that data they expected those other files to be in the same location with the same name except a different extension.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you don't have FoxPro but do have Excel you might try opening it with Excel. This is a longish shot, but if it works then you could save from Excel to a CSV file which may be easier to import. You would be reading a delimited file or DBMS=CSV. Use a large value for the GUESSINGROW (32000 or number of lines in the file, which ever is smaller) option to have best chance of Proc Import reading values correctly.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Dec 2017 21:36:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Import-unsuccessful-See-SAS-log-files-Foxpro-Data/m-p/419708#M103207</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2017-12-08T21:36:15Z</dc:date>
    </item>
    <item>
      <title>Re: Import unsuccessful. See SAS log files (Foxpro Data)</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Import-unsuccessful-See-SAS-log-files-Foxpro-Data/m-p/419717#M103211</link>
      <description>&lt;P&gt;Did you check the file to make sure it is actually as DBF or at least a FOXPRO version of a DBF file?&lt;/P&gt;
&lt;P&gt;You can get a quick dump of the beginning of the file by using a simple DATA step. For example you could look at the first 800 bytes by running this program.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data _null_;
  infile "C:\FOXPRO-DBF\xxxx\xxxxxx.DBF" recfm=f lrecl=80 obs=10 ;
  input;
  list;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;You can find more information on the DBF file format on-line.&amp;nbsp; Try here.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.loc.gov/preservation/digital/formats/fdd/fdd000325.shtml" target="_blank"&gt;https://www.loc.gov/preservation/digital/formats/fdd/fdd000325.shtml&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Dec 2017 22:00:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Import-unsuccessful-See-SAS-log-files-Foxpro-Data/m-p/419717#M103211</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2017-12-08T22:00:56Z</dc:date>
    </item>
    <item>
      <title>Re: Import unsuccessful. See SAS log files (Foxpro Data)</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Import-unsuccessful-See-SAS-log-files-Foxpro-Data/m-p/421430#M103671</link>
      <description>&lt;P&gt;Yes, it had just column names inside it. Same was the case with 47 other such files. The client's foxpro team has now&amp;nbsp; confirmed that these files were all corrupted. So I guess this error shows when the files are corrupted.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Dec 2017 04:32:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Import-unsuccessful-See-SAS-log-files-Foxpro-Data/m-p/421430#M103671</guid>
      <dc:creator>sklal</dc:creator>
      <dc:date>2017-12-15T04:32:57Z</dc:date>
    </item>
    <item>
      <title>Re: Import unsuccessful. See SAS log files (Foxpro Data)</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Import-unsuccessful-See-SAS-log-files-Foxpro-Data/m-p/421431#M103672</link>
      <description>&lt;P&gt;I checked it with Visual foxpro as well as excel and they too were showing just column names inside. Same was the case with 47 other such files. The file(s) size varied between 2KB and 5KB. The client's foxpro team has now confirmed that these files are corrupted. So, it seems this error shows up when the files are corrupted. Not sure if there is any other reason for this error.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Dec 2017 04:38:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Import-unsuccessful-See-SAS-log-files-Foxpro-Data/m-p/421431#M103672</guid>
      <dc:creator>sklal</dc:creator>
      <dc:date>2017-12-15T04:38:06Z</dc:date>
    </item>
    <item>
      <title>Re: Import unsuccessful. See SAS log files (Foxpro Data)</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Import-unsuccessful-See-SAS-log-files-Foxpro-Data/m-p/421432#M103673</link>
      <description>&lt;P&gt;Yes , it is an actual DBF file but I tried opening the file on Visual Foxpro and excel and the just showed column names. It seems this file and 47 other such files are corrupted. So I guess this error shows up when the files are corrupted.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Dec 2017 04:41:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Import-unsuccessful-See-SAS-log-files-Foxpro-Data/m-p/421432#M103673</guid>
      <dc:creator>sklal</dc:creator>
      <dc:date>2017-12-15T04:41:29Z</dc:date>
    </item>
  </channel>
</rss>

