<?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: Merging variables in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Merging-variables/m-p/235744#M43145</link>
    <description>&lt;P&gt;PATDOB = coalesce(PATDOB, PATDOB1);&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;coalesce returns the first argument that is not missing.&lt;/P&gt;</description>
    <pubDate>Fri, 20 Nov 2015 18:06:43 GMT</pubDate>
    <dc:creator>PGStats</dc:creator>
    <dc:date>2015-11-20T18:06:43Z</dc:date>
    <item>
      <title>Merging variables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Merging-variables/m-p/235740#M43143</link>
      <description>&lt;P&gt;Hi!&amp;nbsp; I merged two data sets by Patient ID, but realized two variables (PatDOB, PatDOB1) were named differently but both serve as birthddate.&amp;nbsp; So, now half values are under PATDOB1 and others under PATDOB.&amp;nbsp; They are both formatted same (mmddyy10.), so is there a way to&amp;nbsp;move all values in PATDOB1 to PATDOB and then delete the variable PATDOB1?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!!&lt;/P&gt;</description>
      <pubDate>Fri, 20 Nov 2015 17:54:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Merging-variables/m-p/235740#M43143</guid>
      <dc:creator>jenim514</dc:creator>
      <dc:date>2015-11-20T17:54:01Z</dc:date>
    </item>
    <item>
      <title>Re: Merging variables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Merging-variables/m-p/235743#M43144</link>
      <description>&lt;P&gt;If you don't have a risk of over-writing one date with another, then just use an assignment statement and drop the unwanted variable, the simplest I can think of....&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Nov 2015 18:03:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Merging-variables/m-p/235743#M43144</guid>
      <dc:creator>kannand</dc:creator>
      <dc:date>2015-11-20T18:03:24Z</dc:date>
    </item>
    <item>
      <title>Re: Merging variables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Merging-variables/m-p/235744#M43145</link>
      <description>&lt;P&gt;PATDOB = coalesce(PATDOB, PATDOB1);&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;coalesce returns the first argument that is not missing.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Nov 2015 18:06:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Merging-variables/m-p/235744#M43145</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2015-11-20T18:06:43Z</dc:date>
    </item>
    <item>
      <title>Re: Merging variables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Merging-variables/m-p/235745#M43146</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/462"&gt;@PGStats﻿&lt;/a&gt;&amp;nbsp;Thank you!&lt;/P&gt;</description>
      <pubDate>Fri, 20 Nov 2015 18:09:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Merging-variables/m-p/235745#M43146</guid>
      <dc:creator>jenim514</dc:creator>
      <dc:date>2015-11-20T18:09:49Z</dc:date>
    </item>
  </channel>
</rss>

