<?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: combining tables in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/combining-tables/m-p/70638#M20337</link>
    <description>all 3 tables have the same file numbers as a column.  The country of birth is different on the mothers/fathers table for some file numbers as they have been updated.  I need to use these updated records to update the other table but still keep the countries for the records that have not been updated.</description>
    <pubDate>Fri, 27 May 2011 17:22:00 GMT</pubDate>
    <dc:creator>tjonas</dc:creator>
    <dc:date>2011-05-27T17:22:00Z</dc:date>
    <item>
      <title>combining tables</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/combining-tables/m-p/70636#M20335</link>
      <description>I tried to merge three tables using the code below but in the new table the values are missing. &lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
data        momdadbirth (drop=partype year);&lt;BR /&gt;
	merge street (in=b)&lt;BR /&gt;
                          father&lt;BR /&gt;
	          mother;&lt;BR /&gt;
		 &lt;BR /&gt;
	by SFN;&lt;BR /&gt;
	if b;&lt;BR /&gt;
run;</description>
      <pubDate>Fri, 27 May 2011 15:57:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/combining-tables/m-p/70636#M20335</guid>
      <dc:creator>tjonas</dc:creator>
      <dc:date>2011-05-27T15:57:24Z</dc:date>
    </item>
    <item>
      <title>Re: combining tables</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/combining-tables/m-p/70637#M20336</link>
      <description>Please, give samples of these datasets: father, mother, street.&lt;BR /&gt;
SPR</description>
      <pubDate>Fri, 27 May 2011 16:24:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/combining-tables/m-p/70637#M20336</guid>
      <dc:creator>SPR</dc:creator>
      <dc:date>2011-05-27T16:24:12Z</dc:date>
    </item>
    <item>
      <title>Re: combining tables</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/combining-tables/m-p/70638#M20337</link>
      <description>all 3 tables have the same file numbers as a column.  The country of birth is different on the mothers/fathers table for some file numbers as they have been updated.  I need to use these updated records to update the other table but still keep the countries for the records that have not been updated.</description>
      <pubDate>Fri, 27 May 2011 17:22:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/combining-tables/m-p/70638#M20337</guid>
      <dc:creator>tjonas</dc:creator>
      <dc:date>2011-05-27T17:22:00Z</dc:date>
    </item>
    <item>
      <title>Re: combining tables</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/combining-tables/m-p/70639#M20338</link>
      <description>all 3 tables have the same file numbers as a column.  The country of birth is different on the mothers/fathers table for some file numbers as they have been updated.  I need to use these updated records to update the other table but still keep the countries for the records that have not been updated.</description>
      <pubDate>Fri, 27 May 2011 17:36:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/combining-tables/m-p/70639#M20338</guid>
      <dc:creator>tjonas</dc:creator>
      <dc:date>2011-05-27T17:36:53Z</dc:date>
    </item>
    <item>
      <title>Re: combining tables</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/combining-tables/m-p/70640#M20339</link>
      <description>I guess that field CFN contains "file numbers" and is common to all three tables. However, it is necessary to know other lields that contribute to this merge. So, I need samples of your data as well as output that you would like to get.&lt;BR /&gt;
&lt;BR /&gt;
 If it is sensitive information you could replace it with some fake data like &lt;BR /&gt;
CFN Name Surname State &lt;BR /&gt;
100 John Smith   Arizona etc. &lt;BR /&gt;
&lt;BR /&gt;
SPR

Message was edited by: SPR</description>
      <pubDate>Fri, 27 May 2011 18:03:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/combining-tables/m-p/70640#M20339</guid>
      <dc:creator>SPR</dc:creator>
      <dc:date>2011-05-27T18:03:03Z</dc:date>
    </item>
    <item>
      <title>Re: combining tables</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/combining-tables/m-p/70641#M20340</link>
      <description>For variables with the same name, as may be the case with country of birth, the values from the first dataset with that variable are all you'll see. You'll need to use the RENAME= to get all of the variables if that is what is happening with your data.</description>
      <pubDate>Fri, 27 May 2011 18:09:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/combining-tables/m-p/70641#M20340</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2011-05-27T18:09:23Z</dc:date>
    </item>
  </channel>
</rss>

