<?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 question in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-Report-question/m-p/75639#M8584</link>
    <description>Hi cynthia,&lt;BR /&gt;
Thanks alot for your help.&lt;BR /&gt;
The reason i have listing options is because im also the using ods listing option&lt;BR /&gt;
(i didnt show it in the code beacuse it wasnt relevent to my question).</description>
    <pubDate>Tue, 20 Apr 2010 06:12:25 GMT</pubDate>
    <dc:creator>yonib</dc:creator>
    <dc:date>2010-04-20T06:12:25Z</dc:date>
    <item>
      <title>Proc Report question</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-Report-question/m-p/75637#M8582</link>
      <description>Hi,&lt;BR /&gt;
I made this code:&lt;BR /&gt;
&lt;BR /&gt;
ods html file= "xxxx.html"&lt;BR /&gt;
proc report data=temp   nowindows  noheader headskip nowd missing ;&lt;BR /&gt;
  column pt txt;&lt;BR /&gt;
  define pt         /order left ;&lt;BR /&gt;
  define txt        /group  width=150 ;&lt;BR /&gt;
compute after txt;&lt;BR /&gt;
line ' ';&lt;BR /&gt;
endcomp;&lt;BR /&gt;
compute after pt;&lt;BR /&gt;
line ' ';&lt;BR /&gt;
endcomp;&lt;BR /&gt;
compute before ;&lt;BR /&gt;
line @50 'Repeat Error';&lt;BR /&gt;
line '';&lt;BR /&gt;
endcomp;&lt;BR /&gt;
run;&lt;BR /&gt;
ods html close;&lt;BR /&gt;
&lt;BR /&gt;
Im trying to foreground the 'Repeat Error' with red color without succes....&lt;BR /&gt;
I tried to use call defined after  the compute before statment-its not working.&lt;BR /&gt;
&lt;BR /&gt;
Any ideas?&lt;BR /&gt;
&lt;BR /&gt;
Thanks in advanced</description>
      <pubDate>Mon, 19 Apr 2010 13:03:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-Report-question/m-p/75637#M8582</guid>
      <dc:creator>yonib</dc:creator>
      <dc:date>2010-04-19T13:03:18Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Report question</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-Report-question/m-p/75638#M8583</link>
      <description>Hi:&lt;BR /&gt;
  The style override for a line statement can be supplied in one of two ways:&lt;BR /&gt;
[pre]&lt;BR /&gt;
proc report data=temp nowindows noheader nowd missing &lt;BR /&gt;
     style(lines)={foreground=red};&lt;BR /&gt;
[/pre]&lt;BR /&gt;
            &lt;BR /&gt;
OR&lt;BR /&gt;
[pre]&lt;BR /&gt;
compute before / style={foreground=red} ;&lt;BR /&gt;
  line 'Repeat Error';&lt;BR /&gt;
  line ' ';&lt;BR /&gt;
endcomp;&lt;BR /&gt;
[/pre]&lt;BR /&gt;
                                      &lt;BR /&gt;
Also note that your HEADSKIP and WIDTH= options are not honored by ODS -- they are LISTING-destination only options. So, if you were hoping to get extra space after your headers or control the width of the TXT column -- you cannot use LISTING only options for the HTML destination. Also the "@50" in the LINE statement will have little impact on your text string, since in ODS HTML output. the LINE strings will be automatically centered. &lt;BR /&gt;
 &lt;BR /&gt;
Also, if the LISTING destination is open when you run this job, you might receive an error message such as this:&lt;BR /&gt;
[pre]&lt;BR /&gt;
ERROR: The width of txt is not between 1 and 96. Adjust the column width or line size.&lt;BR /&gt;
[/pre]&lt;BR /&gt;
                         &lt;BR /&gt;
...which is the result of having the LISTING destination open and setting the width of TXT to be 150. The way to get rid of this error message is to explicitly close the LISTING window:&lt;BR /&gt;
[pre]&lt;BR /&gt;
ods listing close;&lt;BR /&gt;
[/pre]&lt;BR /&gt;
                               &lt;BR /&gt;
cynthia</description>
      <pubDate>Mon, 19 Apr 2010 14:41:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-Report-question/m-p/75638#M8583</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2010-04-19T14:41:21Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Report question</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-Report-question/m-p/75639#M8584</link>
      <description>Hi cynthia,&lt;BR /&gt;
Thanks alot for your help.&lt;BR /&gt;
The reason i have listing options is because im also the using ods listing option&lt;BR /&gt;
(i didnt show it in the code beacuse it wasnt relevent to my question).</description>
      <pubDate>Tue, 20 Apr 2010 06:12:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-Report-question/m-p/75639#M8584</guid>
      <dc:creator>yonib</dc:creator>
      <dc:date>2010-04-20T06:12:25Z</dc:date>
    </item>
  </channel>
</rss>

