<?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: Different connections to databases in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Different-connections-to-databases/m-p/337895#M63087</link>
    <description>&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;when running the following query on PS SAS ,EG(Remote) and UNIX&amp;nbsp;with including "rsubmit" statement i&amp;nbsp; am ok :&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;&amp;nbsp;rsubmit;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;proc sql; &lt;/FONT&gt;&lt;/P&gt;
&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;connect to sqlsvr as mydb (datasrc=DM_UserDB user =xxx password=yyy readbuff=32767); &lt;/FONT&gt;&lt;/P&gt;
&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;create table test(compress = no) as select * from connection to mydb &lt;/FONT&gt;&lt;/P&gt;
&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;(SELECT COUNT(*)&amp;nbsp; FROM table_name ); &lt;/FONT&gt;&lt;/P&gt;
&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;disconnect from mydb; &lt;/FONT&gt;&lt;/P&gt;
&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;quit;&lt;/FONT&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;endrsubmit;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;&amp;nbsp;but when running&amp;nbsp; it on UNIX lets say without the "rsubmit" then i get this:&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;ERROR: The SAS/ACCESS Interface to SQLSRV cannot be loaded. The SASSQSRV code appendage could not be loaded.&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;ERROR: A Connection to the sqlsvr DBMS is not currently supported, or is not installed at your site.&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;I thought the ODBC.ini file would take care of that. So why still the need of rsubmit if i am running this on the remote server?&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 03 Mar 2017 16:33:34 GMT</pubDate>
    <dc:creator>Tal</dc:creator>
    <dc:date>2017-03-03T16:33:34Z</dc:date>
    <item>
      <title>Different connections to databases</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Different-connections-to-databases/m-p/335475#M62935</link>
      <description>Hi,&lt;BR /&gt;If i use windows sas or unix to access databases on SQL Server what are the different type of connections besides ODBC that i could use?&lt;BR /&gt;Thx</description>
      <pubDate>Fri, 24 Feb 2017 01:42:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Different-connections-to-databases/m-p/335475#M62935</guid>
      <dc:creator>Tal</dc:creator>
      <dc:date>2017-02-24T01:42:18Z</dc:date>
    </item>
    <item>
      <title>Re: Different connections to databases</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Different-connections-to-databases/m-p/335495#M62936</link>
      <description>&lt;P&gt;hi ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Signon Rsubmit works&lt;/P&gt;</description>
      <pubDate>Fri, 24 Feb 2017 03:53:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Different-connections-to-databases/m-p/335495#M62936</guid>
      <dc:creator>SAS_INFO</dc:creator>
      <dc:date>2017-02-24T03:53:42Z</dc:date>
    </item>
    <item>
      <title>Re: Different connections to databases</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Different-connections-to-databases/m-p/335497#M62937</link>
      <description>&lt;P&gt;I believe OLEDB is an option under Windows but not Unix - you would need SAS/ACCESS to OLEDB for that. I'm fairly sure that SAS/ACCESS to SQL Server also uses ODBC behind the scenes. Why the question? I recommend ODBC with SAS/ACCESS to ODBC&amp;nbsp;as it can be used&amp;nbsp;with a variety of databases.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Feb 2017 03:58:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Different-connections-to-databases/m-p/335497#M62937</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2017-02-24T03:58:43Z</dc:date>
    </item>
    <item>
      <title>Re: Different connections to databases</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Different-connections-to-databases/m-p/335809#M62949</link>
      <description>I tried running pc sas n also EG SAS locally n remotely and i keep gettin the CLI error:wrong userid/password or ODBC drivers not installed&lt;BR /&gt;I mean sql server n pc sas both run on windows. Why do i still need odbc drivers?</description>
      <pubDate>Sat, 25 Feb 2017 05:37:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Different-connections-to-databases/m-p/335809#M62949</guid>
      <dc:creator>Tal</dc:creator>
      <dc:date>2017-02-25T05:37:44Z</dc:date>
    </item>
    <item>
      <title>Re: Different connections to databases</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Different-connections-to-databases/m-p/335814#M62950</link>
      <description>Because ODBC requires ODBC drivers regardless of where your database is situated.</description>
      <pubDate>Sat, 25 Feb 2017 06:02:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Different-connections-to-databases/m-p/335814#M62950</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2017-02-25T06:02:56Z</dc:date>
    </item>
    <item>
      <title>Re: Different connections to databases</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Different-connections-to-databases/m-p/335858#M62952</link>
      <description>But even when i run sas on unix i get the same error and i checked the odbc.ini file. Looks all good&lt;BR /&gt;Do i need to be registered in the SAS metadata by a SAS admin or something?</description>
      <pubDate>Sat, 25 Feb 2017 14:13:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Different-connections-to-databases/m-p/335858#M62952</guid>
      <dc:creator>Tal</dc:creator>
      <dc:date>2017-02-25T14:13:39Z</dc:date>
    </item>
    <item>
      <title>Re: Different connections to databases</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Different-connections-to-databases/m-p/335911#M62954</link>
      <description>&lt;P&gt;If you want help with your ODBC connection problems then please post a log of your program including error messages.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 25 Feb 2017 22:13:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Different-connections-to-databases/m-p/335911#M62954</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2017-02-25T22:13:50Z</dc:date>
    </item>
    <item>
      <title>Re: Different connections to databases</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Different-connections-to-databases/m-p/337895#M63087</link>
      <description>&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;when running the following query on PS SAS ,EG(Remote) and UNIX&amp;nbsp;with including "rsubmit" statement i&amp;nbsp; am ok :&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;&amp;nbsp;rsubmit;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;proc sql; &lt;/FONT&gt;&lt;/P&gt;
&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;connect to sqlsvr as mydb (datasrc=DM_UserDB user =xxx password=yyy readbuff=32767); &lt;/FONT&gt;&lt;/P&gt;
&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;create table test(compress = no) as select * from connection to mydb &lt;/FONT&gt;&lt;/P&gt;
&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;(SELECT COUNT(*)&amp;nbsp; FROM table_name ); &lt;/FONT&gt;&lt;/P&gt;
&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;disconnect from mydb; &lt;/FONT&gt;&lt;/P&gt;
&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;quit;&lt;/FONT&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;endrsubmit;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;&amp;nbsp;but when running&amp;nbsp; it on UNIX lets say without the "rsubmit" then i get this:&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;ERROR: The SAS/ACCESS Interface to SQLSRV cannot be loaded. The SASSQSRV code appendage could not be loaded.&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;ERROR: A Connection to the sqlsvr DBMS is not currently supported, or is not installed at your site.&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;I thought the ODBC.ini file would take care of that. So why still the need of rsubmit if i am running this on the remote server?&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Mar 2017 16:33:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Different-connections-to-databases/m-p/337895#M63087</guid>
      <dc:creator>Tal</dc:creator>
      <dc:date>2017-03-03T16:33:34Z</dc:date>
    </item>
    <item>
      <title>Re: Different connections to databases</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Different-connections-to-databases/m-p/337898#M63088</link>
      <description>&lt;P&gt;With the RSUBMIT, your program is being sent to a different SAS node for processing (exactly which node depends on your SAS/CONNECT and signon statements). &amp;nbsp;It's that node that must have the SQL Server connectors configured and the SAS/ACCESS product installed/licensed.&lt;/P&gt;</description>
      <pubDate>Fri, 03 Mar 2017 16:52:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Different-connections-to-databases/m-p/337898#M63088</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2017-03-03T16:52:41Z</dc:date>
    </item>
    <item>
      <title>Re: Different connections to databases</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Different-connections-to-databases/m-p/337904#M63089</link>
      <description>&lt;P&gt;i see.thanks&lt;/P&gt;
&lt;P&gt;but at my previous company we had the databases on&amp;nbsp; oracle and&amp;nbsp; we never used the "rsubmit" statement to make the connections so i am&amp;nbsp; trying to sense whether this does not apply to Oracle or not&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;or does that mean they might had the sas/access&amp;nbsp; interface to&amp;nbsp; oracle there but they dont&amp;nbsp; have the sas/access to sqlserver&amp;nbsp; here?&lt;/P&gt;</description>
      <pubDate>Fri, 03 Mar 2017 17:00:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Different-connections-to-databases/m-p/337904#M63089</guid>
      <dc:creator>Tal</dc:creator>
      <dc:date>2017-03-03T17:00:17Z</dc:date>
    </item>
  </channel>
</rss>

