<?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 a row using proc print in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Highlighting-a-row-using-proc-print/m-p/12036#M1551</link>
    <description>Hi:&lt;BR /&gt;
  You can only highlight an entire ROW using PROC REPORT with a CALL DEFINE statement:&lt;BR /&gt;
[pre]&lt;BR /&gt;
if &lt;SOME condition=""&gt; then do;&lt;BR /&gt;
   call define (_ROW_,'style','style={background=pink}');&lt;BR /&gt;
end;&lt;BR /&gt;
[/pre]&lt;BR /&gt;
                   &lt;BR /&gt;
PROC PRINT does not have that capability. In the above code snippet, in a PROC REPORT COMPUTE block, the entire ROW would have a background color of PINK based on the condition -- of course, you could set other style attributes than the background -- that is only an example. The only other way besides PROC REPORT to highlight an entire row based on a condition is to use a custom TABLE template with a DATA step program.&lt;BR /&gt;
&lt;BR /&gt;
cynthia&lt;/SOME&gt;</description>
    <pubDate>Tue, 05 Oct 2010 18:01:59 GMT</pubDate>
    <dc:creator>Cynthia_sas</dc:creator>
    <dc:date>2010-10-05T18:01:59Z</dc:date>
    <item>
      <title>Highlighting a row using proc print</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Highlighting-a-row-using-proc-print/m-p/12035#M1550</link>
      <description>Hi &lt;BR /&gt;
&lt;BR /&gt;
is it possible to highlight a row/color it in  SAS using proc print and ODS PDF ?</description>
      <pubDate>Tue, 05 Oct 2010 17:56:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Highlighting-a-row-using-proc-print/m-p/12035#M1550</guid>
      <dc:creator>tommy81</dc:creator>
      <dc:date>2010-10-05T17:56:23Z</dc:date>
    </item>
    <item>
      <title>Re: Highlighting a row using proc print</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Highlighting-a-row-using-proc-print/m-p/12036#M1551</link>
      <description>Hi:&lt;BR /&gt;
  You can only highlight an entire ROW using PROC REPORT with a CALL DEFINE statement:&lt;BR /&gt;
[pre]&lt;BR /&gt;
if &lt;SOME condition=""&gt; then do;&lt;BR /&gt;
   call define (_ROW_,'style','style={background=pink}');&lt;BR /&gt;
end;&lt;BR /&gt;
[/pre]&lt;BR /&gt;
                   &lt;BR /&gt;
PROC PRINT does not have that capability. In the above code snippet, in a PROC REPORT COMPUTE block, the entire ROW would have a background color of PINK based on the condition -- of course, you could set other style attributes than the background -- that is only an example. The only other way besides PROC REPORT to highlight an entire row based on a condition is to use a custom TABLE template with a DATA step program.&lt;BR /&gt;
&lt;BR /&gt;
cynthia&lt;/SOME&gt;</description>
      <pubDate>Tue, 05 Oct 2010 18:01:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Highlighting-a-row-using-proc-print/m-p/12036#M1551</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2010-10-05T18:01:59Z</dc:date>
    </item>
  </channel>
</rss>

