<?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: LIBNAME ODBC with NOPROMPT option on Unix in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/LIBNAME-ODBC-with-NOPROMPT-option-on-Unix/m-p/612262#M76836</link>
    <description>&lt;P&gt;How was this resolved? I recall coming up with a solution over 10 years ago but cannot find the code again. I think all the name=values from odbc.ini could be wrapped in noprompt=''&lt;/P&gt;</description>
    <pubDate>Mon, 16 Dec 2019 23:17:48 GMT</pubDate>
    <dc:creator>acfarrer</dc:creator>
    <dc:date>2019-12-16T23:17:48Z</dc:date>
    <item>
      <title>LIBNAME ODBC with NOPROMPT option on Unix</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/LIBNAME-ODBC-with-NOPROMPT-option-on-Unix/m-p/199696#M49881</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is it possible to specify a libname with a noprompt option on unix?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;libname TEST odbc noprompt='driver=/drivers/mydriver.so;datasource=TEST;uid=xxxx;pwd=xxx;' ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I cannot seem to get this to work. I do not want to use the odbc.ini file because it requires engaging a sysadmin every time and we have a lot of data sources. We would be issuing tickets non-stop to make that happen.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Aug 2015 22:09:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/LIBNAME-ODBC-with-NOPROMPT-option-on-Unix/m-p/199696#M49881</guid>
      <dc:creator>AlanC</dc:creator>
      <dc:date>2015-08-14T22:09:25Z</dc:date>
    </item>
    <item>
      <title>Re: LIBNAME ODBC with NOPROMPT option on Unix</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/LIBNAME-ODBC-with-NOPROMPT-option-on-Unix/m-p/199697#M49882</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I use this all the time for ODBC on Windows, including driver selection, but I don't have access to Unix to try it out. I believe the options there are more limited&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The documentation suggests that the ODBC.INI file must be used at least for driver set up:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/acreldb/68028/HTML/default/viewer.htm#n1ht6mv0wybbzkn1x4np6nnlwzu6.htm" title="http://support.sas.com/documentation/cdl/en/acreldb/68028/HTML/default/viewer.htm#n1ht6mv0wybbzkn1x4np6nnlwzu6.htm"&gt;http://support.sas.com/documentation/cdl/en/acreldb/68028/HTML/default/viewer.htm#n1ht6mv0wybbzkn1x4np6nnlwzu6.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What database are you using?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Aug 2015 23:26:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/LIBNAME-ODBC-with-NOPROMPT-option-on-Unix/m-p/199697#M49882</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2015-08-14T23:26:38Z</dc:date>
    </item>
    <item>
      <title>Re: LIBNAME ODBC with NOPROMPT option on Unix</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/LIBNAME-ODBC-with-NOPROMPT-option-on-Unix/m-p/199698#M49883</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Every one known to man...seriously. What I am trying to connect right now is Cisco data virtualization.However, we literally have every database you can think of.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to know how to do it on unix, that is my main goal. I need to know doable or not so I can stop the pursuit or try something new.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 15 Aug 2015 00:05:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/LIBNAME-ODBC-with-NOPROMPT-option-on-Unix/m-p/199698#M49883</guid>
      <dc:creator>AlanC</dc:creator>
      <dc:date>2015-08-15T00:05:34Z</dc:date>
    </item>
    <item>
      <title>Re: LIBNAME ODBC with NOPROMPT option on Unix</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/LIBNAME-ODBC-with-NOPROMPT-option-on-Unix/m-p/199699#M49884</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can understand your frustration. The problem is that the set up is different for every database. Some may require set up via the ODBC.INI and some may not. For example with Oracle you configure their TNSNAMES.ORA file, for SQL Server you need to configure ODBC.INI, then there are the environment variables that need setting too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See this example for how involved it can get:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A __default_attr="11569" __jive_macro_name="document" class="jive_macro jive_macro_document" href="https://communities.sas.com/"&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 15 Aug 2015 01:01:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/LIBNAME-ODBC-with-NOPROMPT-option-on-Unix/m-p/199699#M49884</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2015-08-15T01:01:29Z</dc:date>
    </item>
    <item>
      <title>Re: LIBNAME ODBC with NOPROMPT option on Unix</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/LIBNAME-ODBC-with-NOPROMPT-option-on-Unix/m-p/199700#M49885</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, I am very familiar with the issue, and I appreciate the help, but I need to know the specific item I am dealing with not the other Access engines: only the ODBC one. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not frustrated with the problem, I just have to find out when to cut losses.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is not a small SAS installation but a very large one. We have a large team that manages our environment. I have been coding SAS for a long time so I know what my challenges are.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bottom-line, I do not want to ask for a new entry in the ODBC.ini every time we have to connect a new datasource. If that is the only choice, it is not desirable but it is what it is but I want to explore all possibilities.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 15 Aug 2015 03:45:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/LIBNAME-ODBC-with-NOPROMPT-option-on-Unix/m-p/199700#M49885</guid>
      <dc:creator>AlanC</dc:creator>
      <dc:date>2015-08-15T03:45:07Z</dc:date>
    </item>
    <item>
      <title>Re: LIBNAME ODBC with NOPROMPT option on Unix</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/LIBNAME-ODBC-with-NOPROMPT-option-on-Unix/m-p/199701#M49886</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunately I think this is a Unix-specific issue. Under Windows ODBC drivers are automatically registered, so it is possible to use the NOPROMPT LIBNAME option in many cases to do a complete configuration.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is an example of what works under Windows without any other configuration: &lt;SPAN style="font-family: Consolas; background: white; color: blue; font-size: 9pt;"&gt;libname&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; background: white; color: black; font-size: 9pt;"&gt; TEST &lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; background: white; color: blue; font-size: 9pt;"&gt;odbc&lt;/SPAN&gt; &lt;SPAN style="font-family: Consolas; background: white; color: blue; font-size: 9pt;"&gt;noprompt&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; background: white; color: black; font-size: 9pt;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; background: white; color: purple; font-size: 9pt;"&gt;"server=MYSQLServer;DRIVER=SQL Server;Trusted Connection=yes"&lt;/SPAN&gt; &lt;SPAN style="font-family: Consolas; background: white; color: blue; font-size: 9pt;"&gt;QUALIFIER&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; background: white; color: black; font-size: 9pt;"&gt; = Mydatabase &lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; background: white; color: blue; font-size: 9pt;"&gt;SCHEMA&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; background: white; color: black; font-size: 9pt;"&gt; = Myschema;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However everything I've read about Unix ODBC setup suggests you have to do a lot of external configuration to get it working.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 15 Aug 2015 05:08:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/LIBNAME-ODBC-with-NOPROMPT-option-on-Unix/m-p/199701#M49886</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2015-08-15T05:08:58Z</dc:date>
    </item>
    <item>
      <title>Re: LIBNAME ODBC with NOPROMPT option on Unix</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/LIBNAME-ODBC-with-NOPROMPT-option-on-Unix/m-p/199702#M49887</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For most database types the connections you should be able to be done in a easy jdbc way leaving it all to the programmer.&lt;/P&gt;&lt;P&gt;It are ICT departments blocking that and wanting to be in control of those definitions. The new threat is having that all done by ICT staff in SAS metadata.&lt;/P&gt;&lt;P&gt;Let us see to get rid of that.&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;BR /&gt; I know with TD there is a machine (DNS) connection, then only a schema/database is needed. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The oracle example is more easy for me as it is documented now &lt;A href="http://support.sas.com/documentation/cdl/en/acreldb/68028/HTML/default/viewer.htm#p1qft7bzdij79zn1bxh59mc3w8xj.htm" title="http://support.sas.com/documentation/cdl/en/acreldb/68028/HTML/default/viewer.htm#p1qft7bzdij79zn1bxh59mc3w8xj.htm"&gt;SAS/ACCESS(R) 9.4 for Relational Databases: Reference, Seventh Edition&lt;/A&gt; See the path settings. Those are the settings found in the tnsnames.ora. Ergo: You don not need that file tnsname.ora .&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;With ODBC the Libname states &lt;A href="http://support.sas.com/documentation/cdl/en/acreldb/68028/HTML/default/viewer.htm#p0bu3zsz1a08ton1msxdx1jo45np.htm" title="http://support.sas.com/documentation/cdl/en/acreldb/68028/HTML/default/viewer.htm#p0bu3zsz1a08ton1msxdx1jo45np.htm"&gt;SAS/ACCESS(R) 9.4 for Relational Databases: Reference, Seventh Edition&lt;/A&gt;&amp;nbsp; required prompt complete are not supported with Unix but noprompt is. There is dependency with the ODBC driver as you have many (Unix) and not just one (Windows) that is preinstalled. &lt;A class="active_link" href="http://support.sas.com/documentation/cdl/en/acreldb/68028/HTML/default/viewer.htm#n1ht6mv0wybbzkn1x4np6nnlwzu6.htm" title="http://support.sas.com/documentation/cdl/en/acreldb/68028/HTML/default/viewer.htm#n1ht6mv0wybbzkn1x4np6nnlwzu6.htm"&gt;SAS/ACCESS(R) 9.4 for Relational Databases: Reference, Seventh Edition&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the necessary confusion &lt;A href="http://support.sas.com/documentation/installcenter/en/ikfdtnunxcg/66380/PDF/default/config.pdf" title="http://support.sas.com/documentation/installcenter/en/ikfdtnunxcg/66380/PDF/default/config.pdf"&gt;http://support.sas.com/documentation/installcenter/en/ikfdtnunxcg/66380/PDF/default/config.pdf&lt;/A&gt; look how often dedicated drivers are using the odbc.ini almost everybody is using that.&amp;nbsp; This progress one is mentioned for MS-SQL &lt;A href="https://www.progress.com/odbc/data-sources/unix-linux" title="https://www.progress.com/odbc/data-sources/unix-linux"&gt; Unix Linux ODBC Driver from Progress DataDirect&lt;/A&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;The jdbc has a connection object not using the odb.ini (server port etc) but is different for each type of dbms. SAS has documented the wasy how to connect th SAS/Share &lt;A href="http://support.sas.com/documentation/cdl/en/jdbcref/65037/HTML/default/viewer.htm#p1a7nrsg36gaf8n1j33tfwf7nsj7.htm" title="http://support.sas.com/documentation/cdl/en/jdbcref/65037/HTML/default/viewer.htm#p1a7nrsg36gaf8n1j33tfwf7nsj7.htm"&gt;SAS(R) 9.4 Drivers for JDBC: Cookbook&lt;/A&gt; (wrong direction you want from SAS to others ) this one are some examples &lt;A href="http://support.sas.com/kb/52/777.html" title="http://support.sas.com/kb/52/777.html"&gt;52777 - Examples of SAS/ACCESS® Interface to ODBC LIBNAME code used to access a Microsoft SQL Server database without configuring an ODBC data source name&lt;/A&gt; but not complete to your question&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 15 Aug 2015 07:56:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/LIBNAME-ODBC-with-NOPROMPT-option-on-Unix/m-p/199702#M49887</guid>
      <dc:creator>jakarman</dc:creator>
      <dc:date>2015-08-15T07:56:41Z</dc:date>
    </item>
    <item>
      <title>Re: LIBNAME ODBC with NOPROMPT option on Unix</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/LIBNAME-ODBC-with-NOPROMPT-option-on-Unix/m-p/199703#M49888</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have done a lot of research before I made it to the forums. However, no where that I can find documents whether it is possible. I need to know the extent of what is doable with noprompt because it is the only option not dealt with in the ODBC Access documentation. COMPLETE and PROMPT are both labelled explicitly that they are not available on Unix. That means noprompt works but it has limitations. Ok, what are those limitations. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my situation, none of the other Access engines matter. We have all of them and all are used. However, the problem I am dealing with is specific to the ODBC driver. SAS, AFAIK, does not have an Access engine for JDBC (wish it did) so I cannot use it for JDBC consumption. I could use another means such as SOAP/REST but that is hard for most SAS programmers so I do not want to look at that yet. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 15 Aug 2015 13:21:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/LIBNAME-ODBC-with-NOPROMPT-option-on-Unix/m-p/199703#M49888</guid>
      <dc:creator>AlanC</dc:creator>
      <dc:date>2015-08-15T13:21:20Z</dc:date>
    </item>
    <item>
      <title>Re: LIBNAME ODBC with NOPROMPT option on Unix</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/LIBNAME-ODBC-with-NOPROMPT-option-on-Unix/m-p/199704#M49889</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;AlanC,, I mentioned the JDBC approach as it using a connection string bypassing the odbc.ini on the same ODBC client installation. &lt;BR /&gt;Conclusion: It should be technically possible to have a DBMS ODBC connection in SAS not needing that ini file.&amp;nbsp; We do not know whether and how SAS would do this.&lt;BR /&gt;JDBC is java code you can run java code from within SAS. &lt;A href="http://support.sas.com/documentation/cdl/en/lrcon/68089/HTML/default/viewer.htm#n0swy2q7eouj2fn11g1o28q57v4u.htm" title="http://support.sas.com/documentation/cdl/en/lrcon/68089/HTML/default/viewer.htm#n0swy2q7eouj2fn11g1o28q57v4u.htm"&gt;SAS(R) 9.4 Language Reference: Concepts, Fifth Edition&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Conclusion: when nothing as libname is workable that could be a way out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The major point could be: Which SAS version you are running and which ODBC software is installed on the Unix. You didn't mention anything about that. The remarks are rather cumbersome that those&amp;nbsp; choice is having much impact on the coding with ODBC interfaces. "see your odbc client installation manual". Yup which one?&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;When you have that and a jdbc sample is given put that in the noprompt area. Reviewing that approach to jdbc-oracle it is the same string going into the path option.&lt;BR /&gt;Any error&amp;nbsp; message should help. A firewall or other one could be a blocking one. First try something easy that is working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There must be a connectionstring like &lt;A href="https://www.connectionstrings.com/mysql-connector-odbc-5-1/" title="https://www.connectionstrings.com/mysql-connector-odbc-5-1/"&gt;MySQL Connector/ODBC 5.1 Connection Strings - ConnectionStrings.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Different coding as of the odbdc.ini file like &lt;A href="http://dev.mysql.com/doc/connector-odbc/en/connector-odbc-configuration-connection-parameters.html" title="http://dev.mysql.com/doc/connector-odbc/en/connector-odbc-configuration-connection-parameters.html"&gt;MySQL :: MySQL Connector/ODBC Developer Guide :: 5.2 Connector/ODBC Connection Parameters&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 15 Aug 2015 13:54:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/LIBNAME-ODBC-with-NOPROMPT-option-on-Unix/m-p/199704#M49889</guid>
      <dc:creator>jakarman</dc:creator>
      <dc:date>2015-08-15T13:54:42Z</dc:date>
    </item>
    <item>
      <title>Re: LIBNAME ODBC with NOPROMPT option on Unix</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/LIBNAME-ODBC-with-NOPROMPT-option-on-Unix/m-p/199705#M49890</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SAS 9.4, DataDirect ODBC.Let me read some more on what you have posted.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 15 Aug 2015 14:37:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/LIBNAME-ODBC-with-NOPROMPT-option-on-Unix/m-p/199705#M49890</guid>
      <dc:creator>AlanC</dc:creator>
      <dc:date>2015-08-15T14:37:49Z</dc:date>
    </item>
    <item>
      <title>Re: LIBNAME ODBC with NOPROMPT option on Unix</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/LIBNAME-ODBC-with-NOPROMPT-option-on-Unix/m-p/199706#M49891</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry to react that soon....&amp;nbsp; &lt;A href="https://documentation.progress.com/output/DataDirect/preview/odbcmongohelp80/index.html#page/mongodbodbc/dsn-less-connections.html" title="https://documentation.progress.com/output/DataDirect/preview/odbcmongohelp80/index.html#page/mongodbodbc/dsn-less-connections.html"&gt;https://documentation.progress.com/output/DataDirect/preview/odbcmongohelp80/index.html#page/mongodbodbc/dsn-less-connections.html&lt;/A&gt;&amp;nbsp;&amp;nbsp; About the Driver : Using the Driver : Configuring and Connecting to Data Sources : Configuring the Product on UNIX/Linux : DSN-less Connections&lt;/P&gt;&lt;P&gt;There are the names of the drivers being mentioned in the odbcinst file. "At the beginning of the file is a section named &lt;SPAN class="codeph"&gt;[ODBC Drivers]&lt;/SPAN&gt; that lists installed drivers, for example,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DataDirect 8.0 MongoDB=Installed"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The sample are giving more details on the complete list:&lt;BR /&gt;DRIVER=&amp;lt;ODBC Driver Name&amp;gt;;HOST=&amp;lt;Hostname&amp;gt;; PORT=&amp;lt;Port&amp;gt;;DB=&amp;lt;DatabaseName&amp;gt;;UID=&amp;lt;Username&amp;gt;;PWD=&amp;lt;Password&amp;gt;;DIL=&amp;lt;DEFAULT ISOLATION LEVEL&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://knowledgebase.progress.com/articles/Article/P97292" title="http://knowledgebase.progress.com/articles/Article/P97292"&gt;Progress KB - How to setup the connection string for an ODBC DSN-less connection to a Progress database?&lt;/A&gt;&lt;/P&gt;&lt;P&gt;How to setup the connection string for an ODBC DSN-less connection to a Progress database? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 16 Aug 2015 06:23:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/LIBNAME-ODBC-with-NOPROMPT-option-on-Unix/m-p/199706#M49891</guid>
      <dc:creator>jakarman</dc:creator>
      <dc:date>2015-08-16T06:23:45Z</dc:date>
    </item>
    <item>
      <title>Re: LIBNAME ODBC with NOPROMPT option on Unix</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/LIBNAME-ODBC-with-NOPROMPT-option-on-Unix/m-p/199707#M49892</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for all of the help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have been working with SAS tech support on how to achieve this and they have been successful in making it happen. We will be documenting the approach and putting a paper out on how it is done.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Aug 2015 15:14:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/LIBNAME-ODBC-with-NOPROMPT-option-on-Unix/m-p/199707#M49892</guid>
      <dc:creator>AlanC</dc:creator>
      <dc:date>2015-08-21T15:14:36Z</dc:date>
    </item>
    <item>
      <title>Re: LIBNAME ODBC with NOPROMPT option on Unix</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/LIBNAME-ODBC-with-NOPROMPT-option-on-Unix/m-p/612262#M76836</link>
      <description>&lt;P&gt;How was this resolved? I recall coming up with a solution over 10 years ago but cannot find the code again. I think all the name=values from odbc.ini could be wrapped in noprompt=''&lt;/P&gt;</description>
      <pubDate>Mon, 16 Dec 2019 23:17:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/LIBNAME-ODBC-with-NOPROMPT-option-on-Unix/m-p/612262#M76836</guid>
      <dc:creator>acfarrer</dc:creator>
      <dc:date>2019-12-16T23:17:48Z</dc:date>
    </item>
    <item>
      <title>Re: LIBNAME ODBC with NOPROMPT option on Unix</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/LIBNAME-ODBC-with-NOPROMPT-option-on-Unix/m-p/613136#M76853</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/15177"&gt;@acfarrer&lt;/a&gt;&amp;nbsp;- Maybe this post will help:&amp;nbsp;&lt;A href="https://communities.sas.com/t5/SAS-Data-Management/Example-of-DSN-less-SQL-Server-connection-from-Linux/td-p/349245" target="_blank" rel="noopener"&gt;https://communities.sas.com/t5/SAS-Data-Management/Example-of-DSN-less-SQL-Server-connection-from-Linux/td-p/349245&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Dec 2019 19:50:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/LIBNAME-ODBC-with-NOPROMPT-option-on-Unix/m-p/613136#M76853</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2019-12-19T19:50:36Z</dc:date>
    </item>
    <item>
      <title>Re: LIBNAME ODBC with NOPROMPT option on Unix</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/LIBNAME-ODBC-with-NOPROMPT-option-on-Unix/m-p/613234#M76860</link>
      <description>&lt;P&gt;I gave up trying to embed all the connection parameters in noprompt='' so that everything was contained in a single SAS program . The OP was trying to avoid engaging Admins to change the system $ODBCINI values. Instead, I created my own versions in $HOME/odbc and referenced them like this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;/* Connect to postgres */&lt;BR /&gt;%put %sysget(LD_LIBRARY_PATH) ;&lt;/P&gt;
&lt;P&gt;options set=ODBCHOME="%sysget(HOME)/odbc" ;&amp;nbsp;&lt;BR /&gt;%put %sysget(ODBCHOME) ;&lt;/P&gt;
&lt;P&gt;options set=ODBCINI="%sysget(HOME)/odbc/odbc.ini" ;&lt;BR /&gt;%put %sysget(ODBCINI) ;&lt;/P&gt;
&lt;P&gt;data _null_ ;&lt;BR /&gt;infile '!ODBCINI' truncover ;&lt;BR /&gt;input ;&lt;BR /&gt;put _infile_ ;&lt;BR /&gt;run ;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;libname fsdb odbc datasrc='fsdb' schema = public ;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Setting $ODBHOME seems to be the only way to reference the Driver= definition:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;$ more $HOME/odbc/odbcinst.ini&lt;BR /&gt;# Example driver definition&lt;BR /&gt;[PostgreSQL]&lt;BR /&gt;Description = ODBC for PostgreSQL&lt;BR /&gt;#Driver = /opt/sas/sashome/SASODBCDriversfortheWebInfrastructurePlatformDataServer/9.4/Driver/psqlodbcw.so&lt;BR /&gt;Driver = /opt/Progress/DataDirect/Connect64_for_ODBC_71/lib/ddpsql27.so&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Both drivers above seem to work but I am still working on write access.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Dec 2019 13:59:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/LIBNAME-ODBC-with-NOPROMPT-option-on-Unix/m-p/613234#M76860</guid>
      <dc:creator>acfarrer</dc:creator>
      <dc:date>2019-12-20T13:59:47Z</dc:date>
    </item>
    <item>
      <title>Re: LIBNAME ODBC with NOPROMPT option on Unix</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/LIBNAME-ODBC-with-NOPROMPT-option-on-Unix/m-p/613275#M76862</link>
      <description>Adding this to odbc.ini eliminates another issue:&lt;BR /&gt;&lt;BR /&gt;DriverUnicodeType=1 # Otherwise ERROR: CLI error trying to establish connection: 523 586&lt;BR /&gt;</description>
      <pubDate>Fri, 20 Dec 2019 16:31:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/LIBNAME-ODBC-with-NOPROMPT-option-on-Unix/m-p/613275#M76862</guid>
      <dc:creator>acfarrer</dc:creator>
      <dc:date>2019-12-20T16:31:14Z</dc:date>
    </item>
  </channel>
</rss>

