<?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: PROC PRINT in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/PROC-PRINT/m-p/297711#M60298</link>
    <description>&lt;P&gt;Can you please explain me how this code works?&lt;/P&gt;</description>
    <pubDate>Mon, 12 Sep 2016 11:05:58 GMT</pubDate>
    <dc:creator>SamuelRajKandru</dc:creator>
    <dc:date>2016-09-12T11:05:58Z</dc:date>
    <item>
      <title>PROC PRINT</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-PRINT/m-p/297656#M60275</link>
      <description>&lt;P&gt;How do I print only the first and the last observations of a dataset using the proc print?&lt;/P&gt;</description>
      <pubDate>Mon, 12 Sep 2016 05:04:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-PRINT/m-p/297656#M60275</guid>
      <dc:creator>SamuelRajKandru</dc:creator>
      <dc:date>2016-09-12T05:04:02Z</dc:date>
    </item>
    <item>
      <title>Re: PROC PRINT</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-PRINT/m-p/297666#M60281</link>
      <description>&lt;P&gt;You can't. &amp;nbsp;You have to create a data set (or a view) containing the first and last observation. &amp;nbsp;Luckily, that is not so difficult:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;data want;&lt;/P&gt;
&lt;P&gt;do _n_=1, _nobs_;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;set have nobs=_nobs_ point=_n_;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;output;&lt;/P&gt;
&lt;P&gt;end;&lt;/P&gt;
&lt;P&gt;stop;&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Sep 2016 05:35:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-PRINT/m-p/297666#M60281</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2016-09-12T05:35:22Z</dc:date>
    </item>
    <item>
      <title>Re: PROC PRINT</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-PRINT/m-p/297711#M60298</link>
      <description>&lt;P&gt;Can you please explain me how this code works?&lt;/P&gt;</description>
      <pubDate>Mon, 12 Sep 2016 11:05:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-PRINT/m-p/297711#M60298</guid>
      <dc:creator>SamuelRajKandru</dc:creator>
      <dc:date>2016-09-12T11:05:58Z</dc:date>
    </item>
    <item>
      <title>Re: PROC PRINT</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-PRINT/m-p/297713#M60300</link>
      <description>&lt;P&gt;Here's how the pieces interact.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The NOBS= option on the SET statement creates a temporary variable, holding the number of observations in the data set.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Normally, the SET statement starts at the beginning of the data set and reads the next observation every time. &amp;nbsp;The POINT= option changes that, reading the observation designated by the POINT= variable.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The OUTPUT statement outputs the current observation, without waiting for later DATA step processing to occur.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The STOP statement halts the DATA step, to prevent looping that would read the same observatiosn over and over again.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Sep 2016 11:18:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-PRINT/m-p/297713#M60300</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2016-09-12T11:18:51Z</dc:date>
    </item>
  </channel>
</rss>

