<?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 Read / Write Visal Foxpro Data by SAS in SAS Data Management</title>
    <link>https://communities.sas.com/t5/SAS-Data-Management/Read-Write-Visal-Foxpro-Data-by-SAS/m-p/225662#M5406</link>
    <description>&lt;P&gt;I am seeking a way of directly way of reading&amp;nbsp;Visual Foxpro data in SAS, update data then write it back directly into Visual Foxpro. Using the following syntax could read Visual Foxpro data directly:&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New"&gt;libname&lt;/FONT&gt;&lt;FONT face="Courier New"&gt; mylib oledb provider=&lt;/FONT&gt;&lt;FONT color="#008080" face="Courier New"&gt;VFPOLEDB.1&lt;/FONT&gt;&lt;FONT face="Courier New"&gt; DataSource=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New"&gt;"H:\"&lt;/FONT&gt;&lt;FONT face="Courier New"&gt; preserve_tab_names=yes;&lt;/FONT&gt; However had problem&amp;nbsp;on writing out data in Visual Foxpro directly using the following syntax:&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New"&gt;&lt;STRONG&gt;data&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New"&gt; mylib.US;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New"&gt;&lt;FONT color="#0000ff" face="Courier New"&gt;set&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New"&gt; mylib.country;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New"&gt;&lt;FONT color="#0000ff" face="Courier New"&gt;run&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ERROR: Execute error: Unable to get create accessor; Error in columns : One or more accessor flags were invalid.&lt;/P&gt;&lt;P&gt;ERROR: ROLLBACK issued due to errors for data set MYLIB.US.DATA.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 15 Sep 2015 17:47:36 GMT</pubDate>
    <dc:creator>FallColor</dc:creator>
    <dc:date>2015-09-15T17:47:36Z</dc:date>
    <item>
      <title>Read / Write Visal Foxpro Data by SAS</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Read-Write-Visal-Foxpro-Data-by-SAS/m-p/225662#M5406</link>
      <description>&lt;P&gt;I am seeking a way of directly way of reading&amp;nbsp;Visual Foxpro data in SAS, update data then write it back directly into Visual Foxpro. Using the following syntax could read Visual Foxpro data directly:&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New"&gt;libname&lt;/FONT&gt;&lt;FONT face="Courier New"&gt; mylib oledb provider=&lt;/FONT&gt;&lt;FONT color="#008080" face="Courier New"&gt;VFPOLEDB.1&lt;/FONT&gt;&lt;FONT face="Courier New"&gt; DataSource=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New"&gt;"H:\"&lt;/FONT&gt;&lt;FONT face="Courier New"&gt; preserve_tab_names=yes;&lt;/FONT&gt; However had problem&amp;nbsp;on writing out data in Visual Foxpro directly using the following syntax:&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New"&gt;&lt;STRONG&gt;data&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New"&gt; mylib.US;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New"&gt;&lt;FONT color="#0000ff" face="Courier New"&gt;set&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New"&gt; mylib.country;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New"&gt;&lt;FONT color="#0000ff" face="Courier New"&gt;run&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ERROR: Execute error: Unable to get create accessor; Error in columns : One or more accessor flags were invalid.&lt;/P&gt;&lt;P&gt;ERROR: ROLLBACK issued due to errors for data set MYLIB.US.DATA.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Sep 2015 17:47:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Read-Write-Visal-Foxpro-Data-by-SAS/m-p/225662#M5406</guid>
      <dc:creator>FallColor</dc:creator>
      <dc:date>2015-09-15T17:47:36Z</dc:date>
    </item>
    <item>
      <title>Re: Read / Write Visal Foxpro Data by SAS</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Read-Write-Visal-Foxpro-Data-by-SAS/m-p/225751#M5407</link>
      <description>&lt;P&gt;I suggest you try SQL PASSTHRU similar to this SAS note:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/techsup/notes/v8/13/171.html" target="_blank"&gt;http://support.sas.com/techsup/notes/v8/13/171.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Sep 2015 01:27:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Read-Write-Visal-Foxpro-Data-by-SAS/m-p/225751#M5407</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2015-09-16T01:27:04Z</dc:date>
    </item>
  </channel>
</rss>

