<?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: proc report line statement in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/proc-report-line-statement/m-p/885215#M43329</link>
    <description>&lt;P&gt;Make the LINE statement conditionally:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;compute after sr;
  length linetext $200.;
  linetext = "";
  if sr=6 or  sr=8 then
  line linetext $200.;
endcomp;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Tue, 18 Jul 2023 07:37:21 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2023-07-18T07:37:21Z</dc:date>
    <item>
      <title>proc report line statement</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/proc-report-line-statement/m-p/885204#M43328</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data have;
	set sashelp.cars;
	where type = 'Sedan' and drivetrain = 'All' and msrp &amp;lt; 35000;
	sr=_N_;
	keep sr origin make model msrp;
run;

proc report data=have out=rect;
	columns sr origin make model msrp;
	define sr / order noprint;
	compute after sr;
		length linetext $200.;
		if sr=6 or  sr=8 then
			linetext = ' ';
		line linetext $200.;
	endcomp;
run;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;i want blank line after sr=6 and sr=8&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Daily1_0-1689657571116.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/85869i01CC57DF922CCA79/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Daily1_0-1689657571116.png" alt="Daily1_0-1689657571116.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jul 2023 05:21:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/proc-report-line-statement/m-p/885204#M43328</guid>
      <dc:creator>Daily1</dc:creator>
      <dc:date>2023-07-18T05:21:57Z</dc:date>
    </item>
    <item>
      <title>Re: proc report line statement</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/proc-report-line-statement/m-p/885215#M43329</link>
      <description>&lt;P&gt;Make the LINE statement conditionally:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;compute after sr;
  length linetext $200.;
  linetext = "";
  if sr=6 or  sr=8 then
  line linetext $200.;
endcomp;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 18 Jul 2023 07:37:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/proc-report-line-statement/m-p/885215#M43329</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2023-07-18T07:37:21Z</dc:date>
    </item>
    <item>
      <title>Re: proc report line statement</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/proc-report-line-statement/m-p/885227#M43330</link>
      <description>Not Working</description>
      <pubDate>Tue, 18 Jul 2023 09:36:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/proc-report-line-statement/m-p/885227#M43330</guid>
      <dc:creator>Daily1</dc:creator>
      <dc:date>2023-07-18T09:36:25Z</dc:date>
    </item>
    <item>
      <title>Re: proc report line statement</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/proc-report-line-statement/m-p/885253#M43333</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data have;
 set sashelp.cars;
 where type = 'Sedan' and drivetrain = 'All' and msrp &amp;lt; 35000;
 sr=_N_;
 keep group origin make model msrp; /*&amp;lt;-----------*/

 if sr=7 or  sr=9 then group+1;  /*&amp;lt;-----------*/
run;

proc report data=have nowd;
 columns group origin make model msrp;
    define group/order noprint;
compute before group;
 n+1;x=' ';
 if n=1 then len=0;else len=10;
 line x $varying10. len;
endcomp;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ksharp_0-1689680292827.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/85878iC9A865068846E1A6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ksharp_0-1689680292827.png" alt="Ksharp_0-1689680292827.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jul 2023 11:37:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/proc-report-line-statement/m-p/885253#M43333</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2023-07-18T11:37:56Z</dc:date>
    </item>
  </channel>
</rss>

