<?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 C++ access the SAS dataset through ODBC in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/C-access-the-SAS-dataset-through-ODBC/m-p/449625#M113176</link>
    <description>&lt;P&gt;Hello,everyone,who has a programming case for C++ to access the SAS dataset through ODBC ?, Could you send me one? Thank you every much.&lt;/P&gt;</description>
    <pubDate>Thu, 29 Mar 2018 12:14:13 GMT</pubDate>
    <dc:creator>LXL</dc:creator>
    <dc:date>2018-03-29T12:14:13Z</dc:date>
    <item>
      <title>C++ access the SAS dataset through ODBC</title>
      <link>https://communities.sas.com/t5/SAS-Programming/C-access-the-SAS-dataset-through-ODBC/m-p/449625#M113176</link>
      <description>&lt;P&gt;Hello,everyone,who has a programming case for C++ to access the SAS dataset through ODBC ?, Could you send me one? Thank you every much.&lt;/P&gt;</description>
      <pubDate>Thu, 29 Mar 2018 12:14:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/C-access-the-SAS-dataset-through-ODBC/m-p/449625#M113176</guid>
      <dc:creator>LXL</dc:creator>
      <dc:date>2018-03-29T12:14:13Z</dc:date>
    </item>
    <item>
      <title>Re: C++ access the SAS dataset through ODBC</title>
      <link>https://communities.sas.com/t5/SAS-Programming/C-access-the-SAS-dataset-through-ODBC/m-p/449654#M113186</link>
      <description>&lt;P&gt;From your previous questions, you shared that you are using Visual C++.&amp;nbsp; I'll assume that you have access to the various Windows developer frameworks: MFC and/or ATL.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Remember that accessing SAS via ODBC is supported only if your data is on a SAS/Share server or in a SAS SPDS environment.&amp;nbsp; You can't read a sas7bdat file directly -- for that, you use OLE DB.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Otherwise, use standard Visual C++ techniques for connecting to your SAS ODBC driver.&amp;nbsp; See &lt;A href="https://docs.microsoft.com/en-us/cpp/data/odbc/connecting-to-a-data-source" target="_self"&gt;this topic on MSDN for a start&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Thu, 29 Mar 2018 13:45:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/C-access-the-SAS-dataset-through-ODBC/m-p/449654#M113186</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2018-03-29T13:45:12Z</dc:date>
    </item>
    <item>
      <title>Re: C++ access the SAS dataset through ODBC</title>
      <link>https://communities.sas.com/t5/SAS-Programming/C-access-the-SAS-dataset-through-ODBC/m-p/449817#M113256</link>
      <description>Thank you, can not i access local SAS data through ODBC if i do not use SAS/Share server or SAS SPDS ?</description>
      <pubDate>Fri, 30 Mar 2018 01:21:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/C-access-the-SAS-dataset-through-ODBC/m-p/449817#M113256</guid>
      <dc:creator>LXL</dc:creator>
      <dc:date>2018-03-30T01:21:41Z</dc:date>
    </item>
    <item>
      <title>Re: C++ access the SAS dataset through ODBC</title>
      <link>https://communities.sas.com/t5/SAS-Programming/C-access-the-SAS-dataset-through-ODBC/m-p/449899#M113282</link>
      <description>&lt;P&gt;No, see information &lt;A href="http://support.sas.com/software/products/odbc/index.html" target="_self"&gt;about the SAS ODBC driver here&lt;/A&gt;, and its uses.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But what's wrong with using OLE DB? That's a standard approach that can work with Microsoft development tools.&amp;nbsp; And &lt;A href="http://documentation.sas.com/?docsetId=oledbpr&amp;amp;docsetTarget=titlepage.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en" target="_self"&gt;we have a special book of "recipes"&lt;/A&gt; for different data access scenarios.&lt;/P&gt;</description>
      <pubDate>Fri, 30 Mar 2018 12:36:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/C-access-the-SAS-dataset-through-ODBC/m-p/449899#M113282</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2018-03-30T12:36:49Z</dc:date>
    </item>
    <item>
      <title>Re: C++ access the SAS dataset through ODBC</title>
      <link>https://communities.sas.com/t5/SAS-Programming/C-access-the-SAS-dataset-through-ODBC/m-p/449906#M113285</link>
      <description>Thank you for your patience. I have tried to use ODBC to connect with SAS but i did not succeed. Do you mean that C++ is more likely to be successful in accessing SAS datasets through OLE DB? I am a novice,and I have read that SAS® 9.4 Providers for OLE DB: Cookbook, i think there is too little information and no case in this cookbook and on the internet ,could you give me more information about this? I look forward to your reply.</description>
      <pubDate>Fri, 30 Mar 2018 12:57:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/C-access-the-SAS-dataset-through-ODBC/m-p/449906#M113285</guid>
      <dc:creator>LXL</dc:creator>
      <dc:date>2018-03-30T12:57:18Z</dc:date>
    </item>
  </channel>
</rss>

