<?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: Encoding Issue in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Encoding-Issue/m-p/172532#M44481</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;strongly recommend using proc cport and proc cimport to transfer datasets between two different computer.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 15 Nov 2014 07:44:28 GMT</pubDate>
    <dc:creator>Ksharp</dc:creator>
    <dc:date>2014-11-15T07:44:28Z</dc:date>
    <item>
      <title>Encoding Issue</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Encoding-Issue/m-p/172530#M44479</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a funny little problem and I'm wondering if anyone has an answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are in the midst of converting to SAS 9.3 (from 9.1) so we are doing a bunch of parallel runs to prove everything is the same, and there&lt;/P&gt;&lt;P&gt;is 1 odd little problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(Our SAS 9.1 system is also 32 bit and the SAS 9.3 system is 64 bit.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is one table that has 17 variables and 350,000+ records in it.&amp;nbsp; When we compare this table after processing on each system there is 1&lt;/P&gt;&lt;P&gt;record difference, and only 1 variable.&amp;nbsp; On the 9.1 version it contains a hex value of 'E5' and on the 9.3 system it has hex '3F'.&amp;nbsp; It is the only&lt;/P&gt;&lt;P&gt;byte in the entire file that is different and it is on record 218,819.&amp;nbsp;&amp;nbsp; This was identified using a PROC COMPARE between the 2 tables on the&lt;/P&gt;&lt;P&gt;9.1 system.&amp;nbsp; The file from the 9.3 system was "zipped", copied to the 9.1 system, and "unzipped" there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Both systems have the same encoding (wlatin1). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any explanation for this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Nov 2014 20:50:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Encoding-Issue/m-p/172530#M44479</guid>
      <dc:creator>OS2Rules</dc:creator>
      <dc:date>2014-11-14T20:50:58Z</dc:date>
    </item>
    <item>
      <title>Re: Encoding Issue</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Encoding-Issue/m-p/172531#M44480</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="text-decoration: line-through;"&gt;First thing I would do is to transfer the data once more (zip, copy, unzip) and test if the issue remains. If it remains then I would use a different compression mechanism and test again. Only then I would start to "doubt" SAS.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;As an update:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Strongly agree with &lt;A __default_attr="645292" __jive_macro_name="user" class="jive_macro jive_macro_user" href="https://communities.sas.com/"&gt;&lt;/A&gt; that using cport/cimport is the way to go. If you just move your SAS files then they will remain 32-bit&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;A class="active_link" href="http://support.sas.com/kb/38/339.html" title="http://support.sas.com/kb/38/339.html"&gt;38339 - SAS® file compatibility when upgrading from 32-bit to 64-bit Microsoft Windows&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/kb/44/047.html" style="font-size: 10pt; line-height: 1.5em;" title="http://support.sas.com/kb/44/047.html"&gt;44047 - Format catalogs must be converted when moving from a Microsoft Windows 32-bit operating system to a Microsoft Windows 7 64-bit operating system&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 15 Nov 2014 05:56:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Encoding-Issue/m-p/172531#M44480</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2014-11-15T05:56:27Z</dc:date>
    </item>
    <item>
      <title>Re: Encoding Issue</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Encoding-Issue/m-p/172532#M44481</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;strongly recommend using proc cport and proc cimport to transfer datasets between two different computer.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 15 Nov 2014 07:44:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Encoding-Issue/m-p/172532#M44481</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2014-11-15T07:44:28Z</dc:date>
    </item>
    <item>
      <title>Re: Encoding Issue</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Encoding-Issue/m-p/172533#M44482</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tool my old System/370 (1980-s) reference summary ebcdic and than realizing you are in the ascii world.&lt;/P&gt;&lt;P&gt;Old ascii is 7-bit only chars up to 7f are valid. the 3f is a "?" but what the ... is that&amp;nbsp; e5 ?&lt;/P&gt;&lt;P&gt;Even in the Latin-1 world in that Single Byte CharacterSet (DBCS) there are a lot of code-pages. the 437(mainframe)-043(windows) 850 that are all latin1 types.&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/nlsref/63072/HTML/default/viewer.htm#p165q9ecrpnvabn1t7u2gh1oovgr.htm" title="http://support.sas.com/documentation/cdl/en/nlsref/63072/HTML/default/viewer.htm#p165q9ecrpnvabn1t7u2gh1oovgr.htm"&gt;SAS(R) 9.3 National Language Support (NLS): Reference Guide&lt;/A&gt;&amp;nbsp; to enjoy all different latin1 encodings see: &lt;A href="http://support.sas.com/documentation/cdl/en/nlsref/63072/HTML/default/viewer.htm#n1r7pnb91iybs9n1hgvsj7q09srd.htm" title="http://support.sas.com/documentation/cdl/en/nlsref/63072/HTML/default/viewer.htm#n1r7pnb91iybs9n1hgvsj7q09srd.htm"&gt;SAS(R) 9.3 National Language Support (NLS): Reference Guide&lt;/A&gt;&lt;/P&gt;&lt;P&gt;To make it even more confusing there are differences between the latin1's on Windows and on Unix.&amp;nbsp; No not really big differences may be just one or two that are different.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check you encoding setting on the old and new system there must be a difference in that. &lt;A href="http://en.wikipedia.org/wiki/Code_page" title="http://en.wikipedia.org/wiki/Code_page"&gt;Code page - Wikipedia, the free encyclopedia&lt;/A&gt; Something like US-eng to Dutch, Norwegian or Spanish. It translated some weird char not covered by encoding differences into the question-mark&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 15 Nov 2014 09:25:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Encoding-Issue/m-p/172533#M44482</guid>
      <dc:creator>jakarman</dc:creator>
      <dc:date>2014-11-15T09:25:08Z</dc:date>
    </item>
    <item>
      <title>Re: Encoding Issue</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Encoding-Issue/m-p/172534#M44483</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jaap:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My old(er) System/370 Reference Summary Fourth Edition (November 1976) also has no character for x'e5' but it shows as a lower case 'a' with a&lt;/P&gt;&lt;P&gt;accent over it (umlaut?) on the screen.&amp;nbsp; Everything was run on a server systems so there would be no EBCIDIC to ASCII conversion either or DBCS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just think that it is unusual that only 1 byte would be changed in a dataset of over 90 MB.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Nov 2014 13:16:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Encoding-Issue/m-p/172534#M44483</guid>
      <dc:creator>OS2Rules</dc:creator>
      <dc:date>2014-11-18T13:16:58Z</dc:date>
    </item>
    <item>
      <title>Re: Encoding Issue</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Encoding-Issue/m-p/172535#M44484</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, That old time if have got traumatized by those trema-s the dead-key dilemma&amp;nbsp; (&lt;SPAN class="hps"&gt;diaeresis umlaut).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;- First finding the dollarcent not-sign vertical-bar did exist in ebcdic not in ascii.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;- Going wit all naming spellings of countries it was possible at the pc not at the mainframe. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;&amp;nbsp; There was limitation by the hardware (3270 terminal tube-types) not able to enter those letters. It became possible with pc-terminal emulators.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;&amp;nbsp; Without any input validation they come through causing printing and connection interfaces issues. That is how you notice them.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;&amp;nbsp; Finding one single person using that and sometimes entering it into the system. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;An other event was an unplanned system down, always some time after 4 oclock. We found one man using a dedicated function as the solely person. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;There was in system error in the functionality freeing the wrong memory causing that complete system down. Nice, when he went home everybody could go.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;&lt;BR /&gt;Your argument thinking only 1 byte being change in over 90Mb. Happened to me often before. Even issues of failing 1 bit in several G-bytes happened. Remembering the failing multi-volume bit continuation in SAS V6. Let us accept it can happen as it is not unusual.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;What changed with the encoding between 9.1.3 and 9.3?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;- You did not mention your check on similar like the 437/850 differences.&amp;nbsp; (option one)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;- with 9.1.3 the encoding of the OS (windows/Unix/mainframe is used) with 9.3 the encoding of the JVM is used&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;- latin1 Unix is different to other latin1 ones (same name other content).&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;What details do you have aside that only byte?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;&lt;/SPAN&gt;&lt;SPAN class="hps"&gt;&lt;A href="http://en.wikipedia.org/wiki/ISO/IEC_8859-1" title="http://en.wikipedia.org/wiki/ISO/IEC_8859-1"&gt;ISO/IEC 8859-1 - Wikipedia, the free encyclopedia&lt;/A&gt; is showing the not being defined of the lower 32 bytes up and low and the freedom of 7f.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;The e5 character here is the &lt;SPAN style="font-family: monospace; font-size: large;"&gt;&lt;A href="http://en.wikipedia.org/wiki/%C3%85" title="Å"&gt;å&lt;/A&gt;&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;The windows 1252 latin1 codepage is having more characters. &lt;A href="http://msdn.microsoft.com/en-us/goglobal/cc305145" title="http://msdn.microsoft.com/en-us/goglobal/cc305145"&gt;Windows 1252&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt; &lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Nov 2014 19:23:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Encoding-Issue/m-p/172535#M44484</guid>
      <dc:creator>jakarman</dc:creator>
      <dc:date>2014-11-18T19:23:05Z</dc:date>
    </item>
  </channel>
</rss>

