<?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: Merging SAS datasets in SAS Data Management</title>
    <link>https://communities.sas.com/t5/SAS-Data-Management/Merging-SAS-datasets/m-p/643761#M19174</link>
    <description>&lt;P&gt;A single column will only work if 1) the variable has the same name and 2) the same-named variable has the same type (numeric or character) in both data sets.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If the values have different lengths in the two sets you may get a warning about different lengths in the log and possible truncation of the data. Do not ignore that warning. Verify that the result is as needed.&lt;/P&gt;</description>
    <pubDate>Wed, 29 Apr 2020 04:50:55 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2020-04-29T04:50:55Z</dc:date>
    <item>
      <title>Merging SAS datasets</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Merging-SAS-datasets/m-p/643754#M19172</link>
      <description>&lt;P&gt;Hello Everyone&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have two SAS datasets&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;dataset 1.&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; dataset 2&lt;/P&gt;
&lt;P&gt;1.&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;4&lt;/P&gt;
&lt;P&gt;2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 5&lt;/P&gt;
&lt;P&gt;3&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 6&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I want to stack these on top of each other so that the final dataset looks as follows.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Final dataset&lt;/P&gt;
&lt;P&gt;1&lt;/P&gt;
&lt;P&gt;2&lt;/P&gt;
&lt;P&gt;3&lt;/P&gt;
&lt;P&gt;4&lt;/P&gt;
&lt;P&gt;5&lt;/P&gt;
&lt;P&gt;6&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I appreciate your help.&lt;/P&gt;</description>
      <pubDate>Wed, 29 Apr 2020 03:21:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Merging-SAS-datasets/m-p/643754#M19172</guid>
      <dc:creator>GreenTree1</dc:creator>
      <dc:date>2020-04-29T03:21:21Z</dc:date>
    </item>
    <item>
      <title>Re: Merging SAS datasets</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Merging-SAS-datasets/m-p/643755#M19173</link>
      <description>&lt;P&gt;Try&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data want;
set dataset1 dataset2;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 29 Apr 2020 03:44:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Merging-SAS-datasets/m-p/643755#M19173</guid>
      <dc:creator>sustagens</dc:creator>
      <dc:date>2020-04-29T03:44:00Z</dc:date>
    </item>
    <item>
      <title>Re: Merging SAS datasets</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Merging-SAS-datasets/m-p/643761#M19174</link>
      <description>&lt;P&gt;A single column will only work if 1) the variable has the same name and 2) the same-named variable has the same type (numeric or character) in both data sets.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If the values have different lengths in the two sets you may get a warning about different lengths in the log and possible truncation of the data. Do not ignore that warning. Verify that the result is as needed.&lt;/P&gt;</description>
      <pubDate>Wed, 29 Apr 2020 04:50:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Merging-SAS-datasets/m-p/643761#M19174</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2020-04-29T04:50:55Z</dc:date>
    </item>
    <item>
      <title>Re: Merging SAS datasets</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Merging-SAS-datasets/m-p/644409#M19178</link>
      <description>Perfect, It worked!! thanks sustagens</description>
      <pubDate>Thu, 30 Apr 2020 22:58:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Merging-SAS-datasets/m-p/644409#M19178</guid>
      <dc:creator>GreenTree1</dc:creator>
      <dc:date>2020-04-30T22:58:20Z</dc:date>
    </item>
    <item>
      <title>Re: Merging SAS datasets</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Merging-SAS-datasets/m-p/644410#M19179</link>
      <description>Thank you for pointing this Ballardw,  the datasets were identical in variables  and variable type so it worked out well</description>
      <pubDate>Thu, 30 Apr 2020 22:59:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Merging-SAS-datasets/m-p/644410#M19179</guid>
      <dc:creator>GreenTree1</dc:creator>
      <dc:date>2020-04-30T22:59:53Z</dc:date>
    </item>
  </channel>
</rss>

