<?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 problems with splitting first id with 2 days as duration for 2 days in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/problems-with-splitting-first-id-with-2-days-as-duration-for-2/m-p/505062#M135225</link>
    <description>&lt;P&gt;I use the below code to split the first id for first 2 observations. My ocde works for id 102 but not for id=101 as the first observation is only 2 days and the next one hsould split for 2 and the rest as it is. like below. any suggestion where i went wrong?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;data WORK.want;&lt;BR /&gt; infile datalines dsd truncover;&lt;BR /&gt; input id:32. num:32. std:DATE9. endt:DATE9.;&lt;BR /&gt;datalines4;&lt;BR /&gt;101,2,12MAR2018,13MAR2018&lt;BR /&gt;101,3,14MAR2018,15MAR2018&lt;BR /&gt;101,3,16MAR2018,23MAR2018&lt;BR /&gt;101,4,24MAR2018,29MAR2018&lt;BR /&gt;102,2,12JAN2018,13JAN2018&lt;BR /&gt;102,2,14JAN2018,15JAN2018&lt;BR /&gt;102,2,16JAN2018,19JAN2018&lt;BR /&gt;102,3,20JAN2018,28JAN2018&lt;BR /&gt;102,4,29JAN2018,12FEB2018&lt;BR /&gt;102,5,13FEB2018,18FEB2018&lt;BR /&gt;102,6,19FEB2018,28FEB2018&lt;BR /&gt;;;;;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;data WORK.TEST;
  infile datalines dsd truncover;
  input id:32. num:32. std:DATE9. endt:DATE9.;
datalines4;
101,2,12MAR2018,13MAR2018
101,3,14MAR2018,23MAR2018
101,4,24MAR2018,29MAR2018
102,2,12JAN2018,19JAN2018
102,3,20JAN2018,28JAN2018
102,4,29JAN2018,12FEB2018
102,5,13FEB2018,18FEB2018
102,6,19FEB2018,28FEB2018
;;;;

data a_0;
 format std endt date9.;
      set TEST;
      diff=ENDT-STD;
      if diff&amp;gt;=3 then tmp=1;
      else tmp=2;
      diff1=int(diff/2);
run;

proc sort data=a_0;
      by id tmp num;
run;

data a_05;
      format std endt date9.;
      set a_0;
      by id tmp num;
      retain end1;
      format end1 date9.;
      if first.id then end1=.;
      if first.id then do;
            do i=1 to diff1;
            if i=1 then do; STD=STD; end1=STD+1; output; end;
            else if i &amp;lt; diff1 then do;
                  STD=end1+1; end1=STD+1; output; end;
            else do; STD=end1+1; end1=ENDT; output; end;
            end;
      end;
      else do; end1=ENDT; output ; end;
run;

&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also i have another instance where i need to break&amp;nbsp; the id from day 1to4 and next as 5 to 7. Can i use same logic somehow?&lt;/P&gt;</description>
    <pubDate>Wed, 17 Oct 2018 13:36:49 GMT</pubDate>
    <dc:creator>vraj1</dc:creator>
    <dc:date>2018-10-17T13:36:49Z</dc:date>
    <item>
      <title>problems with splitting first id with 2 days as duration for 2 days</title>
      <link>https://communities.sas.com/t5/SAS-Programming/problems-with-splitting-first-id-with-2-days-as-duration-for-2/m-p/505062#M135225</link>
      <description>&lt;P&gt;I use the below code to split the first id for first 2 observations. My ocde works for id 102 but not for id=101 as the first observation is only 2 days and the next one hsould split for 2 and the rest as it is. like below. any suggestion where i went wrong?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;data WORK.want;&lt;BR /&gt; infile datalines dsd truncover;&lt;BR /&gt; input id:32. num:32. std:DATE9. endt:DATE9.;&lt;BR /&gt;datalines4;&lt;BR /&gt;101,2,12MAR2018,13MAR2018&lt;BR /&gt;101,3,14MAR2018,15MAR2018&lt;BR /&gt;101,3,16MAR2018,23MAR2018&lt;BR /&gt;101,4,24MAR2018,29MAR2018&lt;BR /&gt;102,2,12JAN2018,13JAN2018&lt;BR /&gt;102,2,14JAN2018,15JAN2018&lt;BR /&gt;102,2,16JAN2018,19JAN2018&lt;BR /&gt;102,3,20JAN2018,28JAN2018&lt;BR /&gt;102,4,29JAN2018,12FEB2018&lt;BR /&gt;102,5,13FEB2018,18FEB2018&lt;BR /&gt;102,6,19FEB2018,28FEB2018&lt;BR /&gt;;;;;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;data WORK.TEST;
  infile datalines dsd truncover;
  input id:32. num:32. std:DATE9. endt:DATE9.;
datalines4;
101,2,12MAR2018,13MAR2018
101,3,14MAR2018,23MAR2018
101,4,24MAR2018,29MAR2018
102,2,12JAN2018,19JAN2018
102,3,20JAN2018,28JAN2018
102,4,29JAN2018,12FEB2018
102,5,13FEB2018,18FEB2018
102,6,19FEB2018,28FEB2018
;;;;

data a_0;
 format std endt date9.;
      set TEST;
      diff=ENDT-STD;
      if diff&amp;gt;=3 then tmp=1;
      else tmp=2;
      diff1=int(diff/2);
run;

proc sort data=a_0;
      by id tmp num;
run;

data a_05;
      format std endt date9.;
      set a_0;
      by id tmp num;
      retain end1;
      format end1 date9.;
      if first.id then end1=.;
      if first.id then do;
            do i=1 to diff1;
            if i=1 then do; STD=STD; end1=STD+1; output; end;
            else if i &amp;lt; diff1 then do;
                  STD=end1+1; end1=STD+1; output; end;
            else do; STD=end1+1; end1=ENDT; output; end;
            end;
      end;
      else do; end1=ENDT; output ; end;
run;

&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also i have another instance where i need to break&amp;nbsp; the id from day 1to4 and next as 5 to 7. Can i use same logic somehow?&lt;/P&gt;</description>
      <pubDate>Wed, 17 Oct 2018 13:36:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/problems-with-splitting-first-id-with-2-days-as-duration-for-2/m-p/505062#M135225</guid>
      <dc:creator>vraj1</dc:creator>
      <dc:date>2018-10-17T13:36:49Z</dc:date>
    </item>
    <item>
      <title>Re: problems with splitting first id with 2 days as duration for 2 days</title>
      <link>https://communities.sas.com/t5/SAS-Programming/problems-with-splitting-first-id-with-2-days-as-duration-for-2/m-p/505081#M135227</link>
      <description>&lt;P&gt;Why is 101,3 (which covers 9 days) split into just 2 observations, but 102,2 (which covers only 7 days) into 3?&lt;/P&gt;
&lt;P&gt;Can you give us a plain-text rule for the splitting?&lt;/P&gt;</description>
      <pubDate>Wed, 17 Oct 2018 13:47:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/problems-with-splitting-first-id-with-2-days-as-duration-for-2/m-p/505081#M135227</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2018-10-17T13:47:57Z</dc:date>
    </item>
    <item>
      <title>Re: problems with splitting first id with 2 days as duration for 2 days</title>
      <link>https://communities.sas.com/t5/SAS-Programming/problems-with-splitting-first-id-with-2-days-as-duration-for-2/m-p/505084#M135228</link>
      <description>&lt;P&gt;The rule is i need to split the id as day1-2, day3-4, and if the id has same num the rest of days and the remaining as it is&lt;/P&gt;
&lt;P&gt;another program&amp;nbsp; in which&amp;nbsp; scenario is to split by day1-4, day5-7 and remainaing as it is.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;in my code which i used it works only if the first duration is more than 6 and does not work if the first record for id has only 2 day duration and the next one with different num.&lt;/P&gt;
&lt;P&gt;101,2,12MAR2018,13MAR2018&lt;BR /&gt;101,3,14MAR2018,15MAR2018&lt;BR /&gt;101,3,16MAR2018,23MAR2018&lt;BR /&gt;101,4,24MAR2018,29MAR2018&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Oct 2018 13:54:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/problems-with-splitting-first-id-with-2-days-as-duration-for-2/m-p/505084#M135228</guid>
      <dc:creator>vraj1</dc:creator>
      <dc:date>2018-10-17T13:54:34Z</dc:date>
    </item>
    <item>
      <title>Re: problems with splitting first id with 2 days as duration for 2 days</title>
      <link>https://communities.sas.com/t5/SAS-Programming/problems-with-splitting-first-id-with-2-days-as-duration-for-2/m-p/505087#M135229</link>
      <description>&lt;P&gt;That does in no way explain the difference between 101,2 and 102,2. What is the difference between those two?&lt;/P&gt;</description>
      <pubDate>Wed, 17 Oct 2018 13:55:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/problems-with-splitting-first-id-with-2-days-as-duration-for-2/m-p/505087#M135229</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2018-10-17T13:55:22Z</dc:date>
    </item>
    <item>
      <title>Re: problems with splitting first id with 2 days as duration for 2 days</title>
      <link>https://communities.sas.com/t5/SAS-Programming/problems-with-splitting-first-id-with-2-days-as-duration-for-2/m-p/505097#M135233</link>
      <description>&lt;P&gt;For id 101 the first record is starts at&amp;nbsp;12MAR2018 and end date&amp;nbsp;13MAR2018 and the next record&amp;nbsp;&amp;nbsp;14MAR2018 to&amp;nbsp;23MAR2018 and i expect first scenario result as&lt;/P&gt;
&lt;P&gt;101,2,12MAR2018,13MAR2018&lt;BR /&gt;101,3,14MAR2018,15MAR2018&lt;BR /&gt;101,3,16MAR2018,23MAR2018&lt;/P&gt;
&lt;P&gt;101,4,24MAR2018,29MAR2018&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;but the code which comes from my code is&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;101,2,12MAR2018,13MAR2018&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;101,3,14MAR2018,15MAR2018&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;101,3,16MAR2018,17MAR2018&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;101,3,18MAR2018,19MAR2018&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;But for id=102 since i have duration of the first record more than 2 i.e 12JAN2018,19JAN2018 it splits properly.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Hope i explained it clearly.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Oct 2018 14:12:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/problems-with-splitting-first-id-with-2-days-as-duration-for-2/m-p/505097#M135233</guid>
      <dc:creator>vraj1</dc:creator>
      <dc:date>2018-10-17T14:12:33Z</dc:date>
    </item>
    <item>
      <title>Re: problems with splitting first id with 2 days as duration for 2 days</title>
      <link>https://communities.sas.com/t5/SAS-Programming/problems-with-splitting-first-id-with-2-days-as-duration-for-2/m-p/505108#M135234</link>
      <description>&lt;P&gt;So you need to run a counter. The first two observations for a given id, even with different num, should only cover 2 days each. From then on, any remaining rest is output and all subsequent observations remain as they are.&lt;/P&gt;
&lt;P&gt;At least this code will produce your want dataset:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data have;
  infile datalines dsd truncover;
  input id:32. num:32. std:DATE9. endt:DATE9.;
  format std endt yymmddd10.;
datalines4;
101,2,12MAR2018,13MAR2018
101,3,14MAR2018,23MAR2018
101,4,24MAR2018,29MAR2018
102,2,12JAN2018,19JAN2018
102,3,20JAN2018,28JAN2018
102,4,29JAN2018,12FEB2018
102,5,13FEB2018,18FEB2018
102,6,19FEB2018,28FEB2018
;;;;
run;

data want;
set have (rename=(std=_std endt=_endt));
by id;
retain obscount;
if first.id
then obscount = 0;
format std endt yymmddd10.;
std = _std;
endt = std + 1;
do while (obscount &amp;lt; 2 and endt &amp;lt; _endt);
  output;
  std = std + 2;
  endt = min(endt + 2,_endt);
  obscount + 1;
end;
if endt &amp;lt; _endt or std = _std
then do;
  endt = _endt;
  output;
  obscount + 1;
end;
drop obscount _std _endt;
run;

proc print data=want noobs;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Result:&lt;/P&gt;
&lt;PRE&gt; id    num           std          endt

101     2     2018-03-12    2018-03-13
101     3     2018-03-14    2018-03-15
101     3     2018-03-16    2018-03-23
101     4     2018-03-24    2018-03-29
102     2     2018-01-12    2018-01-13
102     2     2018-01-14    2018-01-15
102     2     2018-01-16    2018-01-19
102     3     2018-01-20    2018-01-28
102     4     2018-01-29    2018-02-12
102     5     2018-02-13    2018-02-18
102     6     2018-02-19    2018-02-28
&lt;/PRE&gt;</description>
      <pubDate>Wed, 17 Oct 2018 14:32:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/problems-with-splitting-first-id-with-2-days-as-duration-for-2/m-p/505108#M135234</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2018-10-17T14:32:41Z</dc:date>
    </item>
    <item>
      <title>Re: problems with splitting first id with 2 days as duration for 2 days</title>
      <link>https://communities.sas.com/t5/SAS-Programming/problems-with-splitting-first-id-with-2-days-as-duration-for-2/m-p/505111#M135235</link>
      <description>&lt;P&gt;Then what do you do when the first record is only 1 day.&amp;nbsp; I notice that your output file identifies a single record number source for each of your resulting periods.&amp;nbsp; But if you have single day records, that constructing 2-day intervals at the start of each id, requires multiple source record numbers.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And I have the same question if the first record is a 3-day span.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please give output example for the following, with output variables NUM, STD, and ENDT.&amp;nbsp; Or if these are not possible input conditions, let us know.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;first record has 1 day, 2nd has 3 or more&lt;/P&gt;
&lt;P&gt;first and second record each have 2 days&lt;/P&gt;
&lt;P&gt;first record has 3 days.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Oct 2018 14:35:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/problems-with-splitting-first-id-with-2-days-as-duration-for-2/m-p/505111#M135235</guid>
      <dc:creator>mkeintz</dc:creator>
      <dc:date>2018-10-17T14:35:46Z</dc:date>
    </item>
    <item>
      <title>Re: problems with splitting first id with 2 days as duration for 2 days</title>
      <link>https://communities.sas.com/t5/SAS-Programming/problems-with-splitting-first-id-with-2-days-as-duration-for-2/m-p/505116#M135238</link>
      <description>&lt;P&gt;Thanks a lot. it works.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There is another scenario where i should split the first 2 records on day1-4 and day 5-7.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can i somehow use the same program with changes?&lt;/P&gt;</description>
      <pubDate>Wed, 17 Oct 2018 14:42:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/problems-with-splitting-first-id-with-2-days-as-duration-for-2/m-p/505116#M135238</guid>
      <dc:creator>vraj1</dc:creator>
      <dc:date>2018-10-17T14:42:17Z</dc:date>
    </item>
    <item>
      <title>Re: problems with splitting first id with 2 days as duration for 2 days</title>
      <link>https://communities.sas.com/t5/SAS-Programming/problems-with-splitting-first-id-with-2-days-as-duration-for-2/m-p/505149#M135249</link>
      <description>&lt;P&gt;the second scenario i need is to split day1-4 and day5-7 from the first id&lt;/P&gt;
&lt;PRE&gt;data have;
  infile datalines dsd truncover;
  input id:32. num:32. std:DATE9. endt:DATE9.;
  format std endt yymmddd10.;
datalines4;
101,2,12MAR2018,13MAR2018
101,3,14MAR2018,23MAR2018
101,4,24MAR2018,29MAR2018
102,2,12JAN2018,19JAN2018
102,3,20JAN2018,28JAN2018
102,4,29JAN2018,12FEB2018
102,5,13FEB2018,18FEB2018
102,6,19FEB2018,28FEB2018
;;;;
run;

data have;
  infile datalines dsd truncover;
  input id:32. num:32. std:DATE9. endt:DATE9.;
  format std endt yymmddd10.;
datalines4;
101,2,12MAR2018,15MAR2018
101,3,16MAR2018,18MAR2018
101,3,19MAR2018,23MAR2018
101,4,24MAR2018,29MAR2018
102,2,12JAN2018,15JAN2018
102,2,16JAN2018,18JAN2018
102,2,19JAN2018,19JAN2018
102,3,20JAN2018,28JAN2018
102,4,29JAN2018,12FEB2018
102,5,13FEB2018,18FEB2018
102,6,19FEB2018,28FEB2018
;;;;
run;&lt;/PRE&gt;</description>
      <pubDate>Wed, 17 Oct 2018 15:17:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/problems-with-splitting-first-id-with-2-days-as-duration-for-2/m-p/505149#M135249</guid>
      <dc:creator>vraj1</dc:creator>
      <dc:date>2018-10-17T15:17:00Z</dc:date>
    </item>
    <item>
      <title>Re: problems with splitting first id with 2 days as duration for 2 days</title>
      <link>https://communities.sas.com/t5/SAS-Programming/problems-with-splitting-first-id-with-2-days-as-duration-for-2/m-p/505162#M135254</link>
      <description>&lt;P&gt;How can we advise you on the 2nd variation of the problem when we don't yet know whether all the rules for the first variation are known?&amp;nbsp; That's why I posted my questions earlier (and why &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/11562"&gt;@Kurt_Bremser&lt;/a&gt;&amp;nbsp;also posted questions).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In particular, you have not said what you want the output to look like if a single incoming record is not long enough to satisfy your output date range requirements at the beginning of each id.&amp;nbsp; If we don't know the answer for 2 followed by 2, then satisfying the 4 followed by 3 is an exercise in futility.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Help us help you.&amp;nbsp; If you don't understand why a question is being asked, let us know.&amp;nbsp; Otherwise ignoring the question requires us to be mind readers, a skill I'd rather leave unused.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Oct 2018 15:30:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/problems-with-splitting-first-id-with-2-days-as-duration-for-2/m-p/505162#M135254</guid>
      <dc:creator>mkeintz</dc:creator>
      <dc:date>2018-10-17T15:30:11Z</dc:date>
    </item>
    <item>
      <title>Re: problems with splitting first id with 2 days as duration for 2 days</title>
      <link>https://communities.sas.com/t5/SAS-Programming/problems-with-splitting-first-id-with-2-days-as-duration-for-2/m-p/505444#M135351</link>
      <description>&lt;P&gt;Sorry for not being clear.&lt;/P&gt;
&lt;P&gt;The first variation worked as per Kurt's code and the second one i need&amp;nbsp;to split in similar way as variation 1 but&amp;nbsp;&lt;SPAN&gt;split day1-4 and day5-7&amp;nbsp; of the first id&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;if the data is like below&lt;/SPAN&gt;&lt;/P&gt;
&lt;PRE&gt;data have;
  infile datalines dsd truncover;
  input id:32. num:32. std:DATE9. endt:DATE9.;
  format std endt yymmddd10.;
datalines4;
101,2,12MAR2018,13MAR2018
101,3,14MAR2018,23MAR2018
101,4,24MAR2018,29MAR2018
102,2,12JAN2018,19JAN2018
102,3,20JAN2018,28JAN2018
102,4,29JAN2018,12FEB2018
102,5,13FEB2018,18FEB2018
102,6,19FEB2018,28FEB2018
;;;;
run;&lt;/PRE&gt;
&lt;P&gt;&lt;SPAN&gt;i neeed it to split like below which is irrespective of the first id duration it should split on day1-4 i.e in the output below&amp;nbsp;101,2,12MAR2018,15MAR2018&lt;BR /&gt;101,3,16MAR2018,18MAR2018 and the rest of the records for the id as it is. First variation was to split in&amp;nbsp;day1-2 and day3-4 and the rest as it is and the code works. i was wondering how to do the second variation. Hope i am clear and sorry for the confusion&lt;/SPAN&gt;&lt;/P&gt;
&lt;PRE&gt;data want;
  infile datalines dsd truncover;
  input id:32. num:32. std:DATE9. endt:DATE9.;
  format std endt yymmddd10.;
datalines4;
101,2,12MAR2018,15MAR2018
101,3,16MAR2018,18MAR2018
101,3,19MAR2018,23MAR2018
101,4,24MAR2018,29MAR2018
102,2,12JAN2018,15JAN2018
102,2,16JAN2018,18JAN2018
102,2,19JAN2018,19JAN2018
102,3,20JAN2018,28JAN2018
102,4,29JAN2018,12FEB2018
102,5,13FEB2018,18FEB2018
102,6,19FEB2018,28FEB2018
;;;;
run;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Oct 2018 07:11:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/problems-with-splitting-first-id-with-2-days-as-duration-for-2/m-p/505444#M135351</guid>
      <dc:creator>vraj1</dc:creator>
      <dc:date>2018-10-18T07:11:01Z</dc:date>
    </item>
  </channel>
</rss>

