<?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 Problem with ODBC connection to MongoDB in Microsoft Integration with SAS</title>
    <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Problem-with-ODBC-connection-to-MongoDB/m-p/478353#M2569</link>
    <description>&lt;P&gt;I have a CosmosDB in Azure running MongoDB interface. I try to access it from our RedHat Linux server. I have opened a firewall port and I can telnet IP address and port in Azure from the server. Still I cannot make my ODBC connection through SAS Work. I use CDATA ODBC driver for MongoDB. It has the following odbc.ini:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;[AZURE_MLU]&lt;BR /&gt;Driver=/opt/cdata/cdata-odbc-driver-for-mongodb/lib/libmongodbodbc.x64.so&lt;BR /&gt;Database=somedatabase&lt;BR /&gt;Password=somepassword&lt;BR /&gt;Port=10255&lt;BR /&gt;Server=someserver.documents.azure.com&lt;BR /&gt;User=someuser&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Libname statement is:&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;LIBNAME&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;&amp;nbsp;mylib &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;ODBC&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;DATASRC&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=AZURE_MLU&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;It returns an error:&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;ERROR: CLI error trying to establish connection: Unable to read the header of reply message response to 0.&lt;/P&gt;
&lt;P&gt;ERROR: Error in the LIBNAME statement.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any idea what this Means?&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 16 Jul 2018 13:16:26 GMT</pubDate>
    <dc:creator>bl_jyskebank_dk</dc:creator>
    <dc:date>2018-07-16T13:16:26Z</dc:date>
    <item>
      <title>Problem with ODBC connection to MongoDB</title>
      <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Problem-with-ODBC-connection-to-MongoDB/m-p/478353#M2569</link>
      <description>&lt;P&gt;I have a CosmosDB in Azure running MongoDB interface. I try to access it from our RedHat Linux server. I have opened a firewall port and I can telnet IP address and port in Azure from the server. Still I cannot make my ODBC connection through SAS Work. I use CDATA ODBC driver for MongoDB. It has the following odbc.ini:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;[AZURE_MLU]&lt;BR /&gt;Driver=/opt/cdata/cdata-odbc-driver-for-mongodb/lib/libmongodbodbc.x64.so&lt;BR /&gt;Database=somedatabase&lt;BR /&gt;Password=somepassword&lt;BR /&gt;Port=10255&lt;BR /&gt;Server=someserver.documents.azure.com&lt;BR /&gt;User=someuser&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Libname statement is:&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;LIBNAME&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;&amp;nbsp;mylib &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;ODBC&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;DATASRC&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=AZURE_MLU&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;It returns an error:&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;ERROR: CLI error trying to establish connection: Unable to read the header of reply message response to 0.&lt;/P&gt;
&lt;P&gt;ERROR: Error in the LIBNAME statement.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any idea what this Means?&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Jul 2018 13:16:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Problem-with-ODBC-connection-to-MongoDB/m-p/478353#M2569</guid>
      <dc:creator>bl_jyskebank_dk</dc:creator>
      <dc:date>2018-07-16T13:16:26Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with ODBC connection to MongoDB</title>
      <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Problem-with-ODBC-connection-to-MongoDB/m-p/478588#M2570</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/25093"&gt;@bl_jyskebank_dk&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;before any test of the ODBC connection from SAS, your DBAs or system admins must show you evidence they have configured the drivers, and the connections, and that they can connect to the db and query data, from the OS command line. Could they?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jul 2018 08:58:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Problem-with-ODBC-connection-to-MongoDB/m-p/478588#M2570</guid>
      <dc:creator>JuanS_OCS</dc:creator>
      <dc:date>2018-07-17T08:58:15Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with ODBC connection to MongoDB</title>
      <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Problem-with-ODBC-connection-to-MongoDB/m-p/478590#M2571</link>
      <description>&lt;P&gt;Thanks for your reply. I will ask them and get back to you.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jul 2018 09:01:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Problem-with-ODBC-connection-to-MongoDB/m-p/478590#M2571</guid>
      <dc:creator>bl_jyskebank_dk</dc:creator>
      <dc:date>2018-07-17T09:01:38Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with ODBC connection to MongoDB</title>
      <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Problem-with-ODBC-connection-to-MongoDB/m-p/478610#M2572</link>
      <description>&lt;P&gt;Just tried from commandline. Same faulty answer:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;sas@sf120lx00005:/etc$isql -v "CDATA_MongoDB_Source"&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="error"&gt;[08001]&lt;/SPAN&gt;&lt;SPAN class="error"&gt;[unixODBC]&lt;/SPAN&gt;Unable to read the header of reply message response to 0.&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="error"&gt;[ISQL]&lt;/SPAN&gt;ERROR: Could not SQLConnect&lt;/P&gt;
&lt;P&gt;sas@sf120lx00005:/etc$&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Asked the administrator (ODBC installer) to look into it.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jul 2018 11:12:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Problem-with-ODBC-connection-to-MongoDB/m-p/478610#M2572</guid>
      <dc:creator>bl_jyskebank_dk</dc:creator>
      <dc:date>2018-07-17T11:12:12Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with ODBC connection to MongoDB</title>
      <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Problem-with-ODBC-connection-to-MongoDB/m-p/478930#M2573</link>
      <description>&lt;P&gt;CDATA has just informed us that the MongoDB driver is not well suited for our purpose. They recommend the CosmosDB driver. It Works! We have now connected our virtual RedHat Linux driven SAS v9.4 to CosmosDB in Azure. We can browse data through a libname. We will now begin to test performance.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jul 2018 06:30:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Problem-with-ODBC-connection-to-MongoDB/m-p/478930#M2573</guid>
      <dc:creator>bl_jyskebank_dk</dc:creator>
      <dc:date>2018-07-18T06:30:57Z</dc:date>
    </item>
  </channel>
</rss>

