<?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 configure sasenv_local for two different ODBC drivers in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/configure-sasenv-local-for-two-different-ODBC-drivers/m-p/947473#M29116</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Recently I have installed snowflake odbc driver on linux server and already we had sql server odbc driver installed. Now we have two different odbc.ini file. I have included all the connection parameters in the new odbc.ini file relates to snowflake and updates the library path in sasenv_local file. The connection to snowflake is working fine from SAS libname statement. But the connection to SQL server is not working.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I defined the values as like below&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;export ODBCHOME:/sas/AccessClients/9.4/SQLServer:/etc&lt;/P&gt;
&lt;P&gt;export LD_LIBRARY_PATH:$ODBCHOME/lib:/etc/snowflake_ODBC/lib:/usr/lib64:$LD_LIBRARY_PATH&lt;/P&gt;
&lt;P&gt;export ODBCINI:/sas/AccessClients/9/4/SQLServer/odbc.ini:/etc/odbc.ini&lt;/P&gt;
&lt;P&gt;export ODBCINST:/sas/AccessClients/9/4/SQLServer/odbcinst.ini:/etc/odbcinst.ini&lt;/P&gt;
&lt;P&gt;export SIMBAINI:/etc/snowflake_ODBC/lib/simba.snowflake.ini&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;/etc is where snowflake driver is installed and SQLServer is under /sas/AccessClients.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Kindly suggest how to edit this file to have both the connection working properly. Thanks&lt;/P&gt;</description>
    <pubDate>Tue, 15 Oct 2024 11:47:25 GMT</pubDate>
    <dc:creator>freshstarter</dc:creator>
    <dc:date>2024-10-15T11:47:25Z</dc:date>
    <item>
      <title>configure sasenv_local for two different ODBC drivers</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/configure-sasenv-local-for-two-different-ODBC-drivers/m-p/947473#M29116</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Recently I have installed snowflake odbc driver on linux server and already we had sql server odbc driver installed. Now we have two different odbc.ini file. I have included all the connection parameters in the new odbc.ini file relates to snowflake and updates the library path in sasenv_local file. The connection to snowflake is working fine from SAS libname statement. But the connection to SQL server is not working.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I defined the values as like below&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;export ODBCHOME:/sas/AccessClients/9.4/SQLServer:/etc&lt;/P&gt;
&lt;P&gt;export LD_LIBRARY_PATH:$ODBCHOME/lib:/etc/snowflake_ODBC/lib:/usr/lib64:$LD_LIBRARY_PATH&lt;/P&gt;
&lt;P&gt;export ODBCINI:/sas/AccessClients/9/4/SQLServer/odbc.ini:/etc/odbc.ini&lt;/P&gt;
&lt;P&gt;export ODBCINST:/sas/AccessClients/9/4/SQLServer/odbcinst.ini:/etc/odbcinst.ini&lt;/P&gt;
&lt;P&gt;export SIMBAINI:/etc/snowflake_ODBC/lib/simba.snowflake.ini&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;/etc is where snowflake driver is installed and SQLServer is under /sas/AccessClients.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Kindly suggest how to edit this file to have both the connection working properly. Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 15 Oct 2024 11:47:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/configure-sasenv-local-for-two-different-ODBC-drivers/m-p/947473#M29116</guid>
      <dc:creator>freshstarter</dc:creator>
      <dc:date>2024-10-15T11:47:25Z</dc:date>
    </item>
    <item>
      <title>Re: configure sasenv_local for two different ODBC drivers</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/configure-sasenv-local-for-two-different-ODBC-drivers/m-p/947893#M29124</link>
      <description>&lt;P&gt;Hello&lt;BR /&gt;The issue appears to be the syntax.&lt;BR /&gt;I would prefer to write your content in sasenv_local as follows.&lt;/P&gt;
&lt;PRE&gt;export ODBCHOME=/sas/AccessClients/9.4/SQLServer:/etc
export LD_LIBRARY_PATH=/sas/AccessClients/9.4/SQLServer/lib:/etc/snowflake_ODBC/lib:/usr/lib64:$LD_LIBRARY_PATH
export ODBCINI=/sas/AccessClients/9/4/SQLServer/odbc.ini:/etc/odbc.ini
export ODBCINST=/sas/AccessClients/9/4/SQLServer/odbcinst.ini:/etc/odbcinst.ini
export SIMBAINI=/etc/snowflake_ODBC/lib/simba.snowflake.ini&lt;/PRE&gt;
&lt;P&gt;I assumed that the lib folder for sql server is at&amp;nbsp; /sas/AccessClients/9.4/SQLServer/lib.&lt;BR /&gt;If not please make appropriate changes.&lt;BR /&gt;I would recommend that whenever you make changes to this file, get it validated by the Linux Admin for syntax.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Oct 2024 15:31:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/configure-sasenv-local-for-two-different-ODBC-drivers/m-p/947893#M29124</guid>
      <dc:creator>Sajid01</dc:creator>
      <dc:date>2024-10-17T15:31:17Z</dc:date>
    </item>
  </channel>
</rss>

