<?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 Break and Group in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Proc-Report-Break-and-Group/m-p/636722#M189198</link>
    <description>&lt;P&gt;Hello Team ,&lt;/P&gt;&lt;P&gt;I am struggling to generate rtf based on group and break at specific lines in RTF&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to genrate RTF as per below screen shot&lt;/P&gt;&lt;P&gt;Want Output:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="raja777pharma_0-1585786455935.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/37654iCCED5D4640FA67D7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="raja777pharma_0-1585786455935.png" alt="raja777pharma_0-1585786455935.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My Code is below TO genrate RTF&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc Report data=report split='^' missing nowd spanrows headline headskip ;
	column gpxpage paramn avisitn catno col1 col2 col3 col4 col5 col6 col7  ;
	define gpxpage	/order order=internal "" noprint;
	define paramn	/order order=internal "" noprint;
	define avisitn /order order=internal "" noprint;
    define catno /order order=internal "" noprint;

	define col1 /&amp;amp;Header  group style(column)=[cellwidth=1.2in font_face=Courier font_size=1.25just=l asis=on] style(hdr)=[just=l asis=on] flow;
    define col2 /"Parameter"  group style(column)=[cellwidth=0.8in font_face=Courier font_size=1.25just=l asis=on] style(hdr)=[just=l asis=on] flow;
    define col3 /"Statistics"   style(column)=[cellwidth=0.9in font_face=Courier font_size=1.25just=l asis=on] style(hdr)=[just=l asis=on] flow;
	define col4 /&amp;amp;Header1.   style(column)=[cellwidth=1in	font_face=Courier font_size=1.25just=c asis=on] style(hdr)=[just=c asis=on];
	define col5 /&amp;amp;Header2.  style(column)=[cellwidth=1in font_face=Courier font_size=1.25just=c asis=on] style(hdr)=[just=c asis=on];
    define col6 /&amp;amp;Header3.  style(column)=[cellwidth=1in font_face=Courier font_size=1.25just=c asis=on] style(hdr)=[just=c asis=on];
    define col7 /&amp;amp;Header99.  style(column)=[cellwidth=1in font_face=Courier font_size=1.25just=c asis=on] style(hdr)=[just=c asis=on];

	break after gpxpage / page;

	compute before gpxpage;
        line " ";
    endcomp;

run&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;My Current Output :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="raja777pharma_1-1585786637123.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/37655i3DE5E790101BE8B8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="raja777pharma_1-1585786637123.png" alt="raja777pharma_1-1585786637123.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Key Points :&amp;nbsp; The data should be sorting by : gpxpage paramn avisitn catno ,&lt;/LI&gt;&lt;LI&gt;The first COL1, COL2 to display Group and Break at COL2 after 'OBSERVER' and 'CHANGE' values&lt;/LI&gt;&lt;LI&gt;I have included in report only limit columns (in Expected RTF column 7,8,9 no need)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please let me know how i can attache the data set , as of now data attached in excel file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 02 Apr 2020 09:31:41 GMT</pubDate>
    <dc:creator>raja777pharma</dc:creator>
    <dc:date>2020-04-02T09:31:41Z</dc:date>
    <item>
      <title>Proc Report Break and Group</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Report-Break-and-Group/m-p/636722#M189198</link>
      <description>&lt;P&gt;Hello Team ,&lt;/P&gt;&lt;P&gt;I am struggling to generate rtf based on group and break at specific lines in RTF&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to genrate RTF as per below screen shot&lt;/P&gt;&lt;P&gt;Want Output:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="raja777pharma_0-1585786455935.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/37654iCCED5D4640FA67D7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="raja777pharma_0-1585786455935.png" alt="raja777pharma_0-1585786455935.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My Code is below TO genrate RTF&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc Report data=report split='^' missing nowd spanrows headline headskip ;
	column gpxpage paramn avisitn catno col1 col2 col3 col4 col5 col6 col7  ;
	define gpxpage	/order order=internal "" noprint;
	define paramn	/order order=internal "" noprint;
	define avisitn /order order=internal "" noprint;
    define catno /order order=internal "" noprint;

	define col1 /&amp;amp;Header  group style(column)=[cellwidth=1.2in font_face=Courier font_size=1.25just=l asis=on] style(hdr)=[just=l asis=on] flow;
    define col2 /"Parameter"  group style(column)=[cellwidth=0.8in font_face=Courier font_size=1.25just=l asis=on] style(hdr)=[just=l asis=on] flow;
    define col3 /"Statistics"   style(column)=[cellwidth=0.9in font_face=Courier font_size=1.25just=l asis=on] style(hdr)=[just=l asis=on] flow;
	define col4 /&amp;amp;Header1.   style(column)=[cellwidth=1in	font_face=Courier font_size=1.25just=c asis=on] style(hdr)=[just=c asis=on];
	define col5 /&amp;amp;Header2.  style(column)=[cellwidth=1in font_face=Courier font_size=1.25just=c asis=on] style(hdr)=[just=c asis=on];
    define col6 /&amp;amp;Header3.  style(column)=[cellwidth=1in font_face=Courier font_size=1.25just=c asis=on] style(hdr)=[just=c asis=on];
    define col7 /&amp;amp;Header99.  style(column)=[cellwidth=1in font_face=Courier font_size=1.25just=c asis=on] style(hdr)=[just=c asis=on];

	break after gpxpage / page;

	compute before gpxpage;
        line " ";
    endcomp;

run&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;My Current Output :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="raja777pharma_1-1585786637123.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/37655i3DE5E790101BE8B8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="raja777pharma_1-1585786637123.png" alt="raja777pharma_1-1585786637123.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Key Points :&amp;nbsp; The data should be sorting by : gpxpage paramn avisitn catno ,&lt;/LI&gt;&lt;LI&gt;The first COL1, COL2 to display Group and Break at COL2 after 'OBSERVER' and 'CHANGE' values&lt;/LI&gt;&lt;LI&gt;I have included in report only limit columns (in Expected RTF column 7,8,9 no need)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please let me know how i can attache the data set , as of now data attached in excel file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Apr 2020 09:31:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Report-Break-and-Group/m-p/636722#M189198</guid>
      <dc:creator>raja777pharma</dc:creator>
      <dc:date>2020-04-02T09:31:41Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Report Break and Group</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Report-Break-and-Group/m-p/636727#M189200</link>
      <description>&lt;P&gt;Attached the data in a excel file and data set&lt;/P&gt;</description>
      <pubDate>Thu, 02 Apr 2020 00:44:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Report-Break-and-Group/m-p/636727#M189200</guid>
      <dc:creator>raja777pharma</dc:creator>
      <dc:date>2020-04-02T00:44:41Z</dc:date>
    </item>
  </channel>
</rss>

