<?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: A Proc report question in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/A-Proc-report-question/m-p/72661#M8289</link>
    <description>Thanks Tim. &lt;BR /&gt;
This worked perfectly fine. &lt;BR /&gt;
&lt;BR /&gt;
I am troubling you with one more question. &lt;BR /&gt;
There is a line break between the 3 grids that are being created here and the space between the grid and the line break is quite a bit. &lt;BR /&gt;
&lt;BR /&gt;
Is there a way to reduce that? &lt;BR /&gt;
&lt;BR /&gt;
Again, thanks for your help&lt;BR /&gt;
&lt;BR /&gt;
Regards,&lt;BR /&gt;
Tej

Message was edited by: tejeshwar</description>
    <pubDate>Wed, 31 Mar 2010 13:03:24 GMT</pubDate>
    <dc:creator>tejeshwar</dc:creator>
    <dc:date>2010-03-31T13:03:24Z</dc:date>
    <item>
      <title>A Proc report question</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/A-Proc-report-question/m-p/72659#M8287</link>
      <description>I am running the below code and facing couple of issues. &lt;BR /&gt;
You will notice that executing the output of 3 datasets in a single email through proc report. However the problem is my objective is to have the header only on the fisrst one, but for me to be able to do that I have to give the option of title " " in the other 2 reports or else the output picks up the title from the first proc report.&lt;BR /&gt;
&lt;BR /&gt;
When i do that now, the title is blank but there is still a grey box which i really dont want &lt;BR /&gt;
&lt;BR /&gt;
The second issue there are some numbers that are -ve in the output. I need them in a format that represents -3 as (3). Could you suggest me a format to accomplish that. &lt;BR /&gt;
&lt;BR /&gt;
Below is the code&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
*rsubmit;&lt;BR /&gt;
filename OUTBOX1 email&lt;BR /&gt;
to=("XYZ@ab.com" &lt;BR /&gt;
)&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
type='text/html' subject=" Daily Acquisition " ; &lt;BR /&gt;
ods listing close ;&lt;BR /&gt;
ods html body = OUTBOX1   style=sasweb; &lt;BR /&gt;
 &lt;BR /&gt;
&lt;BR /&gt;
option nocenter ;&lt;BR /&gt;
proc report nowd data=Dc nowindows headline headskip split='*'  &lt;BR /&gt;
style(REPORT)={frame=box cellspacing=1 } &lt;BR /&gt;
style(HEADER)={background=#cccfff font_face=Tahoma font_size=1} &lt;BR /&gt;
style(COLUMN)={foreground=#000000 background=white font_face=Tahoma font_size=1}&lt;BR /&gt;
style(LINES)={foreground=white background=black font_face=Tahoma font_weight=bold font_size=1};&lt;BR /&gt;
column  type apps1  acts per ; &lt;BR /&gt;
title "Daily Acquisition 29MAR2010";&lt;BR /&gt;
define apps1 / '# Apps' format=comma16. center display;&lt;BR /&gt;
define acts/ '# Accts' format=comma16. center display; &lt;BR /&gt;
define per/ '% Appr' format=percent16.1 center display;&lt;BR /&gt;
compute apps1 ;&lt;BR /&gt;
if apps1 lt 0 then &lt;BR /&gt;
                            call define(_col_,'style','style=[foreground=red]');&lt;BR /&gt;
                     else&lt;BR /&gt;
                            call define(_col_,'style','style=[foreground=black]');&lt;BR /&gt;
endcomp;&lt;BR /&gt;
compute acts;&lt;BR /&gt;
if acts lt 0 then &lt;BR /&gt;
                            call define(_col_,'style','style=[foreground=red]');&lt;BR /&gt;
                     else&lt;BR /&gt;
                            call define(_col_,'style','style=[foreground=black]');&lt;BR /&gt;
              endcomp ;&lt;BR /&gt;
rbreak after / style= sasweb; &lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
proc report nowd data=ba nowindows headline headskip split='*'  &lt;BR /&gt;
style(REPORT)={frame=box cellspacing=1 } &lt;BR /&gt;
style(HEADER)={background=#cccfff font_face=Tahoma font_size=1} &lt;BR /&gt;
style(COLUMN)={foreground=#000000 background=white font_face=Tahoma font_size=1}&lt;BR /&gt;
style(LINES)={foreground=white background=black font_face=Tahoma font_weight=bold font_size=1};&lt;BR /&gt;
column  type apps1  acts per  ;&lt;BR /&gt;
title " ";&lt;BR /&gt;
define apps1 / '# Apps' format=comma16. center display;&lt;BR /&gt;
define acts/ '# Accts' format=comma16. center display; &lt;BR /&gt;
define per/ '% Appr' format=percent16.1 center display;&lt;BR /&gt;
compute apps1 ;&lt;BR /&gt;
if apps1 lt 0 then &lt;BR /&gt;
                            call define(_col_,'style','style=[foreground=red]');&lt;BR /&gt;
                     else&lt;BR /&gt;
                            call define(_col_,'style','style=[foreground=black]');&lt;BR /&gt;
endcomp;&lt;BR /&gt;
compute acts;&lt;BR /&gt;
if acts lt 0 then &lt;BR /&gt;
                            call define(_col_,'style','style=[foreground=red]');&lt;BR /&gt;
                     else&lt;BR /&gt;
                            call define(_col_,'style','style=[foreground=black]');&lt;BR /&gt;
              endcomp ;&lt;BR /&gt;
&lt;BR /&gt;
proc report nowd data=PLC nowindows headline headskip split='*'  &lt;BR /&gt;
style(REPORT)={frame=box cellspacing=1 } &lt;BR /&gt;
style(HEADER)={background=#cccfff font_face=Tahoma font_size=1} &lt;BR /&gt;
style(COLUMN)={foreground=#000000 background=white font_face=Tahoma font_size=1}&lt;BR /&gt;
style(LINES)={foreground=white background=black font_face=Tahoma font_weight=bold font_size=1};&lt;BR /&gt;
&lt;BR /&gt;
column  type apps1  acts per ;&lt;BR /&gt;
title " ";&lt;BR /&gt;
define apps1 / '# Apps' format=comma16. center display;&lt;BR /&gt;
define acts/ '# Accts' format=comma16. center display; &lt;BR /&gt;
define per/ '% Appr' format=percent16.1 center display;&lt;BR /&gt;
compute apps1 ;&lt;BR /&gt;
if apps1 lt 0 then &lt;BR /&gt;
                            call define(_col_,'style','style=[foreground=red]');&lt;BR /&gt;
                     else&lt;BR /&gt;
                            call define(_col_,'style','style=[foreground=black]');&lt;BR /&gt;
endcomp;&lt;BR /&gt;
compute acts;&lt;BR /&gt;
if acts lt 0 then &lt;BR /&gt;
                            call define(_col_,'style','style=[foreground=red]');&lt;BR /&gt;
                     else&lt;BR /&gt;
                            call define(_col_,'style','style=[foreground=black]');&lt;BR /&gt;
              endcomp ; &lt;BR /&gt;
&lt;BR /&gt;
footnote "*XXXXX   is included in the numbers ";&lt;BR /&gt;
run;&lt;BR /&gt;
ods html close;&lt;BR /&gt;
ods listing;</description>
      <pubDate>Wed, 31 Mar 2010 09:08:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/A-Proc-report-question/m-p/72659#M8287</guid>
      <dc:creator>tejeshwar</dc:creator>
      <dc:date>2010-03-31T09:08:17Z</dc:date>
    </item>
    <item>
      <title>Re: A Proc report question</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/A-Proc-report-question/m-p/72660#M8288</link>
      <description>Try using just &lt;BR /&gt;
&lt;BR /&gt;
[pre]title;[/pre]&lt;BR /&gt;
to turn off the titles&lt;BR /&gt;
(http://support.sas.com/documentation/cdl/en/lrdict/62618/HTML/default/a000220968.htm ).&lt;BR /&gt;
&lt;BR /&gt;
To format -3 as (3), use the NEGPARENw.d format&lt;BR /&gt;
(http://support.sas.com/documentation/cdl/en/lrdict/62618/HTML/default/a000205173.htm ).</description>
      <pubDate>Wed, 31 Mar 2010 12:09:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/A-Proc-report-question/m-p/72660#M8288</guid>
      <dc:creator>Tim_SAS</dc:creator>
      <dc:date>2010-03-31T12:09:23Z</dc:date>
    </item>
    <item>
      <title>Re: A Proc report question</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/A-Proc-report-question/m-p/72661#M8289</link>
      <description>Thanks Tim. &lt;BR /&gt;
This worked perfectly fine. &lt;BR /&gt;
&lt;BR /&gt;
I am troubling you with one more question. &lt;BR /&gt;
There is a line break between the 3 grids that are being created here and the space between the grid and the line break is quite a bit. &lt;BR /&gt;
&lt;BR /&gt;
Is there a way to reduce that? &lt;BR /&gt;
&lt;BR /&gt;
Again, thanks for your help&lt;BR /&gt;
&lt;BR /&gt;
Regards,&lt;BR /&gt;
Tej

Message was edited by: tejeshwar</description>
      <pubDate>Wed, 31 Mar 2010 13:03:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/A-Proc-report-question/m-p/72661#M8289</guid>
      <dc:creator>tejeshwar</dc:creator>
      <dc:date>2010-03-31T13:03:24Z</dc:date>
    </item>
  </channel>
</rss>

