<?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: ODBC LIBNAME engine not working in SAS Studio in SAS Studio</title>
    <link>https://communities.sas.com/t5/SAS-Studio/ODBC-LIBNAME-engine-not-working-in-SAS-Studio/m-p/530378#M6920</link>
    <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/159"&gt;@Tom&lt;/a&gt;&amp;nbsp;This was my initial thought, but the other way around. The settings for DCBS, DCBSLANG, and DCBSNAME are different on SAS Studio than in the other&amp;nbsp;two SAS environments. I became frustrated trying to change the options in the SAS Studio configuration, so I took a pause to reach out to the hive for confirmation that I was at least on the correct solution path. Your kind response tells me that I am, so I'll cowboy up and at least make SAS Studio match the other two environments in this regard. If that solves the problem, I'll post here and let the community know.&lt;/P&gt;</description>
    <pubDate>Sat, 26 Jan 2019 21:27:29 GMT</pubDate>
    <dc:creator>jshoe</dc:creator>
    <dc:date>2019-01-26T21:27:29Z</dc:date>
    <item>
      <title>ODBC LIBNAME engine not working in SAS Studio</title>
      <link>https://communities.sas.com/t5/SAS-Studio/ODBC-LIBNAME-engine-not-working-in-SAS-Studio/m-p/530320#M6918</link>
      <description>&lt;P&gt;Dear Hive,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are running SAS 9.4 (TS1M5) on a Linux server [Linux LIN X64 3.10.0-862.14.4.el7.x86_64 #1 SMP Wed Sep 26 15:12:11 UTC 2018 x86_64 CentOS Linux release 7.5.1804 (Core)].&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Some of our data are stored in MS\SQL Server. To access those data we use the ODBC engine as follows:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;libname&amp;nbsp;datamart odbc&amp;nbsp;dsn = PROD user = scott&amp;nbsp;pw = tiger schema = datamart access = readonly;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This works as expected when we execute this statement as a batch job or through the SAS\EG application.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This statement does not work in SAS Studio. The SAS log reports that the libname&amp;nbsp;assignment was successful; however, an extra character is being inserted between every character of the native table name.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="odbc.png" style="width: 431px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/26597i1467C598073839AA/image-size/large?v=v2&amp;amp;px=999" role="button" title="odbc.png" alt="odbc.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The ODBC driver is [libmsodbcsql-17.2.so.0.1].&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any explanation for this odd behavior inside SAS Studio. Better yet, how do we resolve this problem?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks - Jack&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 26 Jan 2019 15:15:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/ODBC-LIBNAME-engine-not-working-in-SAS-Studio/m-p/530320#M6918</guid>
      <dc:creator>jshoe</dc:creator>
      <dc:date>2019-01-26T15:15:16Z</dc:date>
    </item>
    <item>
      <title>Re: ODBC LIBNAME engine not working in SAS Studio</title>
      <link>https://communities.sas.com/t5/SAS-Studio/ODBC-LIBNAME-engine-not-working-in-SAS-Studio/m-p/530338#M6919</link>
      <description>&lt;P&gt;Looks like an ENCODING issue.&amp;nbsp; Perhaps the database is sending multiple byte characters (like UTF8 or UTF16) strings and SAS/Studio is interpreting them as single byte characters?&lt;/P&gt;</description>
      <pubDate>Sat, 26 Jan 2019 17:55:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/ODBC-LIBNAME-engine-not-working-in-SAS-Studio/m-p/530338#M6919</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2019-01-26T17:55:33Z</dc:date>
    </item>
    <item>
      <title>Re: ODBC LIBNAME engine not working in SAS Studio</title>
      <link>https://communities.sas.com/t5/SAS-Studio/ODBC-LIBNAME-engine-not-working-in-SAS-Studio/m-p/530378#M6920</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/159"&gt;@Tom&lt;/a&gt;&amp;nbsp;This was my initial thought, but the other way around. The settings for DCBS, DCBSLANG, and DCBSNAME are different on SAS Studio than in the other&amp;nbsp;two SAS environments. I became frustrated trying to change the options in the SAS Studio configuration, so I took a pause to reach out to the hive for confirmation that I was at least on the correct solution path. Your kind response tells me that I am, so I'll cowboy up and at least make SAS Studio match the other two environments in this regard. If that solves the problem, I'll post here and let the community know.&lt;/P&gt;</description>
      <pubDate>Sat, 26 Jan 2019 21:27:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/ODBC-LIBNAME-engine-not-working-in-SAS-Studio/m-p/530378#M6920</guid>
      <dc:creator>jshoe</dc:creator>
      <dc:date>2019-01-26T21:27:29Z</dc:date>
    </item>
    <item>
      <title>Re: ODBC LIBNAME engine not working in SAS Studio</title>
      <link>https://communities.sas.com/t5/SAS-Studio/ODBC-LIBNAME-engine-not-working-in-SAS-Studio/m-p/530390#M6921</link>
      <description>&lt;P&gt;SOLVED: By default SAS Studio was starting the SAS workspace using the 'sas_u8' start-up script. This had the unwelcome side effect of putting DBCS into play which was then causing havoc over the ODBC channel. The specific fix was to add this assignment statement to ${SASHOME}/studioconfig/workspaceserver/workspaceserver_usermods.sh&lt;/P&gt;&lt;PRE&gt;SAS_COMMAND=/opt/sas/SASFoundation/9.4/bin/sas_en&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;This then overrides the default setting of 'sas_u8' which was the root cause of our agita.&lt;/P&gt;</description>
      <pubDate>Sat, 26 Jan 2019 23:42:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/ODBC-LIBNAME-engine-not-working-in-SAS-Studio/m-p/530390#M6921</guid>
      <dc:creator>jshoe</dc:creator>
      <dc:date>2019-01-26T23:42:10Z</dc:date>
    </item>
  </channel>
</rss>

