<?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 Complex merging - Base SAS 9.4 in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Complex-merging-Base-SAS-9-4/m-p/500425#M133278</link>
    <description>&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have two large datasets(a baseline file (approx 64,000 observations) and an&amp;nbsp;endpoint file (approx 33,000 observations)) of repeated observations that I would like to merge based on a few conditions:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. They should be of the same study id&lt;/P&gt;&lt;P&gt;2. They should have the same start year&lt;/P&gt;&lt;P&gt;3. The day when endpoint&amp;nbsp;occurred&amp;nbsp;must be the same as study start day or end&amp;nbsp;day or within that period (for a row)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am attaching an example of how these two files look like and how I would like them to look after merging.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Definitions&amp;nbsp;of the variables are:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Begin day= Number of days from start year&lt;/P&gt;&lt;P&gt;End day =&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;Number of days from start year&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 01 Oct 2018 15:00:02 GMT</pubDate>
    <dc:creator>jomag</dc:creator>
    <dc:date>2018-10-01T15:00:02Z</dc:date>
    <item>
      <title>Complex merging - Base SAS 9.4</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Complex-merging-Base-SAS-9-4/m-p/500425#M133278</link>
      <description>&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have two large datasets(a baseline file (approx 64,000 observations) and an&amp;nbsp;endpoint file (approx 33,000 observations)) of repeated observations that I would like to merge based on a few conditions:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. They should be of the same study id&lt;/P&gt;&lt;P&gt;2. They should have the same start year&lt;/P&gt;&lt;P&gt;3. The day when endpoint&amp;nbsp;occurred&amp;nbsp;must be the same as study start day or end&amp;nbsp;day or within that period (for a row)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am attaching an example of how these two files look like and how I would like them to look after merging.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Definitions&amp;nbsp;of the variables are:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Begin day= Number of days from start year&lt;/P&gt;&lt;P&gt;End day =&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;Number of days from start year&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Oct 2018 15:00:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Complex-merging-Base-SAS-9-4/m-p/500425#M133278</guid>
      <dc:creator>jomag</dc:creator>
      <dc:date>2018-10-01T15:00:02Z</dc:date>
    </item>
    <item>
      <title>Re: Complex merging - Base SAS 9.4</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Complex-merging-Base-SAS-9-4/m-p/500428#M133279</link>
      <description>1. Supply sample data in dorm of a data step w DATALINES.&lt;BR /&gt;2. Describe what you have tried so far.</description>
      <pubDate>Mon, 01 Oct 2018 15:05:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Complex-merging-Base-SAS-9-4/m-p/500428#M133279</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2018-10-01T15:05:33Z</dc:date>
    </item>
  </channel>
</rss>

