<?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: Matching Obs in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Matching-Obs/m-p/348716#M80775</link>
    <description>&lt;P&gt;LinusH, thanks for your reply, the data comes pairs, sometimes in a pair of 2's sometimes in a pair of 4's. &amp;nbsp;For example in the first 4 rows, the initial dispute came in on the 2nd of Nov which was responded on the 9th of Nov. &amp;nbsp;The the dispute came back again with the same Memo number on the 10th and was responded on the 14th.&lt;/P&gt;</description>
    <pubDate>Mon, 10 Apr 2017 14:28:49 GMT</pubDate>
    <dc:creator>Viresh</dc:creator>
    <dc:date>2017-04-10T14:28:49Z</dc:date>
    <item>
      <title>Matching Obs</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Matching-Obs/m-p/348713#M80773</link>
      <description>&lt;P&gt;In the below table I am trying to match "Open" date with "Responded" Date. &amp;nbsp;For ex. Open=02Nov2016, I am trying to move Responded=09Nov2016 in the first line, so I can have what date a adispute was opened and what date it was CompDate(Completed) on the same row.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried all types of merges and updates.&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Memo_Nbr&lt;/TD&gt;&lt;TD&gt;Sec_ID&lt;/TD&gt;&lt;TD&gt;Memo_Issue_Dt&lt;/TD&gt;&lt;TD&gt;AGCY_Nbr&lt;/TD&gt;&lt;TD&gt;CTRY&lt;/TD&gt;&lt;TD&gt;Memo_Amt_USD&lt;/TD&gt;&lt;TD&gt;RMRKS&lt;/TD&gt;&lt;TD&gt;CRSP_Mthd&lt;/TD&gt;&lt;TD&gt;CRSP_Topic&lt;/TD&gt;&lt;TD&gt;Due_Dt&lt;/TD&gt;&lt;TD&gt;Lst_Updt_GTs&lt;/TD&gt;&lt;TD&gt;Emp_Nbr_Lst_Updt&lt;/TD&gt;&lt;TD&gt;Status&lt;/TD&gt;&lt;TD&gt;LogDate&lt;/TD&gt;&lt;TD&gt;LogTime&lt;/TD&gt;&lt;TD&gt;CompDate&lt;/TD&gt;&lt;TD&gt;CompTime&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;0060060062777&lt;/TD&gt;&lt;TD&gt;VOIA&lt;/TD&gt;&lt;TD&gt;25Jul2016&lt;/TD&gt;&lt;TD&gt;12345678&lt;/TD&gt;&lt;TD&gt;AU&lt;/TD&gt;&lt;TD&gt;100.00&lt;/TD&gt;&lt;TD&gt;my remarks&lt;/TD&gt;&lt;TD&gt;AGY EMAIL&lt;/TD&gt;&lt;TD&gt;Name&lt;/TD&gt;&lt;TD&gt;11Nov2016&lt;/TD&gt;&lt;TD&gt;02Nov2016 13:58:59&lt;/TD&gt;&lt;TD&gt;123456700&lt;/TD&gt;&lt;TD&gt;OPEN&lt;/TD&gt;&lt;TD&gt;02Nov2016&lt;/TD&gt;&lt;TD&gt;13:58:59&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;0060060062777&lt;/TD&gt;&lt;TD&gt;VOIA&lt;/TD&gt;&lt;TD&gt;25Jul2016&lt;/TD&gt;&lt;TD&gt;12345678&lt;/TD&gt;&lt;TD&gt;AU&lt;/TD&gt;&lt;TD&gt;100.00&lt;/TD&gt;&lt;TD&gt;my remarks12&lt;/TD&gt;&lt;TD&gt;DISPUTE RESP&lt;/TD&gt;&lt;TD&gt;MEMO VALID&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;09Nov2016 15:19:36&lt;/TD&gt;&lt;TD&gt;123456700&lt;/TD&gt;&lt;TD&gt;Responded&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;09Nov2016&lt;/TD&gt;&lt;TD&gt;15:19:36&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;0060060062777&lt;/TD&gt;&lt;TD&gt;VOIA&lt;/TD&gt;&lt;TD&gt;25Jul2016&lt;/TD&gt;&lt;TD&gt;12345678&lt;/TD&gt;&lt;TD&gt;AU&lt;/TD&gt;&lt;TD&gt;100.00&lt;/TD&gt;&lt;TD&gt;my remarks123&lt;/TD&gt;&lt;TD&gt;AGY EMAIL&lt;/TD&gt;&lt;TD&gt;Name&lt;/TD&gt;&lt;TD&gt;21Nov2016&lt;/TD&gt;&lt;TD&gt;10Nov2016 16:06:08&lt;/TD&gt;&lt;TD&gt;123456700&lt;/TD&gt;&lt;TD&gt;OPEN&lt;/TD&gt;&lt;TD&gt;10Nov2016&lt;/TD&gt;&lt;TD&gt;16:06:08&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;0060060062777&lt;/TD&gt;&lt;TD&gt;VOIA&lt;/TD&gt;&lt;TD&gt;25Jul2016&lt;/TD&gt;&lt;TD&gt;12345678&lt;/TD&gt;&lt;TD&gt;AU&lt;/TD&gt;&lt;TD&gt;100.00&lt;/TD&gt;&lt;TD&gt;my remarks1234&lt;/TD&gt;&lt;TD&gt;DISPUTE RESP&lt;/TD&gt;&lt;TD&gt;MEMO VALID&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;14Nov2016 21:02:17&lt;/TD&gt;&lt;TD&gt;124536700&lt;/TD&gt;&lt;TD&gt;Responded&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;14Nov2016&lt;/TD&gt;&lt;TD&gt;21:02:17&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Apr 2017 14:17:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Matching-Obs/m-p/348713#M80773</guid>
      <dc:creator>Viresh</dc:creator>
      <dc:date>2017-04-10T14:17:53Z</dc:date>
    </item>
    <item>
      <title>Re: Matching Obs</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Matching-Obs/m-p/348715#M80774</link>
      <description>&lt;P&gt;Can you be certain that the data&amp;nbsp;always come sin pair LogDate/CompDate (and with no&amp;nbsp;LogDate between)?&lt;/P&gt;
&lt;P&gt;If so, the easiest to move the LogDate to the CompDate row, given the existing sort order.&lt;/P&gt;
&lt;P&gt;Use a data step with RETAIN on variables that help you identify id and values from the previous row you wish to cascade.&lt;/P&gt;
&lt;P&gt;If you wish to move "up" a value, resort the data first in descending order.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The ideal situation would be that the Log event had an id that was present on the Comp event, but I assume that isn't&amp;nbsp;available from the source...&lt;/P&gt;</description>
      <pubDate>Mon, 10 Apr 2017 14:25:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Matching-Obs/m-p/348715#M80774</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2017-04-10T14:25:30Z</dc:date>
    </item>
    <item>
      <title>Re: Matching Obs</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Matching-Obs/m-p/348716#M80775</link>
      <description>&lt;P&gt;LinusH, thanks for your reply, the data comes pairs, sometimes in a pair of 2's sometimes in a pair of 4's. &amp;nbsp;For example in the first 4 rows, the initial dispute came in on the 2nd of Nov which was responded on the 9th of Nov. &amp;nbsp;The the dispute came back again with the same Memo number on the 10th and was responded on the 14th.&lt;/P&gt;</description>
      <pubDate>Mon, 10 Apr 2017 14:28:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Matching-Obs/m-p/348716#M80775</guid>
      <dc:creator>Viresh</dc:creator>
      <dc:date>2017-04-10T14:28:49Z</dc:date>
    </item>
  </channel>
</rss>

