<?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 in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Merge/m-p/36894#M7272</link>
    <description>you can use dataset merge. keep column1 and column18 from datasetB in merge step.&lt;BR /&gt;
&lt;BR /&gt;
GL.</description>
    <pubDate>Fri, 18 Jun 2010 13:18:37 GMT</pubDate>
    <dc:creator>deleted_user</dc:creator>
    <dc:date>2010-06-18T13:18:37Z</dc:date>
    <item>
      <title>Merge</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Merge/m-p/36892#M7270</link>
      <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
I have two datasets namely A and B.&lt;BR /&gt;
A has 400 columns in which only column number 18 is not filled(Blank).&lt;BR /&gt;
B has 400 columns in which only column number 18 and Key (column 1) is filled and remaining all are missing(numeric) or blank(Char) based on the data type.&lt;BR /&gt;
&lt;BR /&gt;
Now I want new dataset as follow:&lt;BR /&gt;
&lt;BR /&gt;
If match on key between A and B: I want all columns of A with columns number 18 having value of dataset B.&lt;BR /&gt;
&lt;BR /&gt;
If exist in B and not A  then I want all records in B.(Meaning columns1 and columns 18 filled and remaining missing or blank).&lt;BR /&gt;
&lt;BR /&gt;
Please let me know how can I do this. Thanks.</description>
      <pubDate>Thu, 17 Jun 2010 14:18:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Merge/m-p/36892#M7270</guid>
      <dc:creator>SASACC</dc:creator>
      <dc:date>2010-06-17T14:18:50Z</dc:date>
    </item>
    <item>
      <title>Re: Merge</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Merge/m-p/36893#M7271</link>
      <description>You want to use &lt;BR /&gt;
&lt;BR /&gt;
[pre] UPDATE A B; BY ID; [/pre]</description>
      <pubDate>Thu, 17 Jun 2010 14:43:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Merge/m-p/36893#M7271</guid>
      <dc:creator>data_null__</dc:creator>
      <dc:date>2010-06-17T14:43:18Z</dc:date>
    </item>
    <item>
      <title>Re: Merge</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Merge/m-p/36894#M7272</link>
      <description>you can use dataset merge. keep column1 and column18 from datasetB in merge step.&lt;BR /&gt;
&lt;BR /&gt;
GL.</description>
      <pubDate>Fri, 18 Jun 2010 13:18:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Merge/m-p/36894#M7272</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2010-06-18T13:18:37Z</dc:date>
    </item>
  </channel>
</rss>

