<?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: transcoding in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/transcoding/m-p/984918#M379769</link>
    <description>That issue is due to the encoding of "DAT.UPDATED_DIRECTORY" is different with SAS encoding.&lt;BR /&gt;Make SAS encoding be same with your dataset.&lt;BR /&gt;&lt;BR /&gt;You could use the following code to check your dataset encoding:&lt;BR /&gt;proc contents data=DAT.UPDATED_DIRECTORY;&lt;BR /&gt;run;&lt;BR /&gt;</description>
    <pubDate>Wed, 18 Mar 2026 06:31:05 GMT</pubDate>
    <dc:creator>Ksharp</dc:creator>
    <dc:date>2026-03-18T06:31:05Z</dc:date>
    <item>
      <title>transcoding</title>
      <link>https://communities.sas.com/t5/SAS-Programming/transcoding/m-p/984909#M379766</link>
      <description>&lt;P&gt;I'm getting this error in SAS EG&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;27 proc sql;&lt;BR /&gt;28 create table Only_P as&lt;BR /&gt;29 select *&lt;BR /&gt;30 from DAT.UPDATED_DIRECTORY (obs=&amp;amp;obs)&lt;BR /&gt;31 where RecType='P';&lt;BR /&gt;NOTE: Data file DAT.UPDATED_DIRECTORY.DATA is in a format that is native to&lt;BR /&gt;another host, or the file encoding does not match the session encoding.&lt;BR /&gt;Cross Environment Data Access will be used, which might require&lt;BR /&gt;additional CPU resources and might reduce performance.&lt;BR /&gt;ERROR: Some character data was lost during transcoding in the dataset&lt;BR /&gt;DAT.UPDATED_DIRECTORY. Either the data contains characters that are not&lt;BR /&gt;representable in the new encoding or truncation occurred during&lt;BR /&gt;transcoding.&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;27 proc sql;&lt;BR /&gt;28 create table Only_P as&lt;BR /&gt;29 select *&lt;BR /&gt;30 from DAT.UPDATED_DIRECTORY (obs=&amp;amp;obs)&lt;BR /&gt;31 where RecType='P';&lt;BR /&gt;NOTE: Data file DAT.UPDATED_DIRECTORY.DATA is in a format that is native to&lt;BR /&gt;another host, or the file encoding does not match the session encoding.&lt;BR /&gt;Cross Environment Data Access will be used, which might require&lt;BR /&gt;additional CPU resources and might reduce performance.&lt;BR /&gt;ERROR: Some character data was lost during transcoding in the dataset&lt;BR /&gt;DAT.UPDATED_DIRECTORY. Either the data contains characters that are not&lt;BR /&gt;representable in the new encoding or truncation occurred during&lt;BR /&gt;transcoding.&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Mar 2026 19:47:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/transcoding/m-p/984909#M379766</guid>
      <dc:creator>Batman</dc:creator>
      <dc:date>2026-03-17T19:47:54Z</dc:date>
    </item>
    <item>
      <title>Re: transcoding</title>
      <link>https://communities.sas.com/t5/SAS-Programming/transcoding/m-p/984913#M379768</link>
      <description>&lt;P&gt;Did you try dataset option&amp;nbsp;&lt;SPAN class="xis-keyword"&gt;ENCODING&lt;/SPAN&gt;&lt;SPAN&gt;= ANY?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Mar 2026 21:09:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/transcoding/m-p/984913#M379768</guid>
      <dc:creator>A_Kh</dc:creator>
      <dc:date>2026-03-17T21:09:50Z</dc:date>
    </item>
    <item>
      <title>Re: transcoding</title>
      <link>https://communities.sas.com/t5/SAS-Programming/transcoding/m-p/984918#M379769</link>
      <description>That issue is due to the encoding of "DAT.UPDATED_DIRECTORY" is different with SAS encoding.&lt;BR /&gt;Make SAS encoding be same with your dataset.&lt;BR /&gt;&lt;BR /&gt;You could use the following code to check your dataset encoding:&lt;BR /&gt;proc contents data=DAT.UPDATED_DIRECTORY;&lt;BR /&gt;run;&lt;BR /&gt;</description>
      <pubDate>Wed, 18 Mar 2026 06:31:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/transcoding/m-p/984918#M379769</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2026-03-18T06:31:05Z</dc:date>
    </item>
  </channel>
</rss>

