<?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: Highlighting top and bottom 10 rows in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Highlighting-top-and-bottom-10-rows/m-p/218434#M53730</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you so much Xia Keshan. It is exactly what I needed. In the future, I will make sure to post it in the corresponding forums.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 12 Apr 2015 02:44:22 GMT</pubDate>
    <dc:creator>VarmaSekhar</dc:creator>
    <dc:date>2015-04-12T02:44:22Z</dc:date>
    <item>
      <title>Highlighting top and bottom 10 rows</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Highlighting-top-and-bottom-10-rows/m-p/218432#M53728</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a dataset that I created from my insurance data. At the end, I need to create a pdf document that contains all of my data with highlighting top and bottom 10 rows (entire rows). Can someone help me how I can obtain this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Varma&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Apr 2015 01:58:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Highlighting-top-and-bottom-10-rows/m-p/218432#M53728</guid>
      <dc:creator>VarmaSekhar</dc:creator>
      <dc:date>2015-04-10T01:58:21Z</dc:date>
    </item>
    <item>
      <title>Re: Highlighting top and bottom 10 rows</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Highlighting-top-and-bottom-10-rows/m-p/218433#M53729</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You'd better post it at ODS and Report forum, Cynthia is good at it .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;
proc sql noprint;
 select count(*) into : n from sashelp.class;
quit;
ods listing close;
ods pdf file='c:\temp\x.pdf' style=sasweb;
proc report data=sashelp.class nowd;
 columns name sex age;
 define name/display;
 compute age;
&amp;nbsp; n+1;
&amp;nbsp; if n le 3 or n ge %eval(&amp;amp;n-3) then call define(_row_,'style','style={background=yellow}');
 endcomp;
run;
ods pdf close;
ods listing;

&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Xia Keshan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Apr 2015 15:25:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Highlighting-top-and-bottom-10-rows/m-p/218433#M53729</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2015-04-10T15:25:27Z</dc:date>
    </item>
    <item>
      <title>Re: Highlighting top and bottom 10 rows</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Highlighting-top-and-bottom-10-rows/m-p/218434#M53730</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you so much Xia Keshan. It is exactly what I needed. In the future, I will make sure to post it in the corresponding forums.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Apr 2015 02:44:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Highlighting-top-and-bottom-10-rows/m-p/218434#M53730</guid>
      <dc:creator>VarmaSekhar</dc:creator>
      <dc:date>2015-04-12T02:44:22Z</dc:date>
    </item>
  </channel>
</rss>

