<?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: Limit the results to 10 in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Limit-the-results-to-10/m-p/342111#M78405</link>
    <description>It worked, thank you!</description>
    <pubDate>Fri, 17 Mar 2017 18:44:27 GMT</pubDate>
    <dc:creator>pacruz</dc:creator>
    <dc:date>2017-03-17T18:44:27Z</dc:date>
    <item>
      <title>Limit the results to 10</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Limit-the-results-to-10/m-p/342105#M78399</link>
      <description>&lt;P&gt;I have the following code but want to limit the result to 10 instead of all the data. I thought firstobs=10 will make it happen but it did not. Please help!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;DATA two;&lt;BR /&gt;infile 'C:\Users\paul\Downloads\btt.dat' firstobs=10;&lt;BR /&gt;input Childid 1-4 Sex 6 Bweight 8-11 Gestage 13-14 Momage 16-17&lt;BR /&gt;Parity 19 Mdbp 25-27 Momeduc 29 Mmedaid 31 socio 33 dbp5 35-37 sbp5 39-41&lt;BR /&gt;ht5 43-47 wt5 49-52 hdl5 54-57 ldl5 59-62 trig5 64-67 smoke5 69 medaid5 71&lt;BR /&gt;socio5 73;&lt;BR /&gt;BMI = ht5 / wt5**2;&lt;BR /&gt;run;&lt;BR /&gt;proc print data=two;&lt;BR /&gt;var Childid ht5 wt5 BMI;&lt;BR /&gt;run;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Mar 2017 18:31:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Limit-the-results-to-10/m-p/342105#M78399</guid>
      <dc:creator>pacruz</dc:creator>
      <dc:date>2017-03-17T18:31:00Z</dc:date>
    </item>
    <item>
      <title>Re: Limit the results to 10</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Limit-the-results-to-10/m-p/342107#M78401</link>
      <description>&lt;P&gt;Which are you trying to limit:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;The number of observations in TWO&lt;/LI&gt;
&lt;LI&gt;The number of observations printed by PROC PRINT&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;To limit the latter, use:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc print data=two (obs=10);&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;var Childid ht5 wt5 BMI;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;run;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Mar 2017 18:40:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Limit-the-results-to-10/m-p/342107#M78401</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2017-03-17T18:40:16Z</dc:date>
    </item>
    <item>
      <title>Re: Limit the results to 10</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Limit-the-results-to-10/m-p/342109#M78403</link>
      <description>The number of observations printed by PROC PRINT</description>
      <pubDate>Fri, 17 Mar 2017 18:43:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Limit-the-results-to-10/m-p/342109#M78403</guid>
      <dc:creator>pacruz</dc:creator>
      <dc:date>2017-03-17T18:43:08Z</dc:date>
    </item>
    <item>
      <title>Re: Limit the results to 10</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Limit-the-results-to-10/m-p/342111#M78405</link>
      <description>It worked, thank you!</description>
      <pubDate>Fri, 17 Mar 2017 18:44:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Limit-the-results-to-10/m-p/342111#M78405</guid>
      <dc:creator>pacruz</dc:creator>
      <dc:date>2017-03-17T18:44:27Z</dc:date>
    </item>
  </channel>
</rss>

