<?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: Finding the last observation in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Finding-the-last-observation/m-p/11274#M1285</link>
    <description>With the DATA step approach, there are SET statement options NOBS= and POINT= for this use - sample shown below.&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.&lt;BR /&gt;
&lt;BR /&gt;
data _null_;&lt;BR /&gt;
set sashelp.class nobs=obscount point=obscount;&lt;BR /&gt;
putlog _all_;&lt;BR /&gt;
stop;&lt;BR /&gt;
run;</description>
    <pubDate>Thu, 26 Mar 2009 13:17:37 GMT</pubDate>
    <dc:creator>sbb</dc:creator>
    <dc:date>2009-03-26T13:17:37Z</dc:date>
    <item>
      <title>Finding the last observation</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Finding-the-last-observation/m-p/11272#M1283</link>
      <description>Hi&lt;BR /&gt;
&lt;BR /&gt;
    I am having a dataset but i dont know th no of obs are there now i want the last obs.Is there any option.</description>
      <pubDate>Thu, 26 Mar 2009 07:06:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Finding-the-last-observation/m-p/11272#M1283</guid>
      <dc:creator>R_Win</dc:creator>
      <dc:date>2009-03-26T07:06:37Z</dc:date>
    </item>
    <item>
      <title>Re: Finding the last observation</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Finding-the-last-observation/m-p/11273#M1284</link>
      <description>Data lastobs;&lt;BR /&gt;
  set sashelp.class end=last;&lt;BR /&gt;
  if last then output;&lt;BR /&gt;
run;</description>
      <pubDate>Thu, 26 Mar 2009 10:25:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Finding-the-last-observation/m-p/11273#M1284</guid>
      <dc:creator>GertNissen</dc:creator>
      <dc:date>2009-03-26T10:25:17Z</dc:date>
    </item>
    <item>
      <title>Re: Finding the last observation</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Finding-the-last-observation/m-p/11274#M1285</link>
      <description>With the DATA step approach, there are SET statement options NOBS= and POINT= for this use - sample shown below.&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.&lt;BR /&gt;
&lt;BR /&gt;
data _null_;&lt;BR /&gt;
set sashelp.class nobs=obscount point=obscount;&lt;BR /&gt;
putlog _all_;&lt;BR /&gt;
stop;&lt;BR /&gt;
run;</description>
      <pubDate>Thu, 26 Mar 2009 13:17:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Finding-the-last-observation/m-p/11274#M1285</guid>
      <dc:creator>sbb</dc:creator>
      <dc:date>2009-03-26T13:17:37Z</dc:date>
    </item>
  </channel>
</rss>

