<?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: Internal Matching - More than one day data in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Internal-Matching-More-than-one-day-data/m-p/135840#M261052</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc import datafile="M:\samples.xls"&lt;/P&gt;&lt;P&gt;out=have&lt;/P&gt;&lt;P&gt;dbms=excel&lt;/P&gt;&lt;P&gt;replace;&lt;/P&gt;&lt;P&gt;getnames=yes;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc sort data=have ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; by name date;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; data have_;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; set have;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; output;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; by name date;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; retain working;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if first.date and status eq 'Working time' then &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; working=time;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if last.date and status eq 'Working time' then do;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; status='NON-Working time';&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; time=0;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; output;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; end;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data want;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; set have_;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; by name date;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if last.date and status='NON-Working time' then perct=time/working*100;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; drop working;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jagadish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 Nov 2013 01:56:33 GMT</pubDate>
    <dc:creator>Jagadishkatam</dc:creator>
    <dc:date>2013-11-11T01:56:33Z</dc:date>
    <item>
      <title>Internal Matching - More than one day data</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Internal-Matching-More-than-one-day-data/m-p/135836#M261048</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an employee working time details. It has last 3 days of data. &lt;/P&gt;&lt;P&gt;The fields are&amp;nbsp; emp_name, date, status.&lt;/P&gt;&lt;P&gt;The status field says about the employee working hours (paid hours), split up of status like meeting, leave, break and non-working hours (sum of all the split up) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All I need to extract the non-working time for each employee for each day.&lt;/P&gt;&lt;P&gt;If employee does not have any leave or meeting or break on the particular day, then his/her non-working time is zero.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Challenge I am facing is not all employee have 3 days of data. If there is an update in the back log then only it reflects in this file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;My approach &lt;/SPAN&gt;&lt;/P&gt;&lt;UL style="list-style-type: disc;"&gt;&lt;LI&gt;- Sort the data based on name, date.&lt;/LI&gt;&lt;LI&gt;- Split the datasets into three where status in (working time, non-working time).&lt;/LI&gt;&lt;LI&gt;- Process each file by validating the status and then concatenate into one.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I believe the above approach will work, but felt is not an ideal one, can we do it without the splitting the file or in alternative way.&amp;nbsp; &lt;/P&gt;&lt;P&gt;Please advise.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sample data below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 480px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="border: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="120"&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;NAME&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border: solid windowtext 1.0pt; border-left: none; padding: 0 5.4pt 0 5.4pt;" width="120"&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;DATE&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border: solid windowtext 1.0pt; border-left: none; padding: 0 5.4pt 0 5.4pt;" width="120"&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;STATUS&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border: solid windowtext 1.0pt; border-left: none; padding: 0 5.4pt 0 5.4pt;" width="120"&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;TIME&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="border: solid windowtext 1.0pt; border-top: none; padding: 0 5.4pt 0 5.4pt;" width="120"&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;Sam&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="120"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;4/11/2013&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="120"&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;Working time&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="120"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;480&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="border: solid windowtext 1.0pt; border-top: none; padding: 0 5.4pt 0 5.4pt;" width="120"&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;Vicky&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="120"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;4/11/2013&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="120"&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;Working time&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="120"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;480&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="border: solid windowtext 1.0pt; border-top: none; padding: 0 5.4pt 0 5.4pt;" width="120"&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;Jay&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="120"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;3/11/2013&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="120"&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;Working time&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="120"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;390&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="border: solid windowtext 1.0pt; border-top: none; padding: 0 5.4pt 0 5.4pt;" width="120"&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;Jay&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="120"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;4/11/2013&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="120"&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;Working time&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="120"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;330&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="border: solid windowtext 1.0pt; border-top: none; padding: 0 5.4pt 0 5.4pt;" width="120"&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;Francisco&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="120"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;2/11/2013&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="120"&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;Working time&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="120"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;480&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="border: solid windowtext 1.0pt; border-top: none; padding: 0 5.4pt 0 5.4pt;" width="120"&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;Francisco&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="120"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;4/11/2013&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="120"&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;Working time&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="120"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;480&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="border: solid windowtext 1.0pt; border-top: none; padding: 0 5.4pt 0 5.4pt;" width="120"&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;Peter&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="120"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;4/11/2013&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="120"&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;Working time&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="120"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;480&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="border: solid windowtext 1.0pt; border-top: none; padding: 0 5.4pt 0 5.4pt;" width="120"&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;Peter&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="120"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;4/11/2013&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="120"&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;IN MEETING&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="120"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;390&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="border: solid windowtext 1.0pt; border-top: none; padding: 0 5.4pt 0 5.4pt;" width="120"&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;Peter&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="120"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;4/11/2013&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="120"&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;NON-Working time&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="120"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;390&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="border: solid windowtext 1.0pt; border-top: none; padding: 0 5.4pt 0 5.4pt;" width="120"&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;Eamonn&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="120"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;4/11/2013&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="120"&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;Working time&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="120"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;480&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="border: solid windowtext 1.0pt; border-top: none; padding: 0 5.4pt 0 5.4pt;" width="120"&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;Gregory&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="120"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;4/11/2013&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="120"&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;Working time&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="120"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;480&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="border: solid windowtext 1.0pt; border-top: none; padding: 0 5.4pt 0 5.4pt;" width="120"&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;Cruz&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="120"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;4/11/2013&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="120"&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;Working time&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="120"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;480&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="border: solid windowtext 1.0pt; border-top: none; padding: 0 5.4pt 0 5.4pt;" width="120"&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;Cruz&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="120"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;4/11/2013&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="120"&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;SICK LEAVE&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="120"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;480&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="border: solid windowtext 1.0pt; border-top: none; padding: 0 5.4pt 0 5.4pt;" width="120"&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;Cruz&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="120"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;4/11/2013&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="120"&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;NON-Working time&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="120"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;480&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="border: solid windowtext 1.0pt; border-top: none; padding: 0 5.4pt 0 5.4pt;" width="120"&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;Andy&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="120"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;2/11/2013&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="120"&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;Working time&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="120"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;480&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="border: solid windowtext 1.0pt; border-top: none; padding: 0 5.4pt 0 5.4pt;" width="120"&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;Andy&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="120"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;3/11/2013&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="120"&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;Working time&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="120"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;480&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="border: solid windowtext 1.0pt; border-top: none; padding: 0 5.4pt 0 5.4pt;" width="120"&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;Andy&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="120"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;4/11/2013&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="120"&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;Working time&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="120"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;240&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="border: solid windowtext 1.0pt; border-top: none; padding: 0 5.4pt 0 5.4pt;" width="120"&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;Andy&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="120"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;2/11/2013&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="120"&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;SICK LEAVE&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="120"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;105&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="border: solid windowtext 1.0pt; border-top: none; padding: 0 5.4pt 0 5.4pt;" width="120"&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;Andy&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="120"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;3/11/2013&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="120"&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;MEETING&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="120"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;30&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="border: solid windowtext 1.0pt; border-top: none; padding: 0 5.4pt 0 5.4pt;" width="120"&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;Andy&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="120"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;2/11/2013&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="120"&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;NON-Working time&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="120"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;105&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="border: solid windowtext 1.0pt; border-top: none; padding: 0 5.4pt 0 5.4pt;" width="120"&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;Andy&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="120"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;3/11/2013&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="120"&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;NON-Working time&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="120"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;30&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="border: solid windowtext 1.0pt; border-top: none; padding: 0 5.4pt 0 5.4pt;" width="120"&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;Tony&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="120"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;4/11/2013&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="120"&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;Working time&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="120"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;480&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="border: solid windowtext 1.0pt; border-top: none; padding: 0 5.4pt 0 5.4pt;" width="120"&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;James&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="120"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;4/11/2013&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="120"&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;Working time&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="120"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;480&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="border: solid windowtext 1.0pt; border-top: none; padding: 0 5.4pt 0 5.4pt;" width="120"&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;Michelle&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="120"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;4/11/2013&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="120"&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;Working time&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="120"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;480&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="border: solid windowtext 1.0pt; border-top: none; padding: 0 5.4pt 0 5.4pt;" width="120"&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;Ben&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="120"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;3/11/2013&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="120"&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;Working time&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="120"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;480&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="border: solid windowtext 1.0pt; border-top: none; padding: 0 5.4pt 0 5.4pt;" width="120"&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;Ben&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="120"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;4/11/2013&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="120"&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;Working time&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="120"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;480&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="border: solid windowtext 1.0pt; border-top: none; padding: 0 5.4pt 0 5.4pt;" width="120"&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;Steve&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="120"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;2/11/2013&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="120"&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;Working time&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="120"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;480&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="border: solid windowtext 1.0pt; border-top: none; padding: 0 5.4pt 0 5.4pt;" width="120"&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;Stev&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="120"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;4/11/2013&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="120"&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;Working time&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="120"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;480&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="border: solid windowtext 1.0pt; border-top: none; padding: 0 5.4pt 0 5.4pt;" width="120"&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;Wendy&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="120"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;2/11/2013&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="120"&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;Working time&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="120"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;480&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="border: solid windowtext 1.0pt; border-top: none; padding: 0 5.4pt 0 5.4pt;" width="120"&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;Wendy&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="120"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;3/11/2013&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="120"&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;Working time&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="120"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;480&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="border: solid windowtext 1.0pt; border-top: none; padding: 0 5.4pt 0 5.4pt;" width="120"&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;Wendy&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="120"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;4/11/2013&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="120"&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;Working time&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="120"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;360&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="border: solid windowtext 1.0pt; border-top: none; padding: 0 5.4pt 0 5.4pt;" width="120"&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;Wendy&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="120"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;3/11/2013&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="120"&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt; SICK LEAVE&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="120"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;480&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="border: solid windowtext 1.0pt; border-top: none; padding: 0 5.4pt 0 5.4pt;" width="120"&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;Wendy&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="120"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;3/11/2013&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="120"&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;NON-Working time&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="120"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;480&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Nov 2013 06:01:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Internal-Matching-More-than-one-day-data/m-p/135836#M261048</guid>
      <dc:creator>angorwat</dc:creator>
      <dc:date>2013-11-08T06:01:10Z</dc:date>
    </item>
    <item>
      <title>Re: Internal Matching - More than one day data</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Internal-Matching-More-than-one-day-data/m-p/135837#M261049</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please try the below code and let me know if this meets your expectation&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc import datafile="E:\source\book1.xls"&lt;/P&gt;&lt;P&gt;out=have&lt;/P&gt;&lt;P&gt;dbms=excel &lt;/P&gt;&lt;P&gt;replace;&lt;/P&gt;&lt;P&gt;getnames=yes;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc sort data=have ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; by name date;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data have_;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; set have;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; output;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; by&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; name date;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if last.date and status eq 'Working time' then do;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; status='NON-Working time';&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; time=0;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; output;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; end;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jagadish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Nov 2013 11:40:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Internal-Matching-More-than-one-day-data/m-p/135837#M261049</guid>
      <dc:creator>Jagadishkatam</dc:creator>
      <dc:date>2013-11-08T11:40:03Z</dc:date>
    </item>
    <item>
      <title>Re: Internal Matching - More than one day data</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Internal-Matching-More-than-one-day-data/m-p/135838#M261050</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could sort the data, omitting records like "SICK LEAVE", then transpose:&lt;/P&gt;&lt;P&gt;Proc sort&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; data = have (where = (status IN ("Working time", "&lt;SPAN style="color: #000000; font-family: Arial, sans-serif; font-size: 10.909090995788574px; background-color: #ffffff;"&gt;NON-Working time&lt;/SPAN&gt;")))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; out = sorted&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; By Name date descending Status ;&lt;/P&gt;&lt;P&gt;run ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Proc Transpose&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; data = sorted&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; out = want &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; By name date ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Id Status ;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At this point you can if required use a datastep to subtract Non_working_time from working_time,&lt;/P&gt;&lt;P&gt;and if required&amp;nbsp; replace null values of Non_working_time with zero&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Non_working_time = sum(Non_working_time, 0) ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you need your data to be sequential you can transpose it back again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Richard&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Nov 2013 11:47:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Internal-Matching-More-than-one-day-data/m-p/135838#M261050</guid>
      <dc:creator>RichardinOz</dc:creator>
      <dc:date>2013-11-08T11:47:07Z</dc:date>
    </item>
    <item>
      <title>Re: Internal Matching - More than one day data</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Internal-Matching-More-than-one-day-data/m-p/135839#M261051</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Jagadhish, its working correctly.&lt;/P&gt;&lt;P&gt;But, I forget to mention about the percentage calculation. I.E., Non-working hrs/working hrs for each employee for each day to write into an new column.&lt;/P&gt;&lt;P&gt;I add the below steps after your code to calculate the PCT as below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please advise if it can be achievable in the same step.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROC SORT data=hav_ (where=(code in (working hrs', 'non-working hrs')))&lt;/P&gt;&lt;P&gt;out=hav2;&lt;/P&gt;&lt;P&gt;by id date;&lt;/P&gt;&lt;P&gt;RUN;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA hav3;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; set hav2;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; by id&amp;nbsp; date;&lt;/P&gt;&lt;P&gt;&amp;nbsp; retain var1 var2;&lt;/P&gt;&lt;P&gt;&amp;nbsp; if first.date and code='working hrs' then var1=time;&lt;/P&gt;&lt;P&gt;&amp;nbsp; if last.date and code='non-working hrs' then var2=time;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; output;&lt;/P&gt;&lt;P&gt;RUN;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA hav4;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; set hav3;&lt;/P&gt;&lt;P&gt;&amp;nbsp; if code='working hrs' then delete;&lt;/P&gt;&lt;P&gt;&amp;nbsp; if code='non-working hrs' then ;&lt;/P&gt;&lt;P&gt;&amp;nbsp; PCT=var2/var1;&lt;/P&gt;&lt;P&gt;RUN;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Nov 2013 01:14:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Internal-Matching-More-than-one-day-data/m-p/135839#M261051</guid>
      <dc:creator>angorwat</dc:creator>
      <dc:date>2013-11-11T01:14:03Z</dc:date>
    </item>
    <item>
      <title>Re: Internal Matching - More than one day data</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Internal-Matching-More-than-one-day-data/m-p/135840#M261052</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc import datafile="M:\samples.xls"&lt;/P&gt;&lt;P&gt;out=have&lt;/P&gt;&lt;P&gt;dbms=excel&lt;/P&gt;&lt;P&gt;replace;&lt;/P&gt;&lt;P&gt;getnames=yes;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc sort data=have ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; by name date;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; data have_;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; set have;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; output;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; by name date;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; retain working;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if first.date and status eq 'Working time' then &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; working=time;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if last.date and status eq 'Working time' then do;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; status='NON-Working time';&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; time=0;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; output;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; end;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data want;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; set have_;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; by name date;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if last.date and status='NON-Working time' then perct=time/working*100;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; drop working;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jagadish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Nov 2013 01:56:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Internal-Matching-More-than-one-day-data/m-p/135840#M261052</guid>
      <dc:creator>Jagadishkatam</dc:creator>
      <dc:date>2013-11-11T01:56:33Z</dc:date>
    </item>
  </channel>
</rss>

