<?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: Addidtional characters added to certain fields after SAS VIYA code saved table in DB2 in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Addidtional-characters-added-to-certain-fields-after-SAS-VIYA/m-p/925367#M364177</link>
    <description>&lt;P&gt;Provide examples of the data before the SAS code was run.&lt;/P&gt;
&lt;P&gt;Provide the SAS code.&lt;/P&gt;
&lt;P&gt;Provide example actual results.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And since this involves looking at data after sent to DB2 if I follow, then perhaps some details of how you sent it to DB2.&lt;/P&gt;</description>
    <pubDate>Tue, 23 Apr 2024 13:23:53 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2024-04-23T13:23:53Z</dc:date>
    <item>
      <title>Addidtional characters added to certain fields after SAS VIYA code saved table in DB2</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Addidtional-characters-added-to-certain-fields-after-SAS-VIYA/m-p/925361#M364176</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SAS VIYA LTS 2023.03&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We are running a SAS code, processing some DB2 tables and also saving the results to DB2. After last night run, in two of the fields we found that additional characters&amp;nbsp; have been added at the end of the string. The additional characters fills in the entire length of the string. In SAS Studio the additional charter looks like: &lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="smm662002_0-1713876036253.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/95770iE7A8B9A4EB052EDE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="smm662002_0-1713876036253.png" alt="smm662002_0-1713876036253.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;which is repeated again and again creating something like: &lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="smm662002_1-1713876145120.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/95771i3F5CD177E3B37389/image-size/medium?v=v2&amp;amp;px=400" role="button" title="smm662002_1-1713876145120.png" alt="smm662002_1-1713876145120.png" /&gt;&lt;/span&gt;.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The same character copied to a text editor and using a different encoding looks like: ï¿½.&amp;nbsp; When I am scrolling in SAS Studio some the additional characters disappear but if I resize the table column&amp;nbsp; the additional characters reappears.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have done the following tests but no improvements:&lt;/P&gt;
&lt;P&gt;- used VIYA in a different browser&lt;/P&gt;
&lt;P&gt;- reassigned the libname in a different Compute context&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;After checking with DB2 DBA no encoding changes occurs in the source or target DB2 tables.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Finally, the same table loaded directly from&amp;nbsp; DB2 using a different tool shows no additional characters for&amp;nbsp; the same fields.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What do you think?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;smm662002&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Apr 2024 12:53:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Addidtional-characters-added-to-certain-fields-after-SAS-VIYA/m-p/925361#M364176</guid>
      <dc:creator>smm662002</dc:creator>
      <dc:date>2024-04-23T12:53:44Z</dc:date>
    </item>
    <item>
      <title>Re: Addidtional characters added to certain fields after SAS VIYA code saved table in DB2</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Addidtional-characters-added-to-certain-fields-after-SAS-VIYA/m-p/925367#M364177</link>
      <description>&lt;P&gt;Provide examples of the data before the SAS code was run.&lt;/P&gt;
&lt;P&gt;Provide the SAS code.&lt;/P&gt;
&lt;P&gt;Provide example actual results.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And since this involves looking at data after sent to DB2 if I follow, then perhaps some details of how you sent it to DB2.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Apr 2024 13:23:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Addidtional-characters-added-to-certain-fields-after-SAS-VIYA/m-p/925367#M364177</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2024-04-23T13:23:53Z</dc:date>
    </item>
    <item>
      <title>Re: Addidtional characters added to certain fields after SAS VIYA code saved table in DB2</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Addidtional-characters-added-to-certain-fields-after-SAS-VIYA/m-p/925492#M364210</link>
      <description>It seems that your sas encoding is not compatible with DB2 .&lt;BR /&gt;Change sas encoding in a file like 'sasenvlocal' .</description>
      <pubDate>Wed, 24 Apr 2024 05:34:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Addidtional-characters-added-to-certain-fields-after-SAS-VIYA/m-p/925492#M364210</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2024-04-24T05:34:43Z</dc:date>
    </item>
  </channel>
</rss>

