<?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: ods rtf column width question in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-rtf-column-width-question/m-p/323317#M17697</link>
    <description>&lt;P&gt;So, you have put spaces before the word "Alice" yes, and you want them to show in your output. &amp;nbsp;Then you need to update this line:&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;define name / display order "Name" left width=40 ;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;To read:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;define name / display order "Name" left width=40 style={asis=on};&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Its a tricky option to find any information on this one.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 09 Jan 2017 10:30:39 GMT</pubDate>
    <dc:creator>RW9</dc:creator>
    <dc:date>2017-01-09T10:30:39Z</dc:date>
    <item>
      <title>ods rtf column width question</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-rtf-column-width-question/m-p/323247#M17696</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I need help with ODS RTF template, proc report column width. I would like to control column width in output. But somehow all spaces are truncating.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Below is my code,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;options orientation = landscape ls=140 ps=45 nocenter nobyline nodate nonumber ;&lt;BR /&gt;options noxwait noxsync mlogic nosymbolgen mprint missing = '' formchar='|_---|+|---+=|-/\&amp;lt;&amp;gt;*' ;&lt;/P&gt;
&lt;P&gt;proc template;&lt;BR /&gt; define style myrtfstyle;&lt;BR /&gt; parent=styles.rtf;&lt;BR /&gt; style Table from output /&lt;BR /&gt; background=_undef_&lt;BR /&gt; Rules=groups&lt;BR /&gt; Frame=void&lt;BR /&gt; just=center&lt;BR /&gt; font=("Courier New", 9pt)&lt;BR /&gt; cellpadding = 1pt&lt;BR /&gt; cellspacing = 0pt&lt;BR /&gt; borderwidth = 0.5pt ;&lt;/P&gt;
&lt;P&gt;style rowheader /&lt;BR /&gt; background=white&lt;BR /&gt; font=("Courier New", 11pt, bold)&lt;BR /&gt; ;&lt;BR /&gt; style header /&lt;BR /&gt; background=white&lt;BR /&gt; font=("Courier New", 8.5pt, bold)&lt;BR /&gt; ;&lt;BR /&gt; style systemtitle /&lt;BR /&gt; font=("Courier New", 8.5pt, bold)&lt;BR /&gt; ;&lt;BR /&gt; style systemfooter /&lt;BR /&gt; font=("Courier New", 8.5pt, bold)&lt;BR /&gt; asis=on&lt;BR /&gt; ;&lt;BR /&gt; style data /&lt;BR /&gt; font=("Courier New", 8.5pt)&lt;BR /&gt; ;&lt;BR /&gt; replace Body from Document&lt;BR /&gt; "Controls the Body file." /&lt;BR /&gt; bottommargin = 1 in&lt;BR /&gt; topmargin = 1.25 in&lt;BR /&gt; rightmargin = 0.6 in&lt;BR /&gt; leftmargin = 0.8 in&lt;BR /&gt; ;&lt;BR /&gt; end;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;ods escapechar="^";&lt;/P&gt;
&lt;P&gt;data class;&lt;BR /&gt; set sashelp.class;&lt;BR /&gt; if name="Alice" then name=" Alice";&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;ods listing close;&lt;BR /&gt;ods rtf file="U:\delete\output.rtf" style=myrtfstyle;&lt;/P&gt;
&lt;P&gt;proc report data=class nocenter headline headskip missing split="~" spacing=10 nowd;&lt;BR /&gt; column name sex age height weight;&lt;/P&gt;
&lt;P&gt;define name / display order "Name" left width=40 ;&lt;BR /&gt; define sex / display "Sex" left width=40 flow; &lt;BR /&gt; define age / display "Age" left width=40 flow; &lt;BR /&gt; define height / "Height" left width=40 flow; &lt;BR /&gt; define weight / "Weight" left width=40 flow;&lt;/P&gt;
&lt;P&gt;break after name /skip;&lt;/P&gt;
&lt;P&gt;title1 j=c "Summary Body Weight (kg) by Visit" j=r "page ^{pageof}";&lt;BR /&gt; footnote1 j=c "%sysget(SAS_EXECFILENAME)";&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ods rtf close;&lt;BR /&gt;ods listing;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in advance.&lt;/P&gt;
&lt;P&gt;Saurabh&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/13308i1D1E5C24A12BE320/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="Capture.JPG" title="Capture.JPG" /&gt;</description>
      <pubDate>Mon, 09 Jan 2017 03:01:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-rtf-column-width-question/m-p/323247#M17696</guid>
      <dc:creator>saurabh</dc:creator>
      <dc:date>2017-01-09T03:01:07Z</dc:date>
    </item>
    <item>
      <title>Re: ods rtf column width question</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-rtf-column-width-question/m-p/323317#M17697</link>
      <description>&lt;P&gt;So, you have put spaces before the word "Alice" yes, and you want them to show in your output. &amp;nbsp;Then you need to update this line:&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;define name / display order "Name" left width=40 ;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;To read:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;define name / display order "Name" left width=40 style={asis=on};&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Its a tricky option to find any information on this one.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Jan 2017 10:30:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-rtf-column-width-question/m-p/323317#M17697</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2017-01-09T10:30:39Z</dc:date>
    </item>
    <item>
      <title>Re: ods rtf column width question</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-rtf-column-width-question/m-p/323357#M17698</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you so much for your inputs, yes with option asis=on working, But&amp;nbsp;break after/skip options is still not working.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Saurabh&lt;/P&gt;</description>
      <pubDate>Mon, 09 Jan 2017 14:16:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-rtf-column-width-question/m-p/323357#M17698</guid>
      <dc:creator>saurabh</dc:creator>
      <dc:date>2017-01-09T14:16:17Z</dc:date>
    </item>
    <item>
      <title>Re: ods rtf column width question</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-rtf-column-width-question/m-p/323375#M17699</link>
      <description>&lt;P&gt;Yes, good idea to formulate your questions clearly, giving examples. &amp;nbsp;Skip does not do anything in ods rtf, have a read of Cynthia's post in:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://communities.sas.com/t5/SAS-Enterprise-Guide/Break-and-Skip-statement/td-p/56082" target="_blank"&gt;https://communities.sas.com/t5/SAS-Enterprise-Guide/Break-and-Skip-statement/td-p/56082&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can emulate the skip by adding a compute + line " "; + endcomp;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Jan 2017 14:54:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-rtf-column-width-question/m-p/323375#M17699</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2017-01-09T14:54:42Z</dc:date>
    </item>
    <item>
      <title>Re: ods rtf column width question</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-rtf-column-width-question/m-p/323383#M17700</link>
      <description>&lt;P&gt;Thank you so much for your help and solution.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Jan 2017 15:13:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-rtf-column-width-question/m-p/323383#M17700</guid>
      <dc:creator>saurabh</dc:creator>
      <dc:date>2017-01-09T15:13:34Z</dc:date>
    </item>
  </channel>
</rss>

