<?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 Accessing MS SQL Database using DBCON in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/accessing-ms-sql-database-using-dbcon/m-p/1606838#M272323</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;I have a problem when we try to connect to MS SQL Server using DBCON.&lt;/P&gt;&lt;P&gt;In table DBCON I had configure the connection lika this:&lt;/P&gt;&lt;P&gt;MSSQL_SERVER=tcp:&amp;lt;server_ip&amp;gt; MSSQL_DBNAME=&amp;lt;database&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also have the ABAP program. It is giving a return code of 4 after 'Connect to'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can read in SAP system log that is the "Problem in SAP BASIS" and is "No shared library found for the database".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is a sample of my program:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;report ztest_baza .&lt;/P&gt;&lt;P&gt;data: dbn(128).&lt;/P&gt;&lt;P&gt;EXEC SQL.&lt;/P&gt;&lt;P&gt;SET CONNECTION 'CON'&lt;/P&gt;&lt;P&gt;ENDEXEC.&lt;/P&gt;&lt;P&gt;if sy-subrc eq 0.&lt;/P&gt;&lt;P&gt;    write: 'connection ok'&lt;/P&gt;&lt;P&gt;else&lt;/P&gt;&lt;P&gt;    write: 'connection error'.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXEC SQL.&lt;/P&gt;&lt;P&gt;CONNECT TO 'CON'&lt;/P&gt;&lt;P&gt;ENDEXEC.&lt;/P&gt;&lt;P&gt;if sy-subrc eq 0.&lt;/P&gt;&lt;P&gt;    write: 'connection ok'&lt;/P&gt;&lt;P&gt;else&lt;/P&gt;&lt;P&gt;    write: 'connection error'.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can somebody help me??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 Oct 2006 10:55:50 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-10-18T10:55:50Z</dc:date>
    <item>
      <title>Accessing MS SQL Database using DBCON</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/accessing-ms-sql-database-using-dbcon/m-p/1606838#M272323</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;I have a problem when we try to connect to MS SQL Server using DBCON.&lt;/P&gt;&lt;P&gt;In table DBCON I had configure the connection lika this:&lt;/P&gt;&lt;P&gt;MSSQL_SERVER=tcp:&amp;lt;server_ip&amp;gt; MSSQL_DBNAME=&amp;lt;database&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also have the ABAP program. It is giving a return code of 4 after 'Connect to'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can read in SAP system log that is the "Problem in SAP BASIS" and is "No shared library found for the database".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is a sample of my program:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;report ztest_baza .&lt;/P&gt;&lt;P&gt;data: dbn(128).&lt;/P&gt;&lt;P&gt;EXEC SQL.&lt;/P&gt;&lt;P&gt;SET CONNECTION 'CON'&lt;/P&gt;&lt;P&gt;ENDEXEC.&lt;/P&gt;&lt;P&gt;if sy-subrc eq 0.&lt;/P&gt;&lt;P&gt;    write: 'connection ok'&lt;/P&gt;&lt;P&gt;else&lt;/P&gt;&lt;P&gt;    write: 'connection error'.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXEC SQL.&lt;/P&gt;&lt;P&gt;CONNECT TO 'CON'&lt;/P&gt;&lt;P&gt;ENDEXEC.&lt;/P&gt;&lt;P&gt;if sy-subrc eq 0.&lt;/P&gt;&lt;P&gt;    write: 'connection ok'&lt;/P&gt;&lt;P&gt;else&lt;/P&gt;&lt;P&gt;    write: 'connection error'.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can somebody help me??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Oct 2006 10:55:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/accessing-ms-sql-database-using-dbcon/m-p/1606838#M272323</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-18T10:55:50Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing MS SQL Database using DBCON</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/accessing-ms-sql-database-using-dbcon/m-p/1606839#M272324</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi grzegorz,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. If your sap application server is unix/aix&lt;/P&gt;&lt;P&gt;  (and not a microsoft OS),&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. then this kind of secondary databse connection,&lt;/P&gt;&lt;P&gt;   to MS SQL (which is microsoft system),&lt;/P&gt;&lt;P&gt;   is at present not possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  (BCOS the required system files, for such&lt;/P&gt;&lt;P&gt;   cross - platform connection is not delivery by sap)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;amit m.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Oct 2006 11:28:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/accessing-ms-sql-database-using-dbcon/m-p/1606839#M272324</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-18T11:28:36Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing MS SQL Database using DBCON</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/accessing-ms-sql-database-using-dbcon/m-p/1606840#M272325</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So, you mean that it imposible to cnfigure that connection between MSSQL and SAP if SAP is on Unix platform??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is no solution for that problem??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Oct 2006 12:40:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/accessing-ms-sql-database-using-dbcon/m-p/1606840#M272325</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-18T12:40:06Z</dc:date>
    </item>
  </channel>
</rss>

