<?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: lenght problem in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/lenght-problem/m-p/844917#M36747</link>
    <description>&lt;P&gt;In almost all cases, such problems arise from a faulty process which brings the data into SAS. You need to fix that so your datasets have a consistent structure.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;no Excel files&lt;/LI&gt;
&lt;LI&gt;no PROC IMPORT&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 17 Nov 2022 16:44:07 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2022-11-17T16:44:07Z</dc:date>
    <item>
      <title>lenght problem</title>
      <link>https://communities.sas.com/t5/New-SAS-User/lenght-problem/m-p/844907#M36745</link>
      <description>&lt;PRE&gt;&lt;CODE class=""&gt;1167
1168  data all_res_smd;
1169  set res_smd_:;
1170  run;

WARNING: Multiple lengths were specified for the variable Segmento by input data set(s). This
         can cause truncation of data.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;please, help me to fix this warning&lt;/P&gt;</description>
      <pubDate>Thu, 17 Nov 2022 16:03:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/lenght-problem/m-p/844907#M36745</guid>
      <dc:creator>ari2495</dc:creator>
      <dc:date>2022-11-17T16:03:48Z</dc:date>
    </item>
    <item>
      <title>Re: lenght problem</title>
      <link>https://communities.sas.com/t5/New-SAS-User/lenght-problem/m-p/844916#M36746</link>
      <description>&lt;P&gt;First a note about creating sets you intend to combine: make sure properties like length and variable type are consistent when the data sets are created.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can avoid the message and possibility of truncation but providing a Length statements for such variables before the SET statement: Below assumes that the variable Segmento is character and that the longest length defined for any of the datasets is less than or equal to 100. Use your preferred value if 100 is too long.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=""&gt;data all_res_smd;&lt;BR /&gt;   length Segmento $ 100.;
   set res_smd_:;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;A side affect of this is that Segmento will appear as the first column in the data set as it is the first variable used in the data step.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Nov 2022 16:42:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/lenght-problem/m-p/844916#M36746</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2022-11-17T16:42:07Z</dc:date>
    </item>
    <item>
      <title>Re: lenght problem</title>
      <link>https://communities.sas.com/t5/New-SAS-User/lenght-problem/m-p/844917#M36747</link>
      <description>&lt;P&gt;In almost all cases, such problems arise from a faulty process which brings the data into SAS. You need to fix that so your datasets have a consistent structure.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;no Excel files&lt;/LI&gt;
&lt;LI&gt;no PROC IMPORT&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Nov 2022 16:44:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/lenght-problem/m-p/844917#M36747</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2022-11-17T16:44:07Z</dc:date>
    </item>
  </channel>
</rss>

