<?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: Merge data with a variable of different length in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Merge-data-with-a-variable-of-different-length/m-p/99689#M27990</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your help.&amp;nbsp; It works &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 08 Jun 2013 05:31:31 GMT</pubDate>
    <dc:creator>caveman529</dc:creator>
    <dc:date>2013-06-08T05:31:31Z</dc:date>
    <item>
      <title>Merge data with a variable of different length</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Merge-data-with-a-variable-of-different-length/m-p/99686#M27987</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, everyone:&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope to merge 10 datasets into one by using the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data want;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; set x1 - x10;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But SAS reports that "Multiple lengths were specified for the variable case_no by input&amp;nbsp; &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;data set(s). This may cause truncation of data."&amp;nbsp; Could you please tell me how to specify the length in for want dataset so that when I combine small datasets x1 - x10, there is no truncation?&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Thank you!&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jun 2013 17:37:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Merge-data-with-a-variable-of-different-length/m-p/99686#M27987</guid>
      <dc:creator>caveman529</dc:creator>
      <dc:date>2013-06-07T17:37:38Z</dc:date>
    </item>
    <item>
      <title>Re: Merge data with a variable of different length</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Merge-data-with-a-variable-of-different-length/m-p/99687#M27988</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First figure out how long case_no is when it's "longest". Then insert a length or an attrib statement prior to the set.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jun 2013 17:58:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Merge-data-with-a-variable-of-different-length/m-p/99687#M27988</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2013-06-07T17:58:32Z</dc:date>
    </item>
    <item>
      <title>Re: Merge data with a variable of different length</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Merge-data-with-a-variable-of-different-length/m-p/99688#M27989</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Simply state a length for case_no that is as large as the largest one :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;data want;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;length case_no $30;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;set x1-x10;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;run;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PG&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jun 2013 18:05:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Merge-data-with-a-variable-of-different-length/m-p/99688#M27989</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2013-06-07T18:05:57Z</dc:date>
    </item>
    <item>
      <title>Re: Merge data with a variable of different length</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Merge-data-with-a-variable-of-different-length/m-p/99689#M27990</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your help.&amp;nbsp; It works &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 08 Jun 2013 05:31:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Merge-data-with-a-variable-of-different-length/m-p/99689#M27990</guid>
      <dc:creator>caveman529</dc:creator>
      <dc:date>2013-06-08T05:31:31Z</dc:date>
    </item>
  </channel>
</rss>

