<?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 Error Code in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Error-Code/m-p/730776#M227599</link>
    <description>&lt;DIV&gt;&lt;P&gt;&lt;SPAN&gt;I've never seen this error code and note when I am trying to sort to merge datasets or creating new datasets, not sure what it means. I have tried multiple ways of importing the dataset (csv, xlsx, and&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;P&gt;sas7bdat).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;P&gt;&lt;SPAN&gt;ERROR: Some character data was lost during transcoding in the dataset FETALSEX.SUPER. Either the data contains characters that are not representable in the new encoding or truncation occurred during transcoding.&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;P&gt;&lt;SPAN&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;P&gt;&lt;SPAN&gt;NOTE: There were 4829 observations read from the data set FETALSEX.SUPER.&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;P&gt;&lt;SPAN&gt;WARNING: The data set FETALSEX.SUPER may be incomplete. &amp;nbsp;When this step was stopped there were 0 observations and 27 variables.&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;P&gt;&lt;SPAN&gt;WARNING: Data set FETALSEX.SUPER was not replaced because this step was stopped.&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Thu, 01 Apr 2021 16:36:02 GMT</pubDate>
    <dc:creator>crc7rb1031</dc:creator>
    <dc:date>2021-04-01T16:36:02Z</dc:date>
    <item>
      <title>Error Code</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-Code/m-p/730776#M227599</link>
      <description>&lt;DIV&gt;&lt;P&gt;&lt;SPAN&gt;I've never seen this error code and note when I am trying to sort to merge datasets or creating new datasets, not sure what it means. I have tried multiple ways of importing the dataset (csv, xlsx, and&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;P&gt;sas7bdat).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;P&gt;&lt;SPAN&gt;ERROR: Some character data was lost during transcoding in the dataset FETALSEX.SUPER. Either the data contains characters that are not representable in the new encoding or truncation occurred during transcoding.&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;P&gt;&lt;SPAN&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;P&gt;&lt;SPAN&gt;NOTE: There were 4829 observations read from the data set FETALSEX.SUPER.&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;P&gt;&lt;SPAN&gt;WARNING: The data set FETALSEX.SUPER may be incomplete. &amp;nbsp;When this step was stopped there were 0 observations and 27 variables.&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;P&gt;&lt;SPAN&gt;WARNING: Data set FETALSEX.SUPER was not replaced because this step was stopped.&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 01 Apr 2021 16:36:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-Code/m-p/730776#M227599</guid>
      <dc:creator>crc7rb1031</dc:creator>
      <dc:date>2021-04-01T16:36:02Z</dc:date>
    </item>
    <item>
      <title>Re: Error Code</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-Code/m-p/730809#M227616</link>
      <description>&lt;P&gt;Pay attention to the message:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;"&lt;SPAN&gt;&lt;STRONG&gt;Either the data contains characters that are not representable in the new encoding or truncation occurred during transcoding.&lt;/STRONG&gt;"&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;Run next code and check your encoding option printed in the log:&lt;/SPAN&gt;&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;&lt;SPAN&gt;it seems that the imported data contains characters that are presented by 2 bytes or more&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;and the encoding option in your sas does not support it.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;add to FILENAME statement (or INFILE statement) the option&amp;nbsp;&lt;STRONG&gt;encoding=UTF8;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;If you have more questions about please post your importing data code and your sas system encoding.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Apr 2021 18:49:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-Code/m-p/730809#M227616</guid>
      <dc:creator>Shmuel</dc:creator>
      <dc:date>2021-04-01T18:49:19Z</dc:date>
    </item>
  </channel>
</rss>

