<?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: Need some help with merge in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Need-some-help-with-merge/m-p/92231#M19461</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It would have helped to see the code which created the log.&lt;/P&gt;&lt;P&gt;Something like below might give you what you're looking for:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;data data3;&lt;BR /&gt;&amp;nbsp; merge data1 (in=d1) data2 (in=d2);&lt;BR /&gt;&amp;nbsp; by id;&lt;BR /&gt;&amp;nbsp; if d2;&lt;BR /&gt;&amp;nbsp; /* more statements */&lt;BR /&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 Jun 2012 15:32:24 GMT</pubDate>
    <dc:creator>Patrick</dc:creator>
    <dc:date>2012-06-26T15:32:24Z</dc:date>
    <item>
      <title>Need some help with merge</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Need-some-help-with-merge/m-p/92230#M19460</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I try to merge DATA1 (Main table) with an extern table (DATA2) by an ID to delete some irrelevant observations.&lt;/P&gt;&lt;P&gt;Normally in DATA3 there are all observations togehter. But i need only the observations of the extern table (DATA2). In this case I need n=439.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NOTE: There were 512 observations read from the data set DATA1.&lt;/P&gt;&lt;P&gt;NOTE: There were 439 observations read from the data set DATA2.&lt;/P&gt;&lt;P&gt;NOTE: The data set WORK.DATA3 has 515 observations and 12 variables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i hope that someone can help me please.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jun 2012 15:07:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Need-some-help-with-merge/m-p/92230#M19460</guid>
      <dc:creator>chofmeister</dc:creator>
      <dc:date>2012-06-26T15:07:15Z</dc:date>
    </item>
    <item>
      <title>Re: Need some help with merge</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Need-some-help-with-merge/m-p/92231#M19461</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It would have helped to see the code which created the log.&lt;/P&gt;&lt;P&gt;Something like below might give you what you're looking for:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;data data3;&lt;BR /&gt;&amp;nbsp; merge data1 (in=d1) data2 (in=d2);&lt;BR /&gt;&amp;nbsp; by id;&lt;BR /&gt;&amp;nbsp; if d2;&lt;BR /&gt;&amp;nbsp; /* more statements */&lt;BR /&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jun 2012 15:32:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Need-some-help-with-merge/m-p/92231#M19461</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2012-06-26T15:32:24Z</dc:date>
    </item>
    <item>
      <title>Re: Need some help with merge</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Need-some-help-with-merge/m-p/92232#M19462</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank you. Worked perfectly&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jun 2012 11:33:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Need-some-help-with-merge/m-p/92232#M19462</guid>
      <dc:creator>chofmeister</dc:creator>
      <dc:date>2012-06-27T11:33:25Z</dc:date>
    </item>
  </channel>
</rss>

