<?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: Warning messages in PROC DOWNLOAD in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Warning-messages-in-PROC-DOWNLOAD/m-p/796937#M255794</link>
    <description>&lt;P&gt;Here is how I did it. Might be useful to others. I used&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=""&gt;proc options option=encoding; run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;to find my current encoding. It was indeed&amp;nbsp;WLATIN1. Then I followed the instructions &lt;A href="http://support.sas.com/kb/51/586.html" target="_self"&gt;here&lt;/A&gt;&amp;nbsp;to change the encoding of my local SAS session to UTF-8. The "problem" disappeared!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;CODE class=""&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 17 Feb 2022 17:39:31 GMT</pubDate>
    <dc:creator>xyxu</dc:creator>
    <dc:date>2022-02-17T17:39:31Z</dc:date>
    <item>
      <title>Warning messages in PROC DOWNLOAD</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Warning-messages-in-PROC-DOWNLOAD/m-p/796631#M255653</link>
      <description>&lt;P&gt;I use SAS PC Connect to extract a large database from the WRDS server using PROC DOWNLOAD. In the process, I kept getting warning messages&amp;nbsp;"&lt;STRONG&gt;an error occurred translating a data set variable's value&lt;/STRONG&gt;". This really bothers me, since the downloading takes 20+ hours. Why do we have these messages, and is there a good solution?&lt;/P&gt;</description>
      <pubDate>Wed, 16 Feb 2022 16:51:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Warning-messages-in-PROC-DOWNLOAD/m-p/796631#M255653</guid>
      <dc:creator>xyxu</dc:creator>
      <dc:date>2022-02-16T16:51:11Z</dc:date>
    </item>
    <item>
      <title>Re: Warning messages in PROC DOWNLOAD</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Warning-messages-in-PROC-DOWNLOAD/m-p/796650#M255667</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/99650"&gt;@xyxu&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Maybe your "problem" is related to this Cross-Architecture Issue :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SAS® 9.4 and SAS® Viya® 3.5 Programming Documentation&lt;BR /&gt;SAS/CONNECT&lt;BR /&gt;Encoding Compatibility between SAS/CONNECT Client and Server Sessions&lt;BR /&gt;&lt;A href="https://go.documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/connref/n1smv71b6303yen17kx46uxc0nxh.htm" target="_blank"&gt;https://go.documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/connref/n1smv71b6303yen17kx46uxc0nxh.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;UTF-8 versus WLATIN1 for example.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;You can do a PROC CONTENTS on the&amp;nbsp;&lt;SPAN&gt;Wharton&amp;nbsp;data set to find out about its encoding!&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Good luck,&lt;/P&gt;
&lt;P&gt;Koen&lt;/P&gt;</description>
      <pubDate>Wed, 16 Feb 2022 17:50:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Warning-messages-in-PROC-DOWNLOAD/m-p/796650#M255667</guid>
      <dc:creator>sbxkoenk</dc:creator>
      <dc:date>2022-02-16T17:50:21Z</dc:date>
    </item>
    <item>
      <title>Re: Warning messages in PROC DOWNLOAD</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Warning-messages-in-PROC-DOWNLOAD/m-p/796665#M255671</link>
      <description>I used proc contents to check the encoding of my target dataset on WRDS. The encoding is utf-8 Unicode (UTF-8). How do I make sure that it is compatible?</description>
      <pubDate>Wed, 16 Feb 2022 18:43:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Warning-messages-in-PROC-DOWNLOAD/m-p/796665#M255671</guid>
      <dc:creator>xyxu</dc:creator>
      <dc:date>2022-02-16T18:43:11Z</dc:date>
    </item>
    <item>
      <title>Re: Warning messages in PROC DOWNLOAD</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Warning-messages-in-PROC-DOWNLOAD/m-p/796680#M255676</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am afraid you have to set the encoding of your local SAS session to UTF-8 as well.&lt;/P&gt;
&lt;P&gt;Look in the documentation for :&lt;/P&gt;
&lt;P&gt;"Setting the Encoding of a SAS Session".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Although you can also try to add some data set options to the datasets in proc download. Not sure if that will work. Maybe worthwhile to check this first !!&lt;BR /&gt;Something like :&lt;/P&gt;
&lt;DIV class="xisDoc-refProc"&gt;
&lt;DIV class="xisDoc-procExample"&gt;
&lt;DIV id="p1nk3sarnc2k8cn15u2cwp0nzaad" class="xisDoc-program"&gt;
&lt;DIV class="xis-codeBlockComplete"&gt;
&lt;DIV class="xis-copyToClipboardBtn"&gt;
&lt;PRE class="xisDoc-code"&gt;&lt;CODE&gt;select sales(outrep=);
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV class="xisDoc-refProc"&gt;
&lt;DIV class="xisDoc-procExample"&gt;
&lt;DIV id="p1nk3sarnc2k8cn15u2cwp0nzaad" class="xisDoc-program"&gt;
&lt;DIV class="xis-codeBlockComplete"&gt;
&lt;DIV class="xis-copyToClipboardBtn"&gt;
&lt;PRE class="xisDoc-code"&gt;&lt;CODE&gt;select sales(encoding=);
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I guess your (Windows?) local SAS session is in&amp;nbsp;&lt;EM&gt;WLATIN1&lt;/EM&gt;.&lt;/P&gt;
&lt;P&gt;And I suppose you want to stick to&amp;nbsp;&lt;EM&gt;WLATIN1&lt;/EM&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That's no problem.&amp;nbsp;&lt;BR /&gt;If you start your Windows SAS session again with&amp;nbsp;&lt;EM&gt;WLATIN1&amp;nbsp;&lt;/EM&gt;, you will be able to work with the Wharton UTF-8 dataset thanks to CEDA (Cross Environment Data Access).&lt;BR /&gt;But it's more efficient to change the encoding of the data set.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;This is how that can de done :&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;LIBNAME inlib cvp 'SAS-library';
LIBNAME outlib 'SAS-library' outencoding=”encoding value for output”;
proc copy noclone in=inlib out=outlib;
   select car;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Koen&lt;/P&gt;</description>
      <pubDate>Wed, 16 Feb 2022 19:47:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Warning-messages-in-PROC-DOWNLOAD/m-p/796680#M255676</guid>
      <dc:creator>sbxkoenk</dc:creator>
      <dc:date>2022-02-16T19:47:11Z</dc:date>
    </item>
    <item>
      <title>Re: Warning messages in PROC DOWNLOAD</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Warning-messages-in-PROC-DOWNLOAD/m-p/796799#M255711</link>
      <description>&lt;P&gt;If your local encoding is wlatin, this character set has no means to represent or store all the characters available in UTF8.&lt;/P&gt;
&lt;P&gt;The only way to keep all the source UTF8 characters is to save your data in a UTF8 SAS data set.&lt;/P&gt;
&lt;P&gt;To do this, you should run your SAS session as a UFT8 session. This change can only be made in the configuration file that's read when SAS starts.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Feb 2022 05:09:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Warning-messages-in-PROC-DOWNLOAD/m-p/796799#M255711</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2022-02-17T05:09:26Z</dc:date>
    </item>
    <item>
      <title>Re: Warning messages in PROC DOWNLOAD</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Warning-messages-in-PROC-DOWNLOAD/m-p/796937#M255794</link>
      <description>&lt;P&gt;Here is how I did it. Might be useful to others. I used&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=""&gt;proc options option=encoding; run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;to find my current encoding. It was indeed&amp;nbsp;WLATIN1. Then I followed the instructions &lt;A href="http://support.sas.com/kb/51/586.html" target="_self"&gt;here&lt;/A&gt;&amp;nbsp;to change the encoding of my local SAS session to UTF-8. The "problem" disappeared!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;CODE class=""&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Feb 2022 17:39:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Warning-messages-in-PROC-DOWNLOAD/m-p/796937#M255794</guid>
      <dc:creator>xyxu</dc:creator>
      <dc:date>2022-02-17T17:39:31Z</dc:date>
    </item>
  </channel>
</rss>

