<?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: SAS UTF-8 Error while processing data from Azure Databricks in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/SAS-UTF-8-Error-while-processing-data-from-Azure-Databricks/m-p/862986#M340901</link>
    <description>I did. But same error.</description>
    <pubDate>Wed, 08 Mar 2023 14:57:22 GMT</pubDate>
    <dc:creator>ADN</dc:creator>
    <dc:date>2023-03-08T14:57:22Z</dc:date>
    <item>
      <title>SAS UTF-8 Error while processing data from Azure Databricks</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-UTF-8-Error-while-processing-data-from-Azure-Databricks/m-p/862932#M340879</link>
      <description>&lt;P&gt;I am pulling data from Azure Databricks using JDBC when I get an error as below. It seems to be a transcoding issue. My SAS session is running on LATIN1 encoding. I am using below command to run my programs right now. Any idea how to invoke SAS in UTF-8 mode from command line in Unix.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=""&gt;ERROR: Data from column 'Var1' in row 273138 of the result set was not presented in UTF-8 format. The length of this data is 17 
       bytes, and the first 7 characters are 'Castili'. Adding -JREOPTIONS (-Dfile.encoding=UTF-8) to the SAS invocation may 
       circumvent the issue. Otherwise the data should be corrected to UTF-8 format.
NOTE: The DATA step has been abnormally terminated.
NOTE: The SAS System stopped processing this step because of errors.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;SAS Unix command:&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;/opt/sas/sharebi/config/Lev1/Applications/SASGridManagerClientUtility/9.4/sasgsub -gridsubmitpgm data_pull.sas -gridwork /data/team_abc/log -gridwaitnoresults&lt;/PRE&gt;</description>
      <pubDate>Wed, 08 Mar 2023 13:11:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-UTF-8-Error-while-processing-data-from-Azure-Databricks/m-p/862932#M340879</guid>
      <dc:creator>ADN</dc:creator>
      <dc:date>2023-03-08T13:11:06Z</dc:date>
    </item>
    <item>
      <title>Re: SAS UTF-8 Error while processing data from Azure Databricks</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-UTF-8-Error-while-processing-data-from-Azure-Databricks/m-p/862942#M340888</link>
      <description>&lt;P&gt;Did you try the suggestion from the log to add -JREOPTIONS to the invocation?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;/opt/sas/sharebi/config/Lev1/Applications/SASGridManagerClientUtility/9.4/sasgsub -gridsubmitpgm data_pull.sas -gridwork /data/team_abc/log -gridwaitnoresults -JREOPTIONS (-Dfile.encoding=UTF-8)&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 08 Mar 2023 13:54:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-UTF-8-Error-while-processing-data-from-Azure-Databricks/m-p/862942#M340888</guid>
      <dc:creator>Quentin</dc:creator>
      <dc:date>2023-03-08T13:54:30Z</dc:date>
    </item>
    <item>
      <title>Re: SAS UTF-8 Error while processing data from Azure Databricks</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-UTF-8-Error-while-processing-data-from-Azure-Databricks/m-p/862986#M340901</link>
      <description>I did. But same error.</description>
      <pubDate>Wed, 08 Mar 2023 14:57:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-UTF-8-Error-while-processing-data-from-Azure-Databricks/m-p/862986#M340901</guid>
      <dc:creator>ADN</dc:creator>
      <dc:date>2023-03-08T14:57:22Z</dc:date>
    </item>
    <item>
      <title>Re: SAS UTF-8 Error while processing data from Azure Databricks</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-UTF-8-Error-while-processing-data-from-Azure-Databricks/m-p/863002#M340905</link>
      <description>&lt;P&gt;The error message is weird.&amp;nbsp; SAS is saying the data isn't UTF-8.&amp;nbsp; Generally if SAS recognized the data as being UTF-8, it would at least try to transcode it for you, and you might get some transcoding warnings but it would "work".&amp;nbsp; You might want to work with SAS tech support on this.&amp;nbsp; You could try adding&amp;nbsp;&lt;SPAN class="token operator"&gt;-&lt;/SPAN&gt;&lt;SPAN&gt;encoding UTF-8 to your invocation.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Mar 2023 15:36:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-UTF-8-Error-while-processing-data-from-Azure-Databricks/m-p/863002#M340905</guid>
      <dc:creator>Quentin</dc:creator>
      <dc:date>2023-03-08T15:36:37Z</dc:date>
    </item>
  </channel>
</rss>

