<?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 rtf output how to remove the empty space in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-report-rtf-output-how-to-remove-the-empty-space/m-p/633224#M23866</link>
    <description>Do you have the same problem using a stock SAS style ?&lt;BR /&gt;Do the 'half-width' tables have any columns that are too narrow and data is wrapped in the cell (causing 'tall' rows') ?&lt;BR /&gt;&lt;BR /&gt;Have you tried adding width= settings to certain columns to make them wider than ODS computed widths ?  Something like:&lt;BR /&gt;&lt;BR /&gt;DEFINE DESCRIPTION / style=[width=2.25in];</description>
    <pubDate>Thu, 19 Mar 2020 11:42:25 GMT</pubDate>
    <dc:creator>RichardDeVen</dc:creator>
    <dc:date>2020-03-19T11:42:25Z</dc:date>
    <item>
      <title>Proc report rtf output how to remove the empty space</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-report-rtf-output-how-to-remove-the-empty-space/m-p/633121#M23854</link>
      <description>&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Im trying to generate a rtf file using proc report, but in output rtf file I'm getting empty space in right half of every page. Table is in only half of the page in landscape mode&lt;/P&gt;&lt;P&gt;How can I make the table to cover entire page ?&lt;/P&gt;&lt;P&gt;Please refer the attached pic for the empty space I'm referring to&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My code high level is below&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;options orientation=landscape nodate PS=70 ls=120 nocenter nonumber nobyline 
topmargin=1.5in bottommargin=1in leftmargin=1in rightmargin=1in;
title; footnote;
ods _all_ close;
ods rtf file="C:\result_op\op.rtf"  startpage=yes style=tablertf BODYTITLE_AUX nogtitle;
ods escapechar='^';

proc report data = DS nowd spacing=2 headline headskip split = "|" nocenter missing;
columns /* column names */
**some define columns here ;

    TITLE1 "Test Proc report ";
   	FOOTNOTE3 "* Number of Subjects is only counted for unique subjects";
run;

ods rtf close;
ods listing; &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.JPG" style="width: 515px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/37012iA698577147DC1D6F/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;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Mar 2020 00:13:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-report-rtf-output-how-to-remove-the-empty-space/m-p/633121#M23854</guid>
      <dc:creator>adrnneadriana</dc:creator>
      <dc:date>2020-03-19T00:13:47Z</dc:date>
    </item>
    <item>
      <title>Re: Proc report rtf output how to remove the empty space</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-report-rtf-output-how-to-remove-the-empty-space/m-p/633133#M23855</link>
      <description>Did you download or create the style TABLERTF ?</description>
      <pubDate>Thu, 19 Mar 2020 02:13:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-report-rtf-output-how-to-remove-the-empty-space/m-p/633133#M23855</guid>
      <dc:creator>RichardDeVen</dc:creator>
      <dc:date>2020-03-19T02:13:42Z</dc:date>
    </item>
    <item>
      <title>Re: Proc report rtf output how to remove the empty space</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-report-rtf-output-how-to-remove-the-empty-space/m-p/633135#M23856</link>
      <description>&lt;P&gt;I have created it by overriding basic ones&lt;/P&gt;&lt;P&gt;made all fonts as Courier New, 9pt&amp;nbsp;&lt;/P&gt;&lt;P&gt;background and text colors&lt;/P&gt;&lt;P&gt;table border styles&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Mar 2020 02:19:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-report-rtf-output-how-to-remove-the-empty-space/m-p/633135#M23856</guid>
      <dc:creator>adrnneadriana</dc:creator>
      <dc:date>2020-03-19T02:19:44Z</dc:date>
    </item>
    <item>
      <title>Re: Proc report rtf output how to remove the empty space</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-report-rtf-output-how-to-remove-the-empty-space/m-p/633224#M23866</link>
      <description>Do you have the same problem using a stock SAS style ?&lt;BR /&gt;Do the 'half-width' tables have any columns that are too narrow and data is wrapped in the cell (causing 'tall' rows') ?&lt;BR /&gt;&lt;BR /&gt;Have you tried adding width= settings to certain columns to make them wider than ODS computed widths ?  Something like:&lt;BR /&gt;&lt;BR /&gt;DEFINE DESCRIPTION / style=[width=2.25in];</description>
      <pubDate>Thu, 19 Mar 2020 11:42:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-report-rtf-output-how-to-remove-the-empty-space/m-p/633224#M23866</guid>
      <dc:creator>RichardDeVen</dc:creator>
      <dc:date>2020-03-19T11:42:25Z</dc:date>
    </item>
    <item>
      <title>Re: Proc report rtf output how to remove the empty space</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-report-rtf-output-how-to-remove-the-empty-space/m-p/633241#M23867</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Do you have the same problem using a stock SAS style ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;Sorry, dont know about stock SAS style. What it has ?&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;But I have tried default template, and its same. Refer attached pic&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Do the 'half-width' tables have any columns that are too narrow and data is wrapped in the cell (causing 'tall' rows') ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;No wrapping, please refer pic&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;SPAN&gt;Have you tried adding width= settings to certain columns to make them wider than ODS computed widths ? Something like:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;DEFINE DESCRIPTION / style=[width=2.25in];&amp;nbsp; &amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;(What is equivalent code for spacing ?)&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;Great above width&amp;nbsp; is working. I have tried below and it didnt work for width spacing even by using default template. Why ?&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;DEFINE DESCRIPTION / display DESCRIPTION&amp;nbsp;width=20 spacing=5;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 999px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/37034iBAF3DE7972F60303/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Mar 2020 12:34:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-report-rtf-output-how-to-remove-the-empty-space/m-p/633241#M23867</guid>
      <dc:creator>adrnneadriana</dc:creator>
      <dc:date>2020-03-19T12:34:25Z</dc:date>
    </item>
    <item>
      <title>Re: Proc report rtf output how to remove the empty space</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-report-rtf-output-how-to-remove-the-empty-space/m-p/633272#M23868</link>
      <description>&lt;P&gt;DEFINE options such as WIDTH= and SPACE= are only applied to ODS LISTING destination.&lt;/P&gt;
&lt;P&gt;Check the Proc REPORT documentation. You will see disclaimers specific to LISTING, such as&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;WIDTH=column-width&lt;/P&gt;
&lt;P&gt;defines the width oft he column in which PROC REPORT displays report-item.&lt;STRONG&gt;This option affects only LISTING output.&lt;/STRONG&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Mar 2020 13:23:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-report-rtf-output-how-to-remove-the-empty-space/m-p/633272#M23868</guid>
      <dc:creator>RichardDeVen</dc:creator>
      <dc:date>2020-03-19T13:23:26Z</dc:date>
    </item>
    <item>
      <title>Re: Proc report rtf output how to remove the empty space</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-report-rtf-output-how-to-remove-the-empty-space/m-p/633295#M23869</link>
      <description>&lt;P&gt;Hi:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; You cannot confuse LISTING-only options with options that ODS honors. For example, system options like LINESIZE and PAGESIZE are ignored by ODS. Similarly, in PROC REPORT, options like BOX, WIDTH, SPACE, HEADLINE, HEADSKIP, DOL, DUL, OL, UL, SKIP etc -- these are all IGNORED by ODS DESTINATIONS, including ODS RTF. This Tech Support note &lt;A href="http://support.sas.com/rnd/base/ods/templateFAQ/report1.html" target="_blank"&gt;http://support.sas.com/rnd/base/ods/templateFAQ/report1.html&lt;/A&gt; talks about how to simulate some of the LISTING only options in the ODS HTML destination.&lt;/P&gt;
&lt;P&gt;&amp;nbsp; And, although WIDTH= on a DEFINE statement will NOT work, using WIDTH= or CELLWIDTH= on a style override is honored by most ODS destinations. I suspect that much of your issue comes from expecting LISTING-only options to work with ODS destinations.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cynthia&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Mar 2020 14:33:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-report-rtf-output-how-to-remove-the-empty-space/m-p/633295#M23869</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2020-03-19T14:33:45Z</dc:date>
    </item>
    <item>
      <title>Re: Proc report rtf output how to remove the empty space</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-report-rtf-output-how-to-remove-the-empty-space/m-p/635806#M23900</link>
      <description>Thank you Cynthia for the link and detailed explanation</description>
      <pubDate>Mon, 30 Mar 2020 13:34:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-report-rtf-output-how-to-remove-the-empty-space/m-p/635806#M23900</guid>
      <dc:creator>adrnneadriana</dc:creator>
      <dc:date>2020-03-30T13:34:58Z</dc:date>
    </item>
  </channel>
</rss>

