<?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 customize lines through proc report in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/how-to-customize-lines-through-proc-report/m-p/4933#M1583</link>
    <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
Below there is my proc report code to generate a report:&lt;BR /&gt;
&lt;BR /&gt;
options   nocenter;&lt;BR /&gt;
&lt;BR /&gt;
proc report data=WORK.QUERY8283  nowd headskip  split='*' spacing=1 ;	&lt;BR /&gt;
&lt;BR /&gt;
column Gb_Br_Name	   &lt;BR /&gt;
	   Ageing&lt;BR /&gt;
	   Pi_In_Ordtype,&lt;BR /&gt;
	   (''(Pi_In_Recgoods=Pi_In_Recgoods1))&lt;BR /&gt;
	   Pi_In_Recgoods;&lt;BR /&gt;
		&lt;BR /&gt;
		define Gb_Br_Name / group  width=40 flow FORMAT=$30.;				&lt;BR /&gt;
		define Ageing / group width=25 flow FORMAT=$25.;	&lt;BR /&gt;
		define Pi_In_Ordtype / 'Order Type' across ;&lt;BR /&gt;
		define Pi_In_Recgoods1 / 'Value' FORMAT=COMMA16.2 ;	&lt;BR /&gt;
		define Pi_In_Recgoods / 'Total*Value ' FORMAT=COMMA16.2;&lt;BR /&gt;
		rbreak after /summarize ol;		&lt;BR /&gt;
		break after Ageing /  suppress skip;	&lt;BR /&gt;
		break after Gb_Br_Name /  summarize ol suppress skip;&lt;BR /&gt;
		compute before _page_;				&lt;BR /&gt;
   		 line @2  "&amp;amp;div"&lt;BR /&gt;
			  @10 "&amp;amp;repnum"&lt;BR /&gt;
			  &amp;amp;_CENT "&amp;amp;Rep_title"&lt;BR /&gt;
			  @109 "&amp;amp;repdate";            			&lt;BR /&gt;
		 line &amp;amp;_CENT &amp;amp;_LEN*'-';&lt;BR /&gt;
		endcomp;&lt;BR /&gt;
		compute after  Gb_Br_Name ;		&lt;BR /&gt;
				Ageing = 'Branch Total';&lt;BR /&gt;
					&lt;BR /&gt;
  	    endcomp; &lt;BR /&gt;
		compute after;&lt;BR /&gt;
		Ageing	='Company Total';&lt;BR /&gt;
			_last_page=1;&lt;BR /&gt;
		endcomp;&lt;BR /&gt;
		compute after _page_;&lt;BR /&gt;
		_page+1;&lt;BR /&gt;
		 if _last_page=1 then &lt;BR /&gt;
		 text='End of Report';&lt;BR /&gt;
		 else text=''; &lt;BR /&gt;
		 pagetxt='Page '||trim(left(_page));&lt;BR /&gt;
		 line center pagetxt $20.;&lt;BR /&gt;
		 line center text $20.;&lt;BR /&gt;
		endcomp;&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
I am getting proper output the only problem is that it prints a line above branch total label and company total also which i want to suppress the line&lt;BR /&gt;
I dont want to use Line statement in my code.&lt;BR /&gt;
Any solution for this issue?</description>
    <pubDate>Wed, 03 Oct 2007 22:05:12 GMT</pubDate>
    <dc:creator>deleted_user</dc:creator>
    <dc:date>2007-10-03T22:05:12Z</dc:date>
    <item>
      <title>how to customize lines through proc report</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/how-to-customize-lines-through-proc-report/m-p/4933#M1583</link>
      <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
Below there is my proc report code to generate a report:&lt;BR /&gt;
&lt;BR /&gt;
options   nocenter;&lt;BR /&gt;
&lt;BR /&gt;
proc report data=WORK.QUERY8283  nowd headskip  split='*' spacing=1 ;	&lt;BR /&gt;
&lt;BR /&gt;
column Gb_Br_Name	   &lt;BR /&gt;
	   Ageing&lt;BR /&gt;
	   Pi_In_Ordtype,&lt;BR /&gt;
	   (''(Pi_In_Recgoods=Pi_In_Recgoods1))&lt;BR /&gt;
	   Pi_In_Recgoods;&lt;BR /&gt;
		&lt;BR /&gt;
		define Gb_Br_Name / group  width=40 flow FORMAT=$30.;				&lt;BR /&gt;
		define Ageing / group width=25 flow FORMAT=$25.;	&lt;BR /&gt;
		define Pi_In_Ordtype / 'Order Type' across ;&lt;BR /&gt;
		define Pi_In_Recgoods1 / 'Value' FORMAT=COMMA16.2 ;	&lt;BR /&gt;
		define Pi_In_Recgoods / 'Total*Value ' FORMAT=COMMA16.2;&lt;BR /&gt;
		rbreak after /summarize ol;		&lt;BR /&gt;
		break after Ageing /  suppress skip;	&lt;BR /&gt;
		break after Gb_Br_Name /  summarize ol suppress skip;&lt;BR /&gt;
		compute before _page_;				&lt;BR /&gt;
   		 line @2  "&amp;amp;div"&lt;BR /&gt;
			  @10 "&amp;amp;repnum"&lt;BR /&gt;
			  &amp;amp;_CENT "&amp;amp;Rep_title"&lt;BR /&gt;
			  @109 "&amp;amp;repdate";            			&lt;BR /&gt;
		 line &amp;amp;_CENT &amp;amp;_LEN*'-';&lt;BR /&gt;
		endcomp;&lt;BR /&gt;
		compute after  Gb_Br_Name ;		&lt;BR /&gt;
				Ageing = 'Branch Total';&lt;BR /&gt;
					&lt;BR /&gt;
  	    endcomp; &lt;BR /&gt;
		compute after;&lt;BR /&gt;
		Ageing	='Company Total';&lt;BR /&gt;
			_last_page=1;&lt;BR /&gt;
		endcomp;&lt;BR /&gt;
		compute after _page_;&lt;BR /&gt;
		_page+1;&lt;BR /&gt;
		 if _last_page=1 then &lt;BR /&gt;
		 text='End of Report';&lt;BR /&gt;
		 else text=''; &lt;BR /&gt;
		 pagetxt='Page '||trim(left(_page));&lt;BR /&gt;
		 line center pagetxt $20.;&lt;BR /&gt;
		 line center text $20.;&lt;BR /&gt;
		endcomp;&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
I am getting proper output the only problem is that it prints a line above branch total label and company total also which i want to suppress the line&lt;BR /&gt;
I dont want to use Line statement in my code.&lt;BR /&gt;
Any solution for this issue?</description>
      <pubDate>Wed, 03 Oct 2007 22:05:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/how-to-customize-lines-through-proc-report/m-p/4933#M1583</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2007-10-03T22:05:12Z</dc:date>
    </item>
    <item>
      <title>Re: how to customize lines through proc report</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/how-to-customize-lines-through-proc-report/m-p/4934#M1584</link>
      <description>Hi:&lt;BR /&gt;
  See this posting:&lt;BR /&gt;
&lt;A href="http://support.sas.com/forums/thread.jspa?messageID=7894Ỗ" target="_blank"&gt;http://support.sas.com/forums/thread.jspa?messageID=7894Ỗ&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
cynthia</description>
      <pubDate>Thu, 04 Oct 2007 03:50:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/how-to-customize-lines-through-proc-report/m-p/4934#M1584</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2007-10-04T03:50:36Z</dc:date>
    </item>
  </channel>
</rss>

