<?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: NLS_LANG setting in SAS EG working in UNIX server in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/NLS-LANG-setting-in-SAS-EG-working-in-UNIX-server/m-p/388001#M25002</link>
    <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/157465"&gt;@MicSun&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;SAS EG is your client which sends SAS code to a SAS Server (i.e. SASApp) for execution. It's the NLS_LANG setting on the SAS Server side which needs to change.&lt;/P&gt;
&lt;P&gt;Changing server side configurations is nothing a SAS end user can do. This is a SAS Admin task and you should contact the SAS Admin at your site to get this resolved.&lt;/P&gt;</description>
    <pubDate>Mon, 14 Aug 2017 22:10:30 GMT</pubDate>
    <dc:creator>Patrick</dc:creator>
    <dc:date>2017-08-14T22:10:30Z</dc:date>
    <item>
      <title>NLS_LANG setting in SAS EG working in UNIX server</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/NLS-LANG-setting-in-SAS-EG-working-in-UNIX-server/m-p/386355#M24896</link>
      <description>&lt;P&gt;I have&amp;nbsp;an encoding issue when query some special charactors from Oracle DB.&amp;nbsp;SAS EG connected to UNIX server have issue to execute and error message is "&lt;STRONG&gt;ORA-29275 - partial multibyte character Enterprise Guide"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Followed instrution on NLS_LANG setting &lt;A href="http://support.sas.com/kb/51/411.html" target="_blank" rel="nofollow noopener noreferrer"&gt;http://support.sas.com/kb/51/411.html&amp;nbsp;&lt;/A&gt;&amp;nbsp;I edit Windows "user variable" by&amp;nbsp;creating NLS_LANG paramater. It works on PC SAS or SAS EG (didn't connect to UNIX server).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, after added NLS_LANG into UNIX .profile, UNIX SAS is fine but I have to send SAS code command under UNIX platform.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way to edit SAS EG NLS_LANG, which was working in the UNIX server. It sitll couldn't pull the data (such as customer name or description note) with the same code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Aug 2017 17:41:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/NLS-LANG-setting-in-SAS-EG-working-in-UNIX-server/m-p/386355#M24896</guid>
      <dc:creator>MicSun</dc:creator>
      <dc:date>2017-08-08T17:41:15Z</dc:date>
    </item>
    <item>
      <title>Re: NLS_LANG setting in SAS EG working in UNIX server</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/NLS-LANG-setting-in-SAS-EG-working-in-UNIX-server/m-p/386373#M24897</link>
      <description>&lt;P&gt;Submit this code from EG&amp;nbsp;to check your server session encoding and locale, to make sure they are set as expected:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;options&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;group&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=languagecontrol;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If not, you may be encountering the fact that EG sets the server session locale (which can also alter the server session encoding)&amp;nbsp;by default to match the EG Display language.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In Enterprise Guide, see&amp;nbsp;Tools-&amp;gt;Options-&amp;gt;General-&amp;gt;Enterprise Guide language settings-&amp;gt;Server session locale.&amp;nbsp; It defaults to "Use the Enterprise Guide display language".&amp;nbsp; In which case, when EG connects to a workspace server, it&amp;nbsp;sets the&amp;nbsp;locale on the server session to match EG's display language.&amp;nbsp; For example, if EG's Display langauge is English, the server session locale will be set to "EN_US".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Setting the locale on the server session will also change the encoding if not explicitly set on the server.&amp;nbsp; So, since the server session locale was set to "EN_US" by EG, the server session encoding might also&amp;nbsp;result in&amp;nbsp;WLATIN1.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you want to preserve the default server session locale and encoding (as configured on the server), change EG's Tools-&amp;gt;Options-&amp;gt;General-&amp;gt;Enterprise Guide language settings-&amp;gt;Server session locale option to "Use the locale of the server".&lt;/P&gt;</description>
      <pubDate>Tue, 08 Aug 2017 19:16:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/NLS-LANG-setting-in-SAS-EG-working-in-UNIX-server/m-p/386373#M24897</guid>
      <dc:creator>CaseySmith</dc:creator>
      <dc:date>2017-08-08T19:16:00Z</dc:date>
    </item>
    <item>
      <title>Re: NLS_LANG setting in SAS EG working in UNIX server</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/NLS-LANG-setting-in-SAS-EG-working-in-UNIX-server/m-p/387486#M24968</link>
      <description>&lt;P&gt;Thank you Casey Smith for your reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After change SAS EG to "&lt;SPAN&gt;Use the locale of the server", there still is an error message&amp;nbsp;"ORA - 29275 Multibyte character".&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I think that what I need to change is "NLS_LANG" parameter/variable on SAS EG side as a business end user. So, I don't have access to edit "sasenv_local" as below.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE class=" language-sas"&gt;&lt;CODE class="  language-sas"&gt;&lt;SPAN class="token statement"&gt;File&lt;/SPAN&gt; to modify:
&lt;SPAN class="token operator"&gt;/&lt;/SPAN&gt;app&lt;SPAN class="token operator"&gt;/&lt;/SPAN&gt;sas&lt;SPAN class="token operator"&gt;/&lt;/SPAN&gt;sashome&lt;SPAN class="token operator"&gt;/&lt;/SPAN&gt;SASFoundation&lt;SPAN class="token operator"&gt;/&lt;/SPAN&gt;&lt;SPAN class="token number"&gt;9.4&lt;/SPAN&gt;&lt;SPAN class="token operator"&gt;/&lt;/SPAN&gt;bin&lt;SPAN class="token operator"&gt;/&lt;/SPAN&gt;sasenv_local
&lt;SPAN class="token procnames"&gt;export&lt;/SPAN&gt; NLS_LANG&lt;SPAN class="token operator"&gt;=&lt;/SPAN&gt;AMERICAN_AMERICA&lt;SPAN class="token punctuation"&gt;.&lt;/SPAN&gt;WE8ISO8859P1&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Is anyone have other suggestion to resolve this issue?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Used "env|grep NLS" in UNIX server and check NLS is correct as below&amp;nbsp;&lt;BR /&gt;NLS_LANG=AMERICAN_AMERICA.AL32UTF8&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Aug 2017 20:30:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/NLS-LANG-setting-in-SAS-EG-working-in-UNIX-server/m-p/387486#M24968</guid>
      <dc:creator>MicSun</dc:creator>
      <dc:date>2017-08-11T20:30:04Z</dc:date>
    </item>
    <item>
      <title>Re: NLS_LANG setting in SAS EG working in UNIX server</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/NLS-LANG-setting-in-SAS-EG-working-in-UNIX-server/m-p/387785#M24997</link>
      <description>NLS_LANG parameter is correct in UNIX and same code works fine to pull data from Oracle DB, which NLS_LANG is "AMERICAN_AMERICA.AL32UTF8".&lt;BR /&gt;However, SAS EG didn't refer to UNIX server variables and had that Oracle error message.</description>
      <pubDate>Mon, 14 Aug 2017 14:33:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/NLS-LANG-setting-in-SAS-EG-working-in-UNIX-server/m-p/387785#M24997</guid>
      <dc:creator>MicSun</dc:creator>
      <dc:date>2017-08-14T14:33:25Z</dc:date>
    </item>
    <item>
      <title>Re: NLS_LANG setting in SAS EG working in UNIX server</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/NLS-LANG-setting-in-SAS-EG-working-in-UNIX-server/m-p/388001#M25002</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/157465"&gt;@MicSun&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;SAS EG is your client which sends SAS code to a SAS Server (i.e. SASApp) for execution. It's the NLS_LANG setting on the SAS Server side which needs to change.&lt;/P&gt;
&lt;P&gt;Changing server side configurations is nothing a SAS end user can do. This is a SAS Admin task and you should contact the SAS Admin at your site to get this resolved.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Aug 2017 22:10:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/NLS-LANG-setting-in-SAS-EG-working-in-UNIX-server/m-p/388001#M25002</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2017-08-14T22:10:30Z</dc:date>
    </item>
    <item>
      <title>Re: NLS_LANG setting in SAS EG working in UNIX server</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/NLS-LANG-setting-in-SAS-EG-working-in-UNIX-server/m-p/388156#M25013</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/12447"&gt;@Patrick&lt;/a&gt;&lt;/P&gt;&lt;P&gt;Thank you for your prompt response. I will reach out our company Technology team.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Aug 2017 14:14:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/NLS-LANG-setting-in-SAS-EG-working-in-UNIX-server/m-p/388156#M25013</guid>
      <dc:creator>MicSun</dc:creator>
      <dc:date>2017-08-15T14:14:55Z</dc:date>
    </item>
  </channel>
</rss>

