<?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 report procedure in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/proc-report-procedure/m-p/398252#M96311</link>
    <description>&lt;P&gt;Hi:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; As an alternative, you can also use the NOCOMPLETECOLS option, as shown below. In addition, I showed how to get rid of the repetition of the label for VALUE in the output.&lt;/P&gt;
&lt;P&gt;cynthia&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;
proc report data=a nocompletecols;
column ('Trt' trt) visno, (param, value);
define trt / group ' ';
define visno / across;
define param / across;
define value / sum ' ';
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Sat, 23 Sep 2017 01:34:54 GMT</pubDate>
    <dc:creator>Cynthia_sas</dc:creator>
    <dc:date>2017-09-23T01:34:54Z</dc:date>
    <item>
      <title>proc report procedure</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-report-procedure/m-p/398234#M96302</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below is my code and output.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I do not want the red marked columns.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I know if I use proc transpose to deal with my data and output each column, then I can get what I want. However this will make the code a litte more complicated and longer.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does someone &amp;nbsp;know a better method to modify my code? Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.JPG" style="width: 499px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/15371iB477B9C284317197/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.JPG" alt="Capture.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data a;&lt;BR /&gt;input TRT $ Visno $ Param $ value;&lt;BR /&gt;datalines;&lt;BR /&gt;TRT1 v1 A 8&lt;BR /&gt;TRT1 v1 B 6&lt;BR /&gt;TRT1 v1 C 5&lt;BR /&gt;TRT1 v2 A 6&lt;BR /&gt;TRT1 v2 B 7&lt;BR /&gt;TRT1 v3 C 8&lt;BR /&gt;TRT2 v1 A 3&lt;BR /&gt;TRT2 v1 B 7&lt;BR /&gt;TRT2 v1 C 5&lt;BR /&gt;TRT2 v2 A 10&lt;BR /&gt;TRT2 v2 B 6&lt;BR /&gt;TRT2 v3 C 10&lt;BR /&gt;TRT3 v1 A 10&lt;BR /&gt;TRT3 v1 B 16&lt;BR /&gt;TRT3 v1 C 18&lt;BR /&gt;TRT3 v2 A 14&lt;BR /&gt;TRT3 v2 B 11&lt;BR /&gt;TRT3 v3 C 15&lt;BR /&gt;;&lt;/P&gt;&lt;P&gt;proc report data=a;&lt;BR /&gt;column trt visno, (param, value);&lt;BR /&gt;define trt / group;&lt;BR /&gt;define visno / across;&lt;BR /&gt;define param / across;&lt;BR /&gt;run;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Sep 2017 22:12:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-report-procedure/m-p/398234#M96302</guid>
      <dc:creator>Niugg2010</dc:creator>
      <dc:date>2017-09-22T22:12:35Z</dc:date>
    </item>
    <item>
      <title>Re: proc report procedure</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-report-procedure/m-p/398240#M96304</link>
      <description>&lt;PRE&gt;proc report data=a;
column trt visno, (param, value);
define trt / group;
define visno / across;
define param /  across;
define value / analysis nozero;
run;
&lt;/PRE&gt;</description>
      <pubDate>Fri, 22 Sep 2017 22:45:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-report-procedure/m-p/398240#M96304</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2017-09-22T22:45:01Z</dc:date>
    </item>
    <item>
      <title>Re: proc report procedure</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-report-procedure/m-p/398252#M96311</link>
      <description>&lt;P&gt;Hi:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; As an alternative, you can also use the NOCOMPLETECOLS option, as shown below. In addition, I showed how to get rid of the repetition of the label for VALUE in the output.&lt;/P&gt;
&lt;P&gt;cynthia&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;
proc report data=a nocompletecols;
column ('Trt' trt) visno, (param, value);
define trt / group ' ';
define visno / across;
define param / across;
define value / sum ' ';
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 23 Sep 2017 01:34:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-report-procedure/m-p/398252#M96311</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2017-09-23T01:34:54Z</dc:date>
    </item>
    <item>
      <title>Re: proc report procedure</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-report-procedure/m-p/398516#M96419</link>
      <description>&lt;P&gt;Thank you. Both ways work well.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Sep 2017 12:58:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-report-procedure/m-p/398516#M96419</guid>
      <dc:creator>Niugg2010</dc:creator>
      <dc:date>2017-09-25T12:58:52Z</dc:date>
    </item>
    <item>
      <title>Re: proc report procedure</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-report-procedure/m-p/398847#M96508</link>
      <description>&lt;P&gt;In addition I want to color coding "Value" column. Why the blow code does not work?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data a;&lt;BR /&gt;input TRT $ Visno $ Param $ value flg;&lt;BR /&gt;datalines;&lt;BR /&gt;TRT1 v1 A 8 1&lt;BR /&gt;TRT1 v1 B 6 0&lt;BR /&gt;TRT1 v1 C 5 2&lt;BR /&gt;TRT1 v2 A 6 0&lt;BR /&gt;TRT1 v2 B 7 0&lt;BR /&gt;TRT1 v3 C 8 0&lt;BR /&gt;TRT2 v1 A 3 1&lt;BR /&gt;TRT2 v1 B 7 3&lt;BR /&gt;TRT2 v1 C 5 2&lt;BR /&gt;TRT2 v2 A 10 0&lt;BR /&gt;TRT2 v2 B 6 1&lt;BR /&gt;TRT2 v3 C 10 0&lt;BR /&gt;TRT3 v1 A 10 2&lt;BR /&gt;TRT3 v1 B 16 1&lt;BR /&gt;TRT3 v1 C 18 2&lt;BR /&gt;TRT3 v2 A 14 1&lt;BR /&gt;TRT3 v2 B 11 2&lt;BR /&gt;TRT3 v3 C 15 1&lt;BR /&gt;;&lt;BR /&gt;proc report data=a NOCOMPLETECOLS;&lt;BR /&gt;column trt visno, (param, (flg value ));&lt;/P&gt;&lt;P&gt;define trt / group;&lt;BR /&gt;define visno / across;&lt;BR /&gt;define param / across;&lt;BR /&gt;define flg / display;&lt;/P&gt;&lt;P&gt;compute value;&lt;BR /&gt;if flg=1 and above&amp;gt;0 then call define(_col_,"style","style=[background=yellow]");&lt;BR /&gt;else if flg=2 then call define(_col_,"style","style=[background=orange]");&lt;BR /&gt;else if flg=3 then call define(_col_,"style","style=[background=red]");&lt;BR /&gt;endcomp;&lt;BR /&gt;run;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Sep 2017 15:49:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-report-procedure/m-p/398847#M96508</guid>
      <dc:creator>Niugg2010</dc:creator>
      <dc:date>2017-09-26T15:49:01Z</dc:date>
    </item>
    <item>
      <title>Re: proc report procedure</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-report-procedure/m-p/398939#M96561</link>
      <description>Hi, &lt;BR /&gt;  VALUE and FLG are both under an across item and so in this usage you cannot use the simple variable name in your compute block. You need to use absolute column numbers, as shown in this paper, &lt;A href="http://support.sas.com/resources/papers/proceedings14/SAS388-2014.pdfon" target="_blank"&gt;http://support.sas.com/resources/papers/proceedings14/SAS388-2014.pdfon&lt;/A&gt; pages 8 --11. &lt;BR /&gt;&lt;BR /&gt;cynthia</description>
      <pubDate>Tue, 26 Sep 2017 20:29:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-report-procedure/m-p/398939#M96561</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2017-09-26T20:29:23Z</dc:date>
    </item>
    <item>
      <title>Re: proc report procedure</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-report-procedure/m-p/398969#M96579</link>
      <description>This link "Page unavailable"</description>
      <pubDate>Tue, 26 Sep 2017 22:17:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-report-procedure/m-p/398969#M96579</guid>
      <dc:creator>Niugg2010</dc:creator>
      <dc:date>2017-09-26T22:17:18Z</dc:date>
    </item>
    <item>
      <title>Re: proc report procedure</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-report-procedure/m-p/399137#M96637</link>
      <description>Sorry, somehow the "on pages 8-11" overlapped with the URL:&lt;BR /&gt;&lt;A href="https://support.sas.com/resources/papers/proceedings14/SAS388-2014.pdf" target="_blank"&gt;https://support.sas.com/resources/papers/proceedings14/SAS388-2014.pdf&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;cynthia</description>
      <pubDate>Wed, 27 Sep 2017 12:22:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-report-procedure/m-p/399137#M96637</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2017-09-27T12:22:25Z</dc:date>
    </item>
    <item>
      <title>Re: proc report procedure</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-report-procedure/m-p/399141#M96639</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13549"&gt;@Cynthia_sas&lt;/a&gt;, it's not that simple.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you execute the code provided by&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/100692"&gt;@Niugg2010&lt;/a&gt;, you see that the log for PROC REPORT indicates that FLG is uninitialized. He is trying to color code his variable VALUE based upon the value of variable FLG. I don't see a way to do that, and also PROC REPORT tells us that FLG is uninitialized.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Sep 2017 12:47:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-report-procedure/m-p/399141#M96639</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2017-09-27T12:47:22Z</dc:date>
    </item>
    <item>
      <title>Re: proc report procedure</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-report-procedure/m-p/399160#M96648</link>
      <description>In the page 11 you mentioned "To see the full code for the COMPUTE block, download the&lt;BR /&gt;ZIP file of programs that will out on the R&amp;amp;D website on support.sas.com". I can not find the link. Can you please offer me a link? Thanks</description>
      <pubDate>Wed, 27 Sep 2017 13:39:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-report-procedure/m-p/399160#M96648</guid>
      <dc:creator>Niugg2010</dc:creator>
      <dc:date>2017-09-27T13:39:46Z</dc:date>
    </item>
    <item>
      <title>Re: proc report procedure</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-report-procedure/m-p/399174#M96656</link>
      <description>&lt;P&gt;Below is my code, still does not work.&lt;/P&gt;&lt;P&gt;by the way, if i use "&lt;SPAN&gt;%if &amp;amp;i&amp;nbsp; in (2,4,6,8,10,18) %then %do;" instead of&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;%if &amp;amp;i =2 or &amp;amp;i=4 or &amp;amp;i=6 or &amp;amp;i=8 or &amp;amp;i=10 or &amp;amp;i=18 %then %do;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;the code produces some errors.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;options mprint ;&lt;BR /&gt;proc report data=a;&lt;BR /&gt;column trt visno, (param, (flg value ));&lt;BR /&gt;define trt / group;&lt;BR /&gt;define visno / across;&lt;BR /&gt;define param / across;&lt;BR /&gt;define flg / display;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;compute value ;&lt;BR /&gt;%macro flg;&lt;BR /&gt;%do i=2 %to 18;&lt;BR /&gt;%let k=%eval(&amp;amp;i+1);&lt;BR /&gt;%if &amp;amp;i =2 or &amp;amp;i=4 or &amp;amp;i=6 or &amp;amp;i=8 or &amp;amp;i=10 or &amp;amp;i=18 %then %do;&lt;BR /&gt;%put &amp;amp;i &amp;amp;k;&lt;/P&gt;&lt;P&gt;if _c&amp;amp;i._=1 then call define(_c&amp;amp;k._,"style","style=[background=yellow]");&lt;BR /&gt;if _c&amp;amp;i._=2 then call define(_c&amp;amp;k._,"style","style=[background=orange]");&lt;BR /&gt;if _c&amp;amp;i._=3 then call define(_c&amp;amp;k._,"style","style=[background=red]");&lt;BR /&gt;%end;&lt;BR /&gt;%end;&lt;BR /&gt;%mend;&lt;BR /&gt;%flg;&lt;BR /&gt;endcomp;&lt;BR /&gt;run;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Sep 2017 14:10:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-report-procedure/m-p/399174#M96656</guid>
      <dc:creator>Niugg2010</dc:creator>
      <dc:date>2017-09-27T14:10:39Z</dc:date>
    </item>
    <item>
      <title>Re: proc report procedure</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-report-procedure/m-p/399185#M96663</link>
      <description>&lt;P&gt;Below code works. I forgot to add " ", in&amp;nbsp; _c.&amp;amp;K.&amp;nbsp; sorry for that. Thank you all.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;if someone help me to optimize my code it will be perfect.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;options mprint ;&lt;BR /&gt;proc report data=a nocompletecols;&lt;BR /&gt;column trt visno, (param, (flg value ));&lt;BR /&gt;define trt / group;&lt;BR /&gt;define visno / across;&lt;BR /&gt;define param / across;&lt;BR /&gt;define flg / display;&lt;/P&gt;&lt;P&gt;compute value ;&lt;BR /&gt;%macro flg;&lt;BR /&gt;%do i=2 %to 18;&lt;BR /&gt;%let k=%eval(&amp;amp;i+1);&lt;BR /&gt;%if &amp;amp;i =2 or &amp;amp;i=4 or &amp;amp;i=6 or &amp;amp;i=8 or &amp;amp;i=10 or &amp;amp;i=18 %then %do;&lt;BR /&gt;%put &amp;amp;i &amp;amp;k;&lt;BR /&gt;if _c&amp;amp;i._=1 then call define("_c&amp;amp;k._","style","style=[background=yellow]");&lt;BR /&gt;if _c&amp;amp;i._=2 then call define("_c&amp;amp;k._","style","style=[background=orange]");&lt;BR /&gt;if _c&amp;amp;i._=3 then call define("_c&amp;amp;k._","style","style=[background=red]");&lt;BR /&gt;%end;&lt;BR /&gt;%end;&lt;BR /&gt;%mend;&lt;BR /&gt;%flg;&lt;BR /&gt;endcomp;&lt;BR /&gt;run;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Sep 2017 14:30:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-report-procedure/m-p/399185#M96663</guid>
      <dc:creator>Niugg2010</dc:creator>
      <dc:date>2017-09-27T14:30:44Z</dc:date>
    </item>
    <item>
      <title>Re: proc report procedure</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-report-procedure/m-p/399231#M96682</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt; Yes, you're right, he cannot test the value of FLG directly. However, with any nesting in the ACROSS area, there will be an absolute column number assigned for each unique combination of values. So, for example, consider SASHELP.PRDSALE -- not the most interesting data, but has some good variables for nesting in the ACROSS usage.&lt;BR /&gt;&lt;BR /&gt;Here's an example.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="proc_report_question.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/15456i003D49CC88827126/image-size/large?v=v2&amp;amp;px=999" role="button" title="proc_report_question.png" alt="proc_report_question.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;code in the posting below.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As you can see, I have 2 variables nested in the ACROSS -- Region (EAST or WEST) and Prodtype (FURNITURE or OFFICE). In my PROC REPORT code, I cannot test whether the value of REGION is EAST or WEST. But I can test the absolute column number because the EAST columns are _c2_ and _c3_ and the WEST columns are _c4_ and _c5_. I also know that EAST/FURNITURE is _c2_ and EAST/OFFICE is _c3_ and likewise, WEST/FURNITURE is _c4_ and WEST/OFFICE is _c5_.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps,&lt;/P&gt;
&lt;P&gt;cynthia&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;(I will track down the location of the data for that presentation.)&lt;/P&gt;</description>
      <pubDate>Wed, 27 Sep 2017 15:39:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-report-procedure/m-p/399231#M96682</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2017-09-27T15:39:12Z</dc:date>
    </item>
    <item>
      <title>Re: proc report procedure</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-report-procedure/m-p/399232#M96683</link>
      <description>&lt;P&gt;proc sort data=sashelp.prdsale out=consumer;&lt;BR /&gt;where division = 'CONSUMER';&lt;BR /&gt;by country region;&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;proc report data=consumer;&lt;BR /&gt;&amp;nbsp; title '1) testing absolute columns for ACROSS items';&lt;BR /&gt;&amp;nbsp; column country region,prodtype,actual;&lt;BR /&gt;&amp;nbsp; define country / group;&lt;BR /&gt;&amp;nbsp; define region / across;&lt;BR /&gt;&amp;nbsp; define prodtype / across;&lt;BR /&gt;&amp;nbsp; define actual / sum;&lt;BR /&gt;&amp;nbsp; compute actual;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if _c2_ gt 25000 then&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; call define ('_c2_','style','style={background=lightyellow');&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if _c4_ gt 25000 then&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; call define ('_c4_','style','style={background=lightgreen');&lt;BR /&gt;&amp;nbsp; endcomp;&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;proc report data=consumer;&lt;BR /&gt;&amp;nbsp; column country region,prodtype,actual;&lt;BR /&gt;&amp;nbsp; title '2) also testing country value for highlight';&lt;BR /&gt;&amp;nbsp; define country / group;&lt;BR /&gt;&amp;nbsp; define region / across;&lt;BR /&gt;&amp;nbsp; define prodtype / across;&lt;BR /&gt;&amp;nbsp; define actual / sum;&lt;BR /&gt;&amp;nbsp; compute actual;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if _c2_ gt 25000 then&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; call define ('_c2_','style','style={background=lightyellow');&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if _c4_ gt 25000 then&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; call define ('_c4_','style','style={background=lightgreen');&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;if country = 'CANADA' and _c4_ lt 25000 then&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; call define ('_c4_','style','style={background=lightred');&lt;BR /&gt;&amp;nbsp; endcomp;&lt;BR /&gt;run;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Sep 2017 15:35:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-report-procedure/m-p/399232#M96683</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2017-09-27T15:35:03Z</dc:date>
    </item>
  </channel>
</rss>

