<?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: Getting transcode error while pulling data from REDSHIFT using PROC SQL in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Getting-transcode-error-while-pulling-data-from-REDSHIFT-using/m-p/873484#M345125</link>
    <description>&lt;P&gt;SAS, as well as all the other programs on your computer, uses some character set. One difference is that SAS allows you to specify, or in some cases override the specification, of the set used. You will have a default character set for your computer and depending on options chosen when SAS was installed one was selected as the default.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That's generic information.&lt;/P&gt;
&lt;P&gt;Now you are attempting to access data that apparently contains characters from a set that your current setting in SAS does not like. The solution, in general, depends on two things:&lt;/P&gt;
&lt;P&gt;What character set is the external data source using?&lt;/P&gt;
&lt;P&gt;What is your current SAS session using?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Depending on the combination of answers to the two questions different solutions are possible.&lt;/P&gt;
&lt;P&gt;Additionally how you "pull" data from an external source may have some impact as a specific SAS Access tool for that set may, or may not, attempt an automatic conversion.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When you answer those two questions then we may be able to provide specific answers.&lt;/P&gt;
&lt;P&gt;It may help to provide the log of the code submitted and all the messages associated, Or screen shots if using a graphic interface to connect to the Redshift source, so that we can see the choices you already made.&lt;/P&gt;</description>
    <pubDate>Tue, 02 May 2023 20:51:50 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2023-05-02T20:51:50Z</dc:date>
    <item>
      <title>Getting transcode error while pulling data from REDSHIFT using PROC SQL</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Getting-transcode-error-while-pulling-data-from-REDSHIFT-using/m-p/873445#M345115</link>
      <description>&lt;P&gt;Hi Everyone,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am facing issue with data pull from REDSHIFT using PROC SQL. The code errors out with "unable to transcode:".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have viewed various posts regarding encoding option, but they talk about DATASET and filename.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can someone help me on this please ?&lt;/P&gt;
&lt;P&gt;Appreciate your time on this.&lt;/P&gt;</description>
      <pubDate>Tue, 02 May 2023 17:53:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Getting-transcode-error-while-pulling-data-from-REDSHIFT-using/m-p/873445#M345115</guid>
      <dc:creator>RAmarapuram</dc:creator>
      <dc:date>2023-05-02T17:53:29Z</dc:date>
    </item>
    <item>
      <title>Re: Getting transcode error while pulling data from REDSHIFT using PROC SQL</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Getting-transcode-error-while-pulling-data-from-REDSHIFT-using/m-p/873484#M345125</link>
      <description>&lt;P&gt;SAS, as well as all the other programs on your computer, uses some character set. One difference is that SAS allows you to specify, or in some cases override the specification, of the set used. You will have a default character set for your computer and depending on options chosen when SAS was installed one was selected as the default.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That's generic information.&lt;/P&gt;
&lt;P&gt;Now you are attempting to access data that apparently contains characters from a set that your current setting in SAS does not like. The solution, in general, depends on two things:&lt;/P&gt;
&lt;P&gt;What character set is the external data source using?&lt;/P&gt;
&lt;P&gt;What is your current SAS session using?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Depending on the combination of answers to the two questions different solutions are possible.&lt;/P&gt;
&lt;P&gt;Additionally how you "pull" data from an external source may have some impact as a specific SAS Access tool for that set may, or may not, attempt an automatic conversion.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When you answer those two questions then we may be able to provide specific answers.&lt;/P&gt;
&lt;P&gt;It may help to provide the log of the code submitted and all the messages associated, Or screen shots if using a graphic interface to connect to the Redshift source, so that we can see the choices you already made.&lt;/P&gt;</description>
      <pubDate>Tue, 02 May 2023 20:51:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Getting-transcode-error-while-pulling-data-from-REDSHIFT-using/m-p/873484#M345125</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2023-05-02T20:51:50Z</dc:date>
    </item>
    <item>
      <title>Re: Getting transcode error while pulling data from REDSHIFT using PROC SQL</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Getting-transcode-error-while-pulling-data-from-REDSHIFT-using/m-p/873492#M345129</link>
      <description>&lt;P&gt;To check your SAS session encoding run this:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc options option = encoding;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Compare this with Redshift encoding. You could ask your Redshift DBA for this if you don't know.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Transcoding problems can happen if there is an encoding difference.&lt;/P&gt;</description>
      <pubDate>Tue, 02 May 2023 22:02:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Getting-transcode-error-while-pulling-data-from-REDSHIFT-using/m-p/873492#M345129</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2023-05-02T22:02:39Z</dc:date>
    </item>
  </channel>
</rss>

