<?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 Proc Report summary statisistics in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-Report-summary-statisistics/m-p/426040#M20123</link>
    <description>&lt;P&gt;Hi There&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i am facing issue in the report in rtf file, i need to generate rtf file with 6 column (Col1.....col6);&lt;/P&gt;&lt;P&gt;col1 values should split into 2 lines and reset of the col2-col6 values need to alien from&amp;nbsp; 2nd line, can any one help me on this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;col1 is a order variable.&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My RTF report need to look like this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;col1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;col2&amp;nbsp; &amp;nbsp; &amp;nbsp; col3&amp;nbsp; &amp;nbsp; col4&amp;nbsp; &amp;nbsp;col5&amp;nbsp; &amp;nbsp;col6&lt;/P&gt;&lt;P&gt;xyz...(line1)&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;****need space ******&lt;/P&gt;&lt;P&gt;.......(line2)&amp;nbsp; &amp;nbsp; xxx&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;xxx&amp;nbsp; &amp;nbsp; &amp;nbsp; xxx&amp;nbsp; &amp;nbsp; &amp;nbsp;xxx&amp;nbsp; &amp;nbsp; &amp;nbsp;xxx&lt;/P&gt;&lt;P&gt;abc&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;xxx&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;xxx&amp;nbsp; &amp;nbsp; &amp;nbsp; xxx&amp;nbsp; &amp;nbsp; &amp;nbsp;xxx&amp;nbsp; &amp;nbsp; &amp;nbsp;xxx&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 09 Jan 2018 11:49:22 GMT</pubDate>
    <dc:creator>vikram_e</dc:creator>
    <dc:date>2018-01-09T11:49:22Z</dc:date>
    <item>
      <title>Proc Report summary statisistics</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-Report-summary-statisistics/m-p/426040#M20123</link>
      <description>&lt;P&gt;Hi There&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i am facing issue in the report in rtf file, i need to generate rtf file with 6 column (Col1.....col6);&lt;/P&gt;&lt;P&gt;col1 values should split into 2 lines and reset of the col2-col6 values need to alien from&amp;nbsp; 2nd line, can any one help me on this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;col1 is a order variable.&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My RTF report need to look like this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;col1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;col2&amp;nbsp; &amp;nbsp; &amp;nbsp; col3&amp;nbsp; &amp;nbsp; col4&amp;nbsp; &amp;nbsp;col5&amp;nbsp; &amp;nbsp;col6&lt;/P&gt;&lt;P&gt;xyz...(line1)&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;****need space ******&lt;/P&gt;&lt;P&gt;.......(line2)&amp;nbsp; &amp;nbsp; xxx&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;xxx&amp;nbsp; &amp;nbsp; &amp;nbsp; xxx&amp;nbsp; &amp;nbsp; &amp;nbsp;xxx&amp;nbsp; &amp;nbsp; &amp;nbsp;xxx&lt;/P&gt;&lt;P&gt;abc&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;xxx&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;xxx&amp;nbsp; &amp;nbsp; &amp;nbsp; xxx&amp;nbsp; &amp;nbsp; &amp;nbsp;xxx&amp;nbsp; &amp;nbsp; &amp;nbsp;xxx&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jan 2018 11:49:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-Report-summary-statisistics/m-p/426040#M20123</guid>
      <dc:creator>vikram_e</dc:creator>
      <dc:date>2018-01-09T11:49:22Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Report summary statisistics</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-Report-summary-statisistics/m-p/426061#M20125</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/55995"&gt;@vikram_e&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;Hi There&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;i am facing issue in the report in rtf file, i need to generate rtf file with 6 column (Col1.....col6);&lt;/P&gt;
&lt;P&gt;col1 values should split into 2 lines and reset of the col2-col6 values need to alien from&amp;nbsp; 2nd line, can any one help me on this.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;col1 is a order variable.&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My RTF report need to look like this.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;col1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;col2&amp;nbsp; &amp;nbsp; &amp;nbsp; col3&amp;nbsp; &amp;nbsp; col4&amp;nbsp; &amp;nbsp;col5&amp;nbsp; &amp;nbsp;col6&lt;/P&gt;
&lt;P&gt;xyz...(line1)&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;****need space ******&lt;/P&gt;
&lt;P&gt;.......(line2)&amp;nbsp; &amp;nbsp; xxx&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;xxx&amp;nbsp; &amp;nbsp; &amp;nbsp; xxx&amp;nbsp; &amp;nbsp; &amp;nbsp;xxx&amp;nbsp; &amp;nbsp; &amp;nbsp;xxx&lt;/P&gt;
&lt;P&gt;abc&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;xxx&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;xxx&amp;nbsp; &amp;nbsp; &amp;nbsp; xxx&amp;nbsp; &amp;nbsp; &amp;nbsp;xxx&amp;nbsp; &amp;nbsp; &amp;nbsp;xxx&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Of course, it would be very helpful to see some sample data.&lt;/P&gt;
&lt;P&gt;It would also be very helpful if you could explain&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;xyz...(line1)&lt;/P&gt;
&lt;P&gt;.........(line2)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;as this means nothing to me.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My general approach to this is to use PROC SUMMARY to obtain the proper statistics and a data step (if necessary) to create the proper rows (with a blank row that you obviously want), and then you can use PROC REPORT or even PROC PRINT to get the output to appear the way you want.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jan 2018 13:09:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-Report-summary-statisistics/m-p/426061#M20125</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2018-01-09T13:09:31Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Report summary statisistics</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-Report-summary-statisistics/m-p/426071#M20128</link>
      <description>&lt;P&gt;If you need to wrap some data content, you can use inline formatting, see ODS ESCAPECHAR= for more information.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is an example using this technique, the "&amp;lt;br&amp;gt;" is replace with&amp;nbsp;the inline formatting function for a newline. Please make sure the&amp;nbsp;variable used is wide enough to accommodate the inline formatting functions.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data have;
  infile cards dlm=",";
  input
    col1 : $64.
    col2
    col3
    col4
    col5
    col6
  ;
  col1N = tranwrd(col1, "&amp;lt;br&amp;gt;", "^{newline}");
cards;
xyz(line1)&amp;lt;br&amp;gt;(line2),1,2,3,4,5
xyzabc,10,20,30,40,50
;

ods escapechar="^";
proc report data=have;
  column col1n col2-col6;
  define col2 - col6 / style={ just=r vjust=bottom};
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 09 Jan 2018 13:26:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-Report-summary-statisistics/m-p/426071#M20128</guid>
      <dc:creator>BrunoMueller</dc:creator>
      <dc:date>2018-01-09T13:26:51Z</dc:date>
    </item>
  </channel>
</rss>

