<?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: Format ERROR in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Format-ERROR/m-p/753757#M237615</link>
    <description>That is because the encoding of your sas is different than the dataset's encoding.&lt;BR /&gt;Therefore, try start a sas with 'utf-8' (unicode sas) from START menu .and see if the problem is solved.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://blogs.sas.com/content/sgf/2021/07/12/subchar-option-sas-access/" target="_blank"&gt;https://blogs.sas.com/content/sgf/2021/07/12/subchar-option-sas-access/&lt;/A&gt;</description>
    <pubDate>Tue, 13 Jul 2021 12:42:20 GMT</pubDate>
    <dc:creator>Ksharp</dc:creator>
    <dc:date>2021-07-13T12:42:20Z</dc:date>
    <item>
      <title>Format ERROR</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Format-ERROR/m-p/753658#M237573</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have downloaded a SAS dataset but as soon as I open it, I get this error:&lt;/P&gt;
&lt;P&gt;NOTE: Data file TMP1.CORE.DATA is in a format that is native to another host, or the file&lt;BR /&gt;encoding does not match the session encoding. Cross Environment Data Access will be used,&lt;BR /&gt;which might require additional CPU resources and might reduce performance.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If I try to do any further analyses, I get this error:&amp;nbsp;&lt;BR /&gt;ERROR: Some character data was lost during transcoding in the dataset TMP1.CORE. Either the data&lt;BR /&gt;contains characters that are not representable in the new encoding or truncation occurred&lt;BR /&gt;during transcoding.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please let me know how do I fix this.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!!&lt;/P&gt;</description>
      <pubDate>Tue, 13 Jul 2021 05:06:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Format-ERROR/m-p/753658#M237573</guid>
      <dc:creator>raajdesaii</dc:creator>
      <dc:date>2021-07-13T05:06:40Z</dc:date>
    </item>
    <item>
      <title>Re: Format ERROR</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Format-ERROR/m-p/753662#M237575</link>
      <description>&lt;P&gt;The note about "Cross Environment Data Access" warns you that the dataset&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;is in a format that is native to another host =&amp;gt; more time is necessary to process the data&lt;/LI&gt;
&lt;LI&gt;the file encoding does not match the session encoding =&amp;gt; problems could arise if chars are used that don't exist in the encoding of your session&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;So first step: Use proc contents to check the encoding used to create the dataset and compare that with the encoding your sas session using. If you can, try changing the encoding of you session.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Jul 2021 05:42:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Format-ERROR/m-p/753662#M237575</guid>
      <dc:creator>andreas_lds</dc:creator>
      <dc:date>2021-07-13T05:42:11Z</dc:date>
    </item>
    <item>
      <title>Re: Format ERROR</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Format-ERROR/m-p/753668#M237578</link>
      <description>&lt;P&gt;Please note that nothing you post in the body of your question says "Format error" or references a format. Since Formats are a very specific concept in SAS you want to use "format error" when an actual format is giving problems or you get an error or warning referencing a format name.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You have issue with data content.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Jul 2021 06:38:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Format-ERROR/m-p/753668#M237578</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2021-07-13T06:38:50Z</dc:date>
    </item>
    <item>
      <title>Re: Format ERROR</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Format-ERROR/m-p/753715#M237607</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I guess you've got unicode signs in your datasets.&lt;/P&gt;
&lt;P&gt;1.Start SAS with unicode support and&lt;/P&gt;
&lt;P&gt;2. Run this to identify the variables:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%let libname=TMP1;
DATA _NULL_;
   SET sashelp.vtable(keep=libname memname);
   WHERE libname eq "%upcase(&amp;amp;libname.)";
      call execute("DATA WORK."||strip(memname)||"; set &amp;amp;libname.."||strip(memname));
      call execute(compbl('ARRAY chars _CHARACTER_;
                           DO OVER chars;
                              if prxmatch("/[^\x20-\x7E]/",chars) then put "W" "ARNING:# special character detected in '||strip(memname)||' dataset " chars=;
                           END;')
                  );
   call execute('RUN;');
RUN;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 13 Jul 2021 08:52:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Format-ERROR/m-p/753715#M237607</guid>
      <dc:creator>Oligolas</dc:creator>
      <dc:date>2021-07-13T08:52:45Z</dc:date>
    </item>
    <item>
      <title>Re: Format ERROR</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Format-ERROR/m-p/753757#M237615</link>
      <description>That is because the encoding of your sas is different than the dataset's encoding.&lt;BR /&gt;Therefore, try start a sas with 'utf-8' (unicode sas) from START menu .and see if the problem is solved.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://blogs.sas.com/content/sgf/2021/07/12/subchar-option-sas-access/" target="_blank"&gt;https://blogs.sas.com/content/sgf/2021/07/12/subchar-option-sas-access/&lt;/A&gt;</description>
      <pubDate>Tue, 13 Jul 2021 12:42:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Format-ERROR/m-p/753757#M237615</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2021-07-13T12:42:20Z</dc:date>
    </item>
  </channel>
</rss>

