<?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 Best method to merge on values with datasets that only have one variable in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Best-method-to-merge-on-values-with-datasets-that-only-have-one/m-p/750725#M236183</link>
    <description>&lt;P&gt;Please can someone help to provide some code that would enable me to create a new dataset, 'Test_3', which combines all of the values from my 'Test_1' datatset and my 'Test_2' dataset? The 'Test_1' and 'Test_2' datasets both only have one variable, 'Colour', so it is not possible to merge on something like account ID.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Justin9_0-1624830703286.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/60791i99D3DCB5B0FA0CB8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Justin9_0-1624830703286.png" alt="Justin9_0-1624830703286.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 27 Jun 2021 21:55:55 GMT</pubDate>
    <dc:creator>Justin9</dc:creator>
    <dc:date>2021-06-27T21:55:55Z</dc:date>
    <item>
      <title>Best method to merge on values with datasets that only have one variable</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Best-method-to-merge-on-values-with-datasets-that-only-have-one/m-p/750725#M236183</link>
      <description>&lt;P&gt;Please can someone help to provide some code that would enable me to create a new dataset, 'Test_3', which combines all of the values from my 'Test_1' datatset and my 'Test_2' dataset? The 'Test_1' and 'Test_2' datasets both only have one variable, 'Colour', so it is not possible to merge on something like account ID.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Justin9_0-1624830703286.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/60791i99D3DCB5B0FA0CB8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Justin9_0-1624830703286.png" alt="Justin9_0-1624830703286.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 27 Jun 2021 21:55:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Best-method-to-merge-on-values-with-datasets-that-only-have-one/m-p/750725#M236183</guid>
      <dc:creator>Justin9</dc:creator>
      <dc:date>2021-06-27T21:55:55Z</dc:date>
    </item>
    <item>
      <title>Re: Best method to merge on values with datasets that only have one variable</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Best-method-to-merge-on-values-with-datasets-that-only-have-one/m-p/750726#M236184</link>
      <description>&lt;P&gt;This is not a MERGE but a SET&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data want;
     set test_1 test_2;
run;
proc sort data=want;
    by colour;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 27 Jun 2021 22:01:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Best-method-to-merge-on-values-with-datasets-that-only-have-one/m-p/750726#M236184</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2021-06-27T22:01:16Z</dc:date>
    </item>
  </channel>
</rss>

