<?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 How to fit all columns using proc report in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/How-to-fit-all-columns-using-proc-report/m-p/319651#M61907</link>
    <description>&lt;P&gt;Dear,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am generating a table using Proc report. My code works fine but the last column values are truncated. I increased linesize in &amp;nbsp;my code. That did not help. Where do i need to adjust to fit all the columns.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;The first OBS value parenthesis is truncated. Thank you. Please help&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Last column values&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;five&lt;/P&gt;&lt;P&gt;102 ( 60.1&lt;/P&gt;&lt;P&gt;80 ( 30.0)&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;code&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;options nonumber noquotelenmax orientation=landscape topmargin=1in leftmargin=0.6in bottommargin=0.7in rightmargin=1in linesize=256;&lt;BR /&gt;ods listing close;&lt;BR /&gt;ods escapechar = '^';&lt;BR /&gt;ods rtf file="C:\Users.rtf" style=journal;&lt;BR /&gt;title1 justify=right 'page ^{pageof}';&lt;BR /&gt;title2 ";&lt;BR /&gt;%let s = %sysfunc(repeat(%str(_), 149 )) ;&lt;/P&gt;&lt;P&gt;proc report data=data center headskip nowd missing split='|'&lt;BR /&gt;style(report)={outputwidth=100% cellpadding=3 rules=groups frame=above}&lt;BR /&gt;style(header)={font_weight=bold fontsize=9pt fontstyle=ROMAN}&lt;BR /&gt;style(lines)={cellpadding=1 fontsize=3pt};&lt;/P&gt;&lt;P&gt;column tm ts ts text ("^R'\brdrb\brdrs\brdrw10 'Double-Blind Withdrawal Phase" six one two three four five);&lt;BR /&gt;define tm/order noprint;&lt;BR /&gt;define ts/order noprint;&lt;BR /&gt;define ts/order noprint;&lt;BR /&gt;define text/ "Number (%) of Subjects with" style(column)={asis=on cellspacing=.25pt just=left width=25%} style(HEADER)={JUST=l} flow;&lt;BR /&gt;define six/ "Placebo|N=11" style(column)={cellspacing=.25pt just=left width=8%} style(HEADER)={JUST=l} flow;&lt;BR /&gt;define one/ "12.5 mg|N=70" style(column)={cellspacing=.25pt just=left width=8%} style(HEADER)={JUST=l} flow;&lt;BR /&gt;define two/ "35 mg|N=19" style(column)={cellspacing=.25pt just=left width=8%} style(HEADER)={JUST=l} flow;&lt;BR /&gt;define three/ "110 mg|N=52" style(column)={cellspacing=.25pt just=left width=8%} style(HEADER)={JUST=l} flow;&lt;BR /&gt;define four/ "100 mg|N=12" style(column)={cellspacing=.25pt just=left width=8%} style(HEADER)={JUST=l} flow ;&lt;BR /&gt;define five/"TT|OOO-000|N=203" style(column)={cellspacing=.25pt just=left width=8%} style(HEADER)={JUST=l} flow;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;ods rtf close;&lt;/P&gt;</description>
    <pubDate>Fri, 16 Dec 2016 20:56:30 GMT</pubDate>
    <dc:creator>knveraraju91</dc:creator>
    <dc:date>2016-12-16T20:56:30Z</dc:date>
    <item>
      <title>How to fit all columns using proc report</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-to-fit-all-columns-using-proc-report/m-p/319651#M61907</link>
      <description>&lt;P&gt;Dear,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am generating a table using Proc report. My code works fine but the last column values are truncated. I increased linesize in &amp;nbsp;my code. That did not help. Where do i need to adjust to fit all the columns.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;The first OBS value parenthesis is truncated. Thank you. Please help&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Last column values&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;five&lt;/P&gt;&lt;P&gt;102 ( 60.1&lt;/P&gt;&lt;P&gt;80 ( 30.0)&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;code&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;options nonumber noquotelenmax orientation=landscape topmargin=1in leftmargin=0.6in bottommargin=0.7in rightmargin=1in linesize=256;&lt;BR /&gt;ods listing close;&lt;BR /&gt;ods escapechar = '^';&lt;BR /&gt;ods rtf file="C:\Users.rtf" style=journal;&lt;BR /&gt;title1 justify=right 'page ^{pageof}';&lt;BR /&gt;title2 ";&lt;BR /&gt;%let s = %sysfunc(repeat(%str(_), 149 )) ;&lt;/P&gt;&lt;P&gt;proc report data=data center headskip nowd missing split='|'&lt;BR /&gt;style(report)={outputwidth=100% cellpadding=3 rules=groups frame=above}&lt;BR /&gt;style(header)={font_weight=bold fontsize=9pt fontstyle=ROMAN}&lt;BR /&gt;style(lines)={cellpadding=1 fontsize=3pt};&lt;/P&gt;&lt;P&gt;column tm ts ts text ("^R'\brdrb\brdrs\brdrw10 'Double-Blind Withdrawal Phase" six one two three four five);&lt;BR /&gt;define tm/order noprint;&lt;BR /&gt;define ts/order noprint;&lt;BR /&gt;define ts/order noprint;&lt;BR /&gt;define text/ "Number (%) of Subjects with" style(column)={asis=on cellspacing=.25pt just=left width=25%} style(HEADER)={JUST=l} flow;&lt;BR /&gt;define six/ "Placebo|N=11" style(column)={cellspacing=.25pt just=left width=8%} style(HEADER)={JUST=l} flow;&lt;BR /&gt;define one/ "12.5 mg|N=70" style(column)={cellspacing=.25pt just=left width=8%} style(HEADER)={JUST=l} flow;&lt;BR /&gt;define two/ "35 mg|N=19" style(column)={cellspacing=.25pt just=left width=8%} style(HEADER)={JUST=l} flow;&lt;BR /&gt;define three/ "110 mg|N=52" style(column)={cellspacing=.25pt just=left width=8%} style(HEADER)={JUST=l} flow;&lt;BR /&gt;define four/ "100 mg|N=12" style(column)={cellspacing=.25pt just=left width=8%} style(HEADER)={JUST=l} flow ;&lt;BR /&gt;define five/"TT|OOO-000|N=203" style(column)={cellspacing=.25pt just=left width=8%} style(HEADER)={JUST=l} flow;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;ods rtf close;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Dec 2016 20:56:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-to-fit-all-columns-using-proc-report/m-p/319651#M61907</guid>
      <dc:creator>knveraraju91</dc:creator>
      <dc:date>2016-12-16T20:56:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to fit all columns using proc report</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-to-fit-all-columns-using-proc-report/m-p/319656#M61908</link>
      <description>&lt;P&gt;ODS destinations other than listing really don't care about line size.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How much is being truncated? If it is only&amp;nbsp;a few character you might either use a Style with genearlly smaller font sizes or specify a smaller font size for just a few columns. You may also gain a little spacing by reducing the CELLPADDING style element as well as the CELLSPACING or setting specific cell width in units instead of percent.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you are talking about losing 40 or 50 characters then you may need to do something more drastic like changing papersize or switching to landscape.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Dec 2016 21:03:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-to-fit-all-columns-using-proc-report/m-p/319656#M61908</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2016-12-16T21:03:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to fit all columns using proc report</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-to-fit-all-columns-using-proc-report/m-p/319671#M61909</link>
      <description>&lt;P&gt;Thank you. I got the output I need.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have one more question. Please help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How to prduce two tables (one after another) in one report. The tables from vendor contain first table on first two pages and second on next two pages.&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>Fri, 16 Dec 2016 21:31:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-to-fit-all-columns-using-proc-report/m-p/319671#M61909</guid>
      <dc:creator>knveraraju91</dc:creator>
      <dc:date>2016-12-16T21:31:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to fit all columns using proc report</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-to-fit-all-columns-using-proc-report/m-p/319678#M61910</link>
      <description>&lt;P&gt;Is this a case of too many columns wrapping? The options are going to be making the destination wider or the columns narrower to fit the information on one row, if I understand the problem. Possibly setting the system option PAPERSIZE will help, though if the resulting PDF is expected to actually be printed that may cause another problem later.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Dec 2016 21:51:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-to-fit-all-columns-using-proc-report/m-p/319678#M61910</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2016-12-16T21:51:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to fit all columns using proc report</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-to-fit-all-columns-using-proc-report/m-p/319685#M61911</link>
      <description>&lt;P&gt;Hi:&lt;BR /&gt;&amp;nbsp; You have 1 ODS RTF "Sandwich" and you put both PROC REPORTS inside that FILE= listed on the top statement.&lt;/P&gt;
&lt;P&gt;cynthia&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods rtf file="c:\temp\both_reports_one_file.rtf";
 
** proc report 1;

** proc report 2;

ods rtf close;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 16 Dec 2016 22:59:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-to-fit-all-columns-using-proc-report/m-p/319685#M61911</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2016-12-16T22:59:33Z</dc:date>
    </item>
  </channel>
</rss>

