<?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: Selecting last entry in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Selecting-last-entry/m-p/499305#M132842</link>
    <description>&lt;P&gt;You should consider reviewing the BY group processing chapter in the documentation. It includes some good information on how FIRST/LAST work and the available options.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://documentation.sas.com/?docsetId=lrcon&amp;amp;docsetTarget=n138da4gme3zb7n1nifpfhqv7clq.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en" target="_blank"&gt;https://documentation.sas.com/?docsetId=lrcon&amp;amp;docsetTarget=n138da4gme3zb7n1nifpfhqv7clq.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/117620"&gt;@Gil_&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;I have a table lokks like this&lt;BR /&gt;Id. Datetime&lt;BR /&gt;A2 0NOV05:03:49:19&lt;BR /&gt;A2. 0NOV05:02:49:19&lt;BR /&gt;A3. 0NOV05:06:49:19&lt;BR /&gt;A3. 0NOV05:08:49:19&lt;BR /&gt;What i need is to pull the last entry obo&lt;BR /&gt;&lt;BR /&gt;Like this&lt;BR /&gt;Id. Datetime&lt;BR /&gt;A2 0NOV05:03:49:19&lt;BR /&gt;A3. 0NOV05:08:49:19&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 26 Sep 2018 22:32:16 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2018-09-26T22:32:16Z</dc:date>
    <item>
      <title>Selecting last entry</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Selecting-last-entry/m-p/499276#M132828</link>
      <description>&lt;P&gt;I have a table lokks like this&lt;BR /&gt;Id. Datetime&lt;BR /&gt;A2 0NOV05:03:49:19&lt;BR /&gt;A2. 0NOV05:02:49:19&lt;BR /&gt;A3. 0NOV05:06:49:19&lt;BR /&gt;A3. 0NOV05:08:49:19&lt;BR /&gt;What i need is to pull the last entry obo&lt;BR /&gt;&lt;BR /&gt;Like this&lt;BR /&gt;Id. Datetime&lt;BR /&gt;A2 0NOV05:03:49:19&lt;BR /&gt;A3. 0NOV05:08:49:19&lt;/P&gt;</description>
      <pubDate>Wed, 26 Sep 2018 22:29:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Selecting-last-entry/m-p/499276#M132828</guid>
      <dc:creator>Gil_</dc:creator>
      <dc:date>2018-09-26T22:29:42Z</dc:date>
    </item>
    <item>
      <title>Re: Selecting 1st entry</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Selecting-last-entry/m-p/499277#M132829</link>
      <description>Sorry its last entry not 1st</description>
      <pubDate>Wed, 26 Sep 2018 21:22:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Selecting-last-entry/m-p/499277#M132829</guid>
      <dc:creator>Gil_</dc:creator>
      <dc:date>2018-09-26T21:22:20Z</dc:date>
    </item>
    <item>
      <title>Re: Selecting 1st entry</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Selecting-last-entry/m-p/499281#M132832</link>
      <description>&lt;P&gt;Both are relatively easy:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;data want;&lt;/P&gt;
&lt;P&gt;set have;&lt;/P&gt;
&lt;P&gt;by id;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#FF0000"&gt;* To get last entry;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#FF0000"&gt;if last.id;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#00FF00"&gt;* To get first entry;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#00FF00"&gt;if first.id;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;run;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Sep 2018 21:31:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Selecting-last-entry/m-p/499281#M132832</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2018-09-26T21:31:44Z</dc:date>
    </item>
    <item>
      <title>Re: Selecting last entry</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Selecting-last-entry/m-p/499305#M132842</link>
      <description>&lt;P&gt;You should consider reviewing the BY group processing chapter in the documentation. It includes some good information on how FIRST/LAST work and the available options.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://documentation.sas.com/?docsetId=lrcon&amp;amp;docsetTarget=n138da4gme3zb7n1nifpfhqv7clq.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en" target="_blank"&gt;https://documentation.sas.com/?docsetId=lrcon&amp;amp;docsetTarget=n138da4gme3zb7n1nifpfhqv7clq.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/117620"&gt;@Gil_&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;I have a table lokks like this&lt;BR /&gt;Id. Datetime&lt;BR /&gt;A2 0NOV05:03:49:19&lt;BR /&gt;A2. 0NOV05:02:49:19&lt;BR /&gt;A3. 0NOV05:06:49:19&lt;BR /&gt;A3. 0NOV05:08:49:19&lt;BR /&gt;What i need is to pull the last entry obo&lt;BR /&gt;&lt;BR /&gt;Like this&lt;BR /&gt;Id. Datetime&lt;BR /&gt;A2 0NOV05:03:49:19&lt;BR /&gt;A3. 0NOV05:08:49:19&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Sep 2018 22:32:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Selecting-last-entry/m-p/499305#M132842</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-09-26T22:32:16Z</dc:date>
    </item>
  </channel>
</rss>

