<?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 Merge data sets and Rename in SAS Studio</title>
    <link>https://communities.sas.com/t5/SAS-Studio/Merge-data-sets-and-Rename/m-p/352357#M2339</link>
    <description>&lt;P&gt;Hey there!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So I'm trying to figure out how to merge three data sets by a variable "Order_ID"&amp;nbsp;into one with the name "delivery_dtl"&lt;/P&gt;&lt;P&gt;these are the three data sets:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;data quick&lt;BR /&gt;slow&lt;BR /&gt;veryslow;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;set orders;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for any help &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 22 Apr 2017 00:04:16 GMT</pubDate>
    <dc:creator>sammydouglas</dc:creator>
    <dc:date>2017-04-22T00:04:16Z</dc:date>
    <item>
      <title>Merge data sets and Rename</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Merge-data-sets-and-Rename/m-p/352357#M2339</link>
      <description>&lt;P&gt;Hey there!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So I'm trying to figure out how to merge three data sets by a variable "Order_ID"&amp;nbsp;into one with the name "delivery_dtl"&lt;/P&gt;&lt;P&gt;these are the three data sets:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;data quick&lt;BR /&gt;slow&lt;BR /&gt;veryslow;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;set orders;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for any help &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 22 Apr 2017 00:04:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Merge-data-sets-and-Rename/m-p/352357#M2339</guid>
      <dc:creator>sammydouglas</dc:creator>
      <dc:date>2017-04-22T00:04:16Z</dc:date>
    </item>
    <item>
      <title>Re: Merge data sets and Rename</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Merge-data-sets-and-Rename/m-p/352358#M2340</link>
      <description>&lt;P&gt;oh i think i got it&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;is it&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data delivery_dtl;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;merge quick&lt;/P&gt;&lt;P&gt;slow&lt;/P&gt;&lt;P&gt;veryslow;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;by Order_ID;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;run;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 22 Apr 2017 00:06:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Merge-data-sets-and-Rename/m-p/352358#M2340</guid>
      <dc:creator>sammydouglas</dc:creator>
      <dc:date>2017-04-22T00:06:06Z</dc:date>
    </item>
    <item>
      <title>Re: Merge data sets and Rename</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Merge-data-sets-and-Rename/m-p/352360#M2341</link>
      <description>&lt;P&gt;great&amp;nbsp;that worked.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now how to do this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Create a new variable delivery_speed in the data step; based on which data set the row / data is coming from.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Create a new variable report_month that will show the month and year part of the ‘delivery_date’ alone&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I dont even understand the first task..&lt;/P&gt;</description>
      <pubDate>Sat, 22 Apr 2017 00:12:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Merge-data-sets-and-Rename/m-p/352360#M2341</guid>
      <dc:creator>sammydouglas</dc:creator>
      <dc:date>2017-04-22T00:12:15Z</dc:date>
    </item>
    <item>
      <title>Re: Merge data sets and Rename</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Merge-data-sets-and-Rename/m-p/352361#M2342</link>
      <description>using the data above..&lt;BR /&gt;&lt;BR /&gt;data delivery_dtl;&lt;BR /&gt;format delivery_date mmddyy10. ;&lt;BR /&gt;set delivery_dtl;&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sat, 22 Apr 2017 01:13:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Merge-data-sets-and-Rename/m-p/352361#M2342</guid>
      <dc:creator>Oliee</dc:creator>
      <dc:date>2017-04-22T01:13:38Z</dc:date>
    </item>
    <item>
      <title>Re: Merge data sets and Rename</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Merge-data-sets-and-Rename/m-p/352367#M2343</link>
      <description>&lt;P&gt;Question 1 - &amp;gt; is the observation in the merged data set from slow, quick or fast dataset?&lt;/P&gt;
&lt;P&gt;Are you sure the question said merge? &amp;nbsp;Not combine? At any rate, if they all have the same variables this doesn't quite make sense because all the variables will be overwritten. Either use the data set option IN or INDSNAME. The documentation has examples of each option.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here's the link to the IN docs&lt;/P&gt;
&lt;P&gt;&lt;A href="https://support.sas.com/documentation/cdl/en/ledsoptsref/69751/HTML/default/viewer.htm#n1p1o2dsuc465nn198ovwdrj9mvy.htm" target="_blank"&gt;https://support.sas.com/documentation/cdl/en/ledsoptsref/69751/HTML/default/viewer.htm#n1p1o2dsuc465nn198ovwdrj9mvy.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Question 2 - &amp;gt; Look at Year/Month() functions, see the functions under Date&amp;amp;Time Category.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/lefunctionsref/69762/HTML/default/viewer.htm#p0w6napahk6x0an0z2dzozh2ouzm.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/lefunctionsref/69762/HTML/default/viewer.htm#p0w6napahk6x0an0z2dzozh2ouzm.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 22 Apr 2017 02:07:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Merge-data-sets-and-Rename/m-p/352367#M2343</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-04-22T02:07:18Z</dc:date>
    </item>
  </channel>
</rss>

