<?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 Can I use Proc Timelines to Find the oldest &amp;quot;non broken&amp;quot; date ? in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Can-I-use-Proc-Timelines-to-Find-the-oldest-quot-non-broken-quot/m-p/58103#M16233</link>
    <description>In this sample dataset the oldest "non broken" date under MAINREF 1 is the 9 of August 2008 due to overlap from the underlying REF.&lt;BR /&gt;
The oldest "non broken" date under MAINREF 2 is the 1 of April 2010&lt;BR /&gt;
(from REF 11 to REF12 there is a non overlapping month.)&lt;BR /&gt;
Is this possible to find out using PROC TIMELINES&lt;BR /&gt;
thnk in advance&lt;BR /&gt;
FROMDATE	TODATE	MAINREF	             REF&lt;BR /&gt;
30-07-2010	01-04-2010	1	1&lt;BR /&gt;
30-06-2010	01-05-2010	1	2&lt;BR /&gt;
04-08-2009	09-08-2008	1	3&lt;BR /&gt;
06-04-2010	03-10-2009	1	2&lt;BR /&gt;
22-11-2009	25-07-2009	1	1&lt;BR /&gt;
30-07-2010	01-04-2010	2	11&lt;BR /&gt;
30-06-2010	01-05-2010	2	12&lt;BR /&gt;
04-08-2009	09-08-2008	2	13&lt;BR /&gt;
12-03-2010	03-10-2009	2	12&lt;BR /&gt;
22-11-2009	25-07-2009	2	11</description>
    <pubDate>Fri, 30 Jul 2010 12:44:30 GMT</pubDate>
    <dc:creator>deleted_user</dc:creator>
    <dc:date>2010-07-30T12:44:30Z</dc:date>
    <item>
      <title>Can I use Proc Timelines to Find the oldest "non broken" date ?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Can-I-use-Proc-Timelines-to-Find-the-oldest-quot-non-broken-quot/m-p/58103#M16233</link>
      <description>In this sample dataset the oldest "non broken" date under MAINREF 1 is the 9 of August 2008 due to overlap from the underlying REF.&lt;BR /&gt;
The oldest "non broken" date under MAINREF 2 is the 1 of April 2010&lt;BR /&gt;
(from REF 11 to REF12 there is a non overlapping month.)&lt;BR /&gt;
Is this possible to find out using PROC TIMELINES&lt;BR /&gt;
thnk in advance&lt;BR /&gt;
FROMDATE	TODATE	MAINREF	             REF&lt;BR /&gt;
30-07-2010	01-04-2010	1	1&lt;BR /&gt;
30-06-2010	01-05-2010	1	2&lt;BR /&gt;
04-08-2009	09-08-2008	1	3&lt;BR /&gt;
06-04-2010	03-10-2009	1	2&lt;BR /&gt;
22-11-2009	25-07-2009	1	1&lt;BR /&gt;
30-07-2010	01-04-2010	2	11&lt;BR /&gt;
30-06-2010	01-05-2010	2	12&lt;BR /&gt;
04-08-2009	09-08-2008	2	13&lt;BR /&gt;
12-03-2010	03-10-2009	2	12&lt;BR /&gt;
22-11-2009	25-07-2009	2	11</description>
      <pubDate>Fri, 30 Jul 2010 12:44:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Can-I-use-Proc-Timelines-to-Find-the-oldest-quot-non-broken-quot/m-p/58103#M16233</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2010-07-30T12:44:30Z</dc:date>
    </item>
    <item>
      <title>Re: Can I use Proc Timelines to Find the oldest "non broken" date ?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Can-I-use-Proc-Timelines-to-Find-the-oldest-quot-non-broken-quot/m-p/58104#M16234</link>
      <description>You can find some information about processing episodic data at&lt;BR /&gt;
&lt;A href="http://www2.sas.com/proceedings/sugi29/260-29.pdf" target="_blank"&gt;http://www2.sas.com/proceedings/sugi29/260-29.pdf&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
I am unfamiliar with PROC TIMELINES, and do not understand your example are you looking for a break in the dates?</description>
      <pubDate>Mon, 02 Aug 2010 04:02:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Can-I-use-Proc-Timelines-to-Find-the-oldest-quot-non-broken-quot/m-p/58104#M16234</guid>
      <dc:creator>ArtC</dc:creator>
      <dc:date>2010-08-02T04:02:06Z</dc:date>
    </item>
    <item>
      <title>Re: Can I use Proc Timelines to Find the oldest "non broken" date ?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Can-I-use-Proc-Timelines-to-Find-the-oldest-quot-non-broken-quot/m-p/58105#M16235</link>
      <description>Yes. I'am trying to find the break in the dates(under MAINREF 2):&lt;BR /&gt;
I will take a look, Thanks&lt;BR /&gt;
30-07-2010 01-04-2010   2     11&lt;BR /&gt;
30-06-2010 01-05-2010   2    12&lt;BR /&gt;
04-08-2009 09-08-2008   2    13&lt;BR /&gt;
12-03-2010 03-10-2009   2    12&lt;BR /&gt;
22-11-2009 25-07-2009   2    11</description>
      <pubDate>Mon, 02 Aug 2010 14:08:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Can-I-use-Proc-Timelines-to-Find-the-oldest-quot-non-broken-quot/m-p/58105#M16235</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2010-08-02T14:08:21Z</dc:date>
    </item>
    <item>
      <title>Re: Can I use Proc Timelines to Find the oldest "non broken" date ?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Can-I-use-Proc-Timelines-to-Find-the-oldest-quot-non-broken-quot/m-p/58106#M16236</link>
      <description>Is there even a PROC TIMELINES???? SAS/ETS has PROC TIMESERIES...&lt;BR /&gt;
&lt;A href="http://support.sas.com/documentation/cdl/en/etsug/63348/HTML/default/viewer.htm#/documentation/cdl/en/etsug/63348/HTML/default/timeseries_toc.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/etsug/63348/HTML/default/viewer.htm#/documentation/cdl/en/etsug/63348/HTML/default/timeseries_toc.htm&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
and the section on "differencing" is here&lt;BR /&gt;
&lt;A href="http://support.sas.com/documentation/cdl/en/etsug/63348/HTML/default/viewer.htm#/documentation/cdl/en/etsug/63348/HTML/default/etsug_timeseries_sect020.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/etsug/63348/HTML/default/viewer.htm#/documentation/cdl/en/etsug/63348/HTML/default/etsug_timeseries_sect020.htm&lt;/A&gt; (if you understand the math).&lt;BR /&gt;
&lt;BR /&gt;
Meanwhile, I'm curious how the data goes backward in time...because in the first 2 obs&lt;BR /&gt;
[pre]&lt;BR /&gt;
FROMDATE     TODATE   MAINREF REF&lt;BR /&gt;
30-07-2010 01-04-2010   1      1&lt;BR /&gt;
30-06-2010 01-05-2010   1      2&lt;BR /&gt;
[/pre]&lt;BR /&gt;
         &lt;BR /&gt;
I'd like to figure out how to go &lt;U&gt;FROM&lt;/U&gt; July 30 &lt;U&gt;TO&lt;/U&gt; April 1 or &lt;U&gt;FROM&lt;/U&gt; June 30 &lt;U&gt;TO&lt;/U&gt; May 1?? Perhaps someone invented the way-back time machine and I didn't get the memo.&lt;BR /&gt;
      &lt;BR /&gt;
cynthia</description>
      <pubDate>Mon, 02 Aug 2010 14:58:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Can-I-use-Proc-Timelines-to-Find-the-oldest-quot-non-broken-quot/m-p/58106#M16236</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2010-08-02T14:58:51Z</dc:date>
    </item>
  </channel>
</rss>

