<?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: Problem parsing sas7bdat file using the oledb provider in Developers</title>
    <link>https://communities.sas.com/t5/Developers/Problem-parsing-sas7bdat-file-using-the-oledb-provider/m-p/855029#M6292</link>
    <description>Our problem is that what we are trying to so is simply parse and read sas7bdat files in a docker container. we went down 2 paths and both seem to be a dead end. in the Linux container path all we have is jdbc and can not figure out how to use it to read files from the viya workstation install we have in the container.&lt;BR /&gt;&lt;BR /&gt;in a windows container, oledb simply does not work and our SAS support told us this kind of install is not supported (although I am not sure why).</description>
    <pubDate>Mon, 23 Jan 2023 05:22:17 GMT</pubDate>
    <dc:creator>nlivni</dc:creator>
    <dc:date>2023-01-23T05:22:17Z</dc:date>
    <item>
      <title>Problem parsing sas7bdat file using the oledb provider</title>
      <link>https://communities.sas.com/t5/Developers/Problem-parsing-sas7bdat-file-using-the-oledb-provider/m-p/853901#M6278</link>
      <description>&lt;P&gt;Hello, I can installed SAS on my local windows machine (server 2019) and am trying to parse a sas7bdat file though c# using the following commands:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;var connection = new OleDbConnection($"Provider=sas.LocalProvider; Data Source={folder}");
connection.Open();
var cmd = connection.CreateCommand();
cmd.CommandType = CommandType.TableDirect;
cmd.CommandText = filename;
var reader = cmd.ExecuteReader();&lt;/PRE&gt;&lt;P&gt;This produces the following error:&lt;/P&gt;&lt;PRE&gt;System.Data.OleDb.OleDbException (0x80010105): 'sas.LocalProvider' failed with no error message available, result
code: -2147417851(0x80010105).
   at System.Data.OleDb.OleDbCommand.ProcessResults(OleDbHResult hr)
   at System.Data.OleDb.OleDbCommand.ExecuteTableDirect(CommandBehavior behavior, Object&amp;amp; executeResult)
   at System.Data.OleDb.OleDbCommand.ExecuteReaderInternal(CommandBehavior behavior, String method)
   at System.Data.OleDb.OleDbCommand.ExecuteReader(CommandBehavior behavior)
   at System.Data.OleDb.OleDbCommand.ExecuteReader()
   at Program.&amp;lt;Main&amp;gt;$(String[] args) in C:\ImageBuild\InstallSas\Program.cs:line 56&lt;/PRE&gt;&lt;P&gt;I have tried everything I can think of and nothing really works.&amp;nbsp; Does anyone have a direction on how to fix this?&lt;/P&gt;</description>
      <pubDate>Sun, 15 Jan 2023 07:49:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Problem-parsing-sas7bdat-file-using-the-oledb-provider/m-p/853901#M6278</guid>
      <dc:creator>nlivni</dc:creator>
      <dc:date>2023-01-15T07:49:36Z</dc:date>
    </item>
    <item>
      <title>Re: Problem parsing sas7bdat file using the oledb provider</title>
      <link>https://communities.sas.com/t5/Developers/Problem-parsing-sas7bdat-file-using-the-oledb-provider/m-p/854802#M6284</link>
      <description>Which sas version have you installed? Ex. SAS 9.4M7 or SAS 9.3. &lt;BR /&gt;Do you have excel on a pc that can access the 'server'?&lt;BR /&gt;If yes can you open the table in excel using an oledb connection?&lt;BR /&gt;&lt;BR /&gt;Best regards, Jos</description>
      <pubDate>Fri, 20 Jan 2023 11:04:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Problem-parsing-sas7bdat-file-using-the-oledb-provider/m-p/854802#M6284</guid>
      <dc:creator>JosvanderVelden</dc:creator>
      <dc:date>2023-01-20T11:04:45Z</dc:date>
    </item>
    <item>
      <title>Re: Problem parsing sas7bdat file using the oledb provider</title>
      <link>https://communities.sas.com/t5/Developers/Problem-parsing-sas7bdat-file-using-the-oledb-provider/m-p/854950#M6285</link>
      <description>&lt;P&gt;It looks like you may not have installed the OleDb provider properly. Below is C# code that will check it for you. I would download it from SAS and try again. Here is some C# code I use that uses the OleDb provider. You can also see C#/SAS code on my github (&lt;A href="https://github.com/savian-net" target="_blank"&gt;savian-net (ALAN CHURCHILL) · GitHub&lt;/A&gt;). There may be more examples there for SAS OleDb:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;        internal static List&amp;lt;string&amp;gt; GetOleDbProviders()
        {
            var oleEnum = new OleDbEnumerator();
            var elems = oleEnum.GetElements();
            var providers = new List&amp;lt;string&amp;gt;();
            if (elems != null &amp;amp;&amp;amp; elems.Rows != null)
            {
                foreach (DataRow row in elems.Rows)
                {
                    if (!row.IsNull("SOURCES_NAME") &amp;amp;&amp;amp; row["SOURCES_NAME"] is string)
                    {
                        providers.Add(row["SOURCES_NAME"].ToString());
                    }
                }
            }
            return providers;
        }&lt;/CODE&gt;&lt;/PRE&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;        public SasDataSetUtilities()
        {
            _isSasOleDbInstalled = IsSasOleDbInstalled();
        }

        public bool IsSasOleDbInstalled()
        {
            var oleDbProviders = DbUtilities.GetOleDbProviders();
            if (oleDbProviders.Any(p =&amp;gt; p.ToUpper().StartsWith("SAS LOCAL")))
                return true;
            return false;
        }&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;        public DataTable GetSasDataSetMetadataAsTableUsingOleDb(string sasLibrary, string dataset)
        {
            if (_isSasOleDbInstalled is false)
            {
                Log.Error("SAS OleDb driver is not installed. Please install the driver from the SAS Support website");
                return null;
            }

            OleDbConnection sas = null;
            try
            {
                sas = new OleDbConnection(@"Provider=sas.LocalProvider; Data Source=" + sasLibrary);
                sas.Open();
                OleDbCommand sasCommand = sas.CreateCommand();
                sasCommand.CommandType = CommandType.TableDirect;
                sasCommand.CommandText = dataset;
                DataTable dt = sas.GetSchema("Columns");
                DataView dv = dt.DefaultView;
                dv.RowFilter = "TABLE_NAME = '" + dataset.ToUpper() + "'";
                sas.Close();
                return dv.ToTable();
            }
            catch (Exception ex)
            {
                Log.Error("Failed to get SAS metadata", ex);
                return null;
            }
        }&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 21 Jan 2023 07:09:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Problem-parsing-sas7bdat-file-using-the-oledb-provider/m-p/854950#M6285</guid>
      <dc:creator>AlanC</dc:creator>
      <dc:date>2023-01-21T07:09:02Z</dc:date>
    </item>
    <item>
      <title>Re: Problem parsing sas7bdat file using the oledb provider</title>
      <link>https://communities.sas.com/t5/Developers/Problem-parsing-sas7bdat-file-using-the-oledb-provider/m-p/854991#M6286</link>
      <description>&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It is SAS 9.4M7.&amp;nbsp; I think I know what the problem is.&amp;nbsp; I am installing sas in -quiet mode in a windows container.&amp;nbsp; Since a windows container does not have a UI, it seems to not install some of the dependencies (eg.&amp;nbsp;SASUniversalViewer) even though the setup.exe reports success.&amp;nbsp; My guess is that the oledb provider can not run without this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also tried installing Sas on a Linux container and attempted using jdbc but all the documentation for jdbc seems to assume that there is a sas server somewhere and I can not figure out how to parse the files without a SAS/SHARE server.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;</description>
      <pubDate>Sun, 22 Jan 2023 11:14:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Problem-parsing-sas7bdat-file-using-the-oledb-provider/m-p/854991#M6286</guid>
      <dc:creator>nlivni</dc:creator>
      <dc:date>2023-01-22T11:14:06Z</dc:date>
    </item>
    <item>
      <title>Re: Problem parsing sas7bdat file using the oledb provider</title>
      <link>https://communities.sas.com/t5/Developers/Problem-parsing-sas7bdat-file-using-the-oledb-provider/m-p/854994#M6287</link>
      <description>The UniversalViewer is 100% not required for OleDb. As part of the UV install, it installs OleDb. Again, go to the SAS downloads, on sas.com, and install the OleDb driver. JDBC requires the engine which you may or not have. SHARE should not be required. You are reading local. You can also use ODBC but OleDb will work.&lt;BR /&gt;&lt;BR /&gt;I never install UV. Just the OleDB driver. It is here: &lt;A href="https://support.sas.com/downloads/browse.htm?fil=&amp;amp;amp;cat=64" target="_blank"&gt;https://support.sas.com/downloads/browse.htm?fil=&amp;amp;amp;cat=64&lt;/A&gt;</description>
      <pubDate>Sun, 22 Jan 2023 12:08:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Problem-parsing-sas7bdat-file-using-the-oledb-provider/m-p/854994#M6287</guid>
      <dc:creator>AlanC</dc:creator>
      <dc:date>2023-01-22T12:08:14Z</dc:date>
    </item>
    <item>
      <title>Re: Problem parsing sas7bdat file using the oledb provider</title>
      <link>https://communities.sas.com/t5/Developers/Problem-parsing-sas7bdat-file-using-the-oledb-provider/m-p/854995#M6288</link>
      <description>&lt;P&gt;Have you seen an example of using the jdbc driver without a url?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;All the examples look like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;public static void main(String argv[])
 {
 Connection connection;
 int i;
 Statement statement;
 String queryString = "SELECT sup_id, sup_name " +
 "FROM mySASLib.suppliers ORDER BY sup_name";
 ResultSet result;
 double id;
 String name;
 try{
 //CONNECT TO THE SERVER BY USING A JDBC URL
 Class.forName("com.sas.rio.MVADriver");
 String user = "jdoe";
 String password = "4ht8d";
 connection = DriverManager.getConnection(
 "jdbc:sasiom://c123.na.abc.com:5671?" +
 "librefs=MySasLib 'c:\\sasdata'",
 user, password);
 //ACCESS DATA
 statement = connection.createStatement();
 result = statement.executeQuery(queryString);
 while (result.next()) {
 id = result.getDouble(1);
 name = result.getString(2);
 System.out.println(id + " " + name);
 }
 statement.close();
 connection.close();
 }
 catch(Exception e){
 System.out.println("error " + e);
 }
 }&lt;/PRE&gt;&lt;P&gt;And the connection string always looks like this:&amp;nbsp;"jdbc:sasiom://c123.na.abc.com:5671?" + "librefs=MySasLib 'c:\\sasdata'"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The driver always complains that the url is invalid.&amp;nbsp; lookback url 127.0.0.1 also does not work.&lt;/P&gt;</description>
      <pubDate>Sun, 22 Jan 2023 12:39:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Problem-parsing-sas7bdat-file-using-the-oledb-provider/m-p/854995#M6288</guid>
      <dc:creator>nlivni</dc:creator>
      <dc:date>2023-01-22T12:39:13Z</dc:date>
    </item>
    <item>
      <title>Re: Problem parsing sas7bdat file using the oledb provider</title>
      <link>https://communities.sas.com/t5/Developers/Problem-parsing-sas7bdat-file-using-the-oledb-provider/m-p/854996#M6289</link>
      <description>I have not encountered anyone in the field using jdbc for SAS. It requires a separate access engine license. Use ODBC or OleDB for what you need.&lt;BR /&gt;&lt;BR /&gt;Ignore jdbc with SAS. It is a rat hole that is not required.</description>
      <pubDate>Sun, 22 Jan 2023 14:19:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Problem-parsing-sas7bdat-file-using-the-oledb-provider/m-p/854996#M6289</guid>
      <dc:creator>AlanC</dc:creator>
      <dc:date>2023-01-22T14:19:12Z</dc:date>
    </item>
    <item>
      <title>Re: Problem parsing sas7bdat file using the oledb provider</title>
      <link>https://communities.sas.com/t5/Developers/Problem-parsing-sas7bdat-file-using-the-oledb-provider/m-p/854998#M6290</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13798"&gt;@AlanC&lt;/a&gt;&amp;nbsp;is correct about the SAS OLE DB provider. Also make sure you are running it with the correct bit architecture for your app. (A 64-bit app needs the 64-bit provider, etc.)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For simple debugging and "are you there" tests, try PowerShell -- &lt;A href="https://blogs.sas.com/content/sasdummy/2012/04/12/build-your-own-sas-data-set-viewer-using-powershell/" target="_self"&gt;example script here&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 22 Jan 2023 14:53:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Problem-parsing-sas7bdat-file-using-the-oledb-provider/m-p/854998#M6290</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2023-01-22T14:53:40Z</dc:date>
    </item>
    <item>
      <title>Re: Problem parsing sas7bdat file using the oledb provider</title>
      <link>https://communities.sas.com/t5/Developers/Problem-parsing-sas7bdat-file-using-the-oledb-provider/m-p/855025#M6291</link>
      <description>&lt;P&gt;As an aside, and an example of someone using JDBC with SAS in the field, as part of our Metacoda Plug-ins product we use JDBC to upload and download data processed in a SAS Workspace Server. No SAS/SHARE server and no special access engine license required - just SAS Integration Technologies as part of a common SAS 9 Platform installation.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I imagine you will continue with the OLE DB path but for reference, in case someone encounters this thread in future, there is a SAS Sample 33060: How to Create a JDBC Connection Using the Java Connection Factory at &lt;A href="https://support.sas.com/kb/33/060.html" target="_blank"&gt;https://support.sas.com/kb/33/060.html&lt;/A&gt; which uses the MVAConnection approach that is similar to the approach we use, although we look up the SAS Workspace Server details from metadata instead.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Jan 2023 01:31:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Problem-parsing-sas7bdat-file-using-the-oledb-provider/m-p/855025#M6291</guid>
      <dc:creator>PaulHomes</dc:creator>
      <dc:date>2023-01-23T01:31:10Z</dc:date>
    </item>
    <item>
      <title>Re: Problem parsing sas7bdat file using the oledb provider</title>
      <link>https://communities.sas.com/t5/Developers/Problem-parsing-sas7bdat-file-using-the-oledb-provider/m-p/855029#M6292</link>
      <description>Our problem is that what we are trying to so is simply parse and read sas7bdat files in a docker container. we went down 2 paths and both seem to be a dead end. in the Linux container path all we have is jdbc and can not figure out how to use it to read files from the viya workstation install we have in the container.&lt;BR /&gt;&lt;BR /&gt;in a windows container, oledb simply does not work and our SAS support told us this kind of install is not supported (although I am not sure why).</description>
      <pubDate>Mon, 23 Jan 2023 05:22:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Problem-parsing-sas7bdat-file-using-the-oledb-provider/m-p/855029#M6292</guid>
      <dc:creator>nlivni</dc:creator>
      <dc:date>2023-01-23T05:22:17Z</dc:date>
    </item>
    <item>
      <title>Re: Problem parsing sas7bdat file using the oledb provider</title>
      <link>https://communities.sas.com/t5/Developers/Problem-parsing-sas7bdat-file-using-the-oledb-provider/m-p/855053#M6293</link>
      <description>Saying that OleDB doesnt work does not provide enough info to help assess it. What error are you seeing?&lt;BR /&gt;&lt;BR /&gt;Also, you have ODBC as another option. ODBC is more stable than any of the options and is more widely supported.&lt;BR /&gt;&lt;BR /&gt;SAS tech support will tell you what they do out of the box. SAS can do a lot more than listed with creativity.</description>
      <pubDate>Mon, 23 Jan 2023 10:09:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Problem-parsing-sas7bdat-file-using-the-oledb-provider/m-p/855053#M6293</guid>
      <dc:creator>AlanC</dc:creator>
      <dc:date>2023-01-23T10:09:33Z</dc:date>
    </item>
    <item>
      <title>Re: Problem parsing sas7bdat file using the oledb provider</title>
      <link>https://communities.sas.com/t5/Developers/Problem-parsing-sas7bdat-file-using-the-oledb-provider/m-p/855064#M6294</link>
      <description>The oledb error is the one in this post.&lt;BR /&gt;&lt;BR /&gt;odbc is an option but is it supported in the viya Linux install? If so I didn't see it there in the component list in the install.</description>
      <pubDate>Mon, 23 Jan 2023 11:52:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Problem-parsing-sas7bdat-file-using-the-oledb-provider/m-p/855064#M6294</guid>
      <dc:creator>nlivni</dc:creator>
      <dc:date>2023-01-23T11:52:44Z</dc:date>
    </item>
    <item>
      <title>Re: Problem parsing sas7bdat file using the oledb provider</title>
      <link>https://communities.sas.com/t5/Developers/Problem-parsing-sas7bdat-file-using-the-oledb-provider/m-p/855075#M6295</link>
      <description>&lt;P&gt;SAS does not have a standalone sas7bdat provider that runs natively in Linux. You can use SASPy (Python library), but that must connect to a SAS session -- so you need SAS available somewhere. If you need an all-Linux solution, then you must install SAS on your Linux container. SAS does have an offering: &lt;A href="https://blogs.sas.com/content/sgf/2022/04/21/sas-analytics-pro-on-viya-part-1/" target="_self"&gt;SAS Analytics Pro for SAS Viya&lt;/A&gt; -- it is designed to run in a Docker container, and it installs in just a few minutes. But you would need to get a license for that.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Others might point out that there are 3rd party/open source libraries that purport to read SAS data sets. They are incomplete (and not supported by SAS).&lt;/P&gt;</description>
      <pubDate>Mon, 23 Jan 2023 12:48:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Problem-parsing-sas7bdat-file-using-the-oledb-provider/m-p/855075#M6295</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2023-01-23T12:48:22Z</dc:date>
    </item>
    <item>
      <title>Re: Problem parsing sas7bdat file using the oledb provider</title>
      <link>https://communities.sas.com/t5/Developers/Problem-parsing-sas7bdat-file-using-the-oledb-provider/m-p/855076#M6296</link>
      <description>&lt;P&gt;Thanks!&amp;nbsp; A few questions:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. Is SASPy officially supported by SAS?&lt;/P&gt;&lt;P&gt;2. With SAS Analystics Pro for SAS Viya, do we have access to ODBC or are we still stuck with JDBC?&amp;nbsp; And if JDBC, do we still need a SAS server to connect to?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I am getting at, is there a basic walkthrough that shows how to do this take of opening a sas7bdat file on a Linux container?&lt;/P&gt;</description>
      <pubDate>Mon, 23 Jan 2023 13:02:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Problem-parsing-sas7bdat-file-using-the-oledb-provider/m-p/855076#M6296</guid>
      <dc:creator>nlivni</dc:creator>
      <dc:date>2023-01-23T13:02:42Z</dc:date>
    </item>
    <item>
      <title>Re: Problem parsing sas7bdat file using the oledb provider</title>
      <link>https://communities.sas.com/t5/Developers/Problem-parsing-sas7bdat-file-using-the-oledb-provider/m-p/855084#M6297</link>
      <description>&lt;P&gt;SASPy is &lt;A href="https://github.com/sassoftware/saspy" target="_self"&gt;well supported on GitHub&lt;/A&gt;&amp;nbsp;by contributors from SAS and elsewhere.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;With SAS Analytics Pro on SAS Viya, you have full SAS and don't need ODBC to read SAS data sets. However, if you are trying to build a connector app to a Linux container that reads data sets, then with SAS Analytics Pro on SAS Viya I think the only option you have is SASPy (which can run from a client environment and connect to your container via ssh).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But I have to say licensing SAS APro on SAS Viya just to read SAS data set files seems like overkill. The limiting constraint you seem to have here is "must be in Linux", which rules out the OLE DB provider that is supported on Windows.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Jan 2023 14:26:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Problem-parsing-sas7bdat-file-using-the-oledb-provider/m-p/855084#M6297</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2023-01-23T14:26:06Z</dc:date>
    </item>
    <item>
      <title>Re: Problem parsing sas7bdat file using the oledb provider</title>
      <link>https://communities.sas.com/t5/Developers/Problem-parsing-sas7bdat-file-using-the-oledb-provider/m-p/855097#M6298</link>
      <description>&lt;P&gt;So if I understand correctly, the only way to read a sas7bdat file in a Linux container is to:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;a. Install&amp;nbsp;&lt;SPAN&gt;SAS Analytics Pro on SAS Viya&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;b. Use SASPy to read the dataset. (I think that is what this issue is saying:&amp;nbsp;&lt;A href="https://github.com/sassoftware/saspy/issues/249" target="_blank"&gt;https://github.com/sassoftware/saspy/issues/249&lt;/A&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Am I correct?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;PS.&amp;nbsp; Looking at the SASPy source code, it seems like it just wraps the JDBC provider and calls java directly?&amp;nbsp; Am I right?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Jan 2023 15:27:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Problem-parsing-sas7bdat-file-using-the-oledb-provider/m-p/855097#M6298</guid>
      <dc:creator>nlivni</dc:creator>
      <dc:date>2023-01-23T15:27:52Z</dc:date>
    </item>
    <item>
      <title>Re: Problem parsing sas7bdat file using the oledb provider</title>
      <link>https://communities.sas.com/t5/Developers/Problem-parsing-sas7bdat-file-using-the-oledb-provider/m-p/855105#M6299</link>
      <description>&lt;P&gt;SAS 9.4 also runs on Linux, but isn't as "deployable" as in a container as the SAS Analytics Pro on SAS Viya option I mentioned.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How SASPy reads data sets -- there may be a couple of different paths, but essentially it allows Pandas integration with the data in Python.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Jan 2023 15:45:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Problem-parsing-sas7bdat-file-using-the-oledb-provider/m-p/855105#M6299</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2023-01-23T15:45:25Z</dc:date>
    </item>
    <item>
      <title>Re: Problem parsing sas7bdat file using the oledb provider</title>
      <link>https://communities.sas.com/t5/Developers/Problem-parsing-sas7bdat-file-using-the-oledb-provider/m-p/855107#M6300</link>
      <description>There is a python library that reads sas7bdat. Just use that. It parses the binary and doesnt rely on any db tech.</description>
      <pubDate>Mon, 23 Jan 2023 15:50:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Problem-parsing-sas7bdat-file-using-the-oledb-provider/m-p/855107#M6300</guid>
      <dc:creator>AlanC</dc:creator>
      <dc:date>2023-01-23T15:50:21Z</dc:date>
    </item>
    <item>
      <title>Re: Problem parsing sas7bdat file using the oledb provider</title>
      <link>https://communities.sas.com/t5/Developers/Problem-parsing-sas7bdat-file-using-the-oledb-provider/m-p/855281#M6301</link>
      <description>I believe that that library is not officially supported. am I right?</description>
      <pubDate>Tue, 24 Jan 2023 05:04:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Problem-parsing-sas7bdat-file-using-the-oledb-provider/m-p/855281#M6301</guid>
      <dc:creator>nlivni</dc:creator>
      <dc:date>2023-01-24T05:04:06Z</dc:date>
    </item>
    <item>
      <title>Re: Problem parsing sas7bdat file using the oledb provider</title>
      <link>https://communities.sas.com/t5/Developers/Problem-parsing-sas7bdat-file-using-the-oledb-provider/m-p/855283#M6302</link>
      <description>&lt;P&gt;Correct. The sas7bdat is a closely held secret by SAS. I asked for it to be released 20 years ago, and made some progress, but the idea was nixed. The only way to understand it is by deciphering the binary layout. The Python folks have a lot of it figured out but SAS is not going to help.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Your call as to whether you want to go down that route.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;OleDB is the best option, ODBC is second, IMO. OleDB provides more metadata. Some things you can't get via ODBC but it depends on what you need.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Jan 2023 05:16:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Problem-parsing-sas7bdat-file-using-the-oledb-provider/m-p/855283#M6302</guid>
      <dc:creator>AlanC</dc:creator>
      <dc:date>2023-01-24T05:16:27Z</dc:date>
    </item>
  </channel>
</rss>

