<?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: REPORT / COMPUTER AFTER VAR not inserting a blank line in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/REPORT-COMPUTER-AFTER-VAR-not-inserting-a-blank-line/m-p/902713#M356753</link>
    <description>Hi:&lt;BR /&gt;  The LINE statement does not have an = sign as part of the syntax. I don't think you'll get an error, but the LINE statement will NOT work with an = statement. When I use this technique, I always just have &lt;BR /&gt;line ' ';&lt;BR /&gt;inside the COMPUTE block.&lt;BR /&gt;Cynthia</description>
    <pubDate>Sun, 12 Nov 2023 17:17:14 GMT</pubDate>
    <dc:creator>Cynthia_sas</dc:creator>
    <dc:date>2023-11-12T17:17:14Z</dc:date>
    <item>
      <title>REPORT / COMPUTER AFTER VAR not inserting a blank line</title>
      <link>https://communities.sas.com/t5/SAS-Programming/REPORT-COMPUTER-AFTER-VAR-not-inserting-a-blank-line/m-p/902709#M356752</link>
      <description>&lt;P&gt;I am using the following data:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data test ;
  length section_1
         row_1      $ 50
         ;
  section_order_1 = 1 ;
  section_1       = "Baseline" ;
  row_order_1     = 0 ;
  row_1           = "Baseline" ;
  output ;
  section_order_1 = 1 ;
  section_1       = "Baseline" ;
  row_order_1     = 1 ;
  row_1           = "n" ;
  output ;
  section_order_1 = 1 ;
  section_1       = "Baseline" ;
  row_order_1     = 2 ;
  row_1           = "Mean (SD)" ;
  output ;
  section_order_1 = 1 ;
  section_1       = "Baseline" ;
  row_order_1     = 3 ;
  row_1           = "Median" ;
  output ;
  section_order_1 = 1 ;
  section_1       = "Baseline" ;
  row_order_1     = 4 ;
  row_1           = "Q1, Q3" ;
  output ;
  section_order_1 = 1 ;
  section_1       = "Baseline" ;
  row_order_1     = 5 ;
  row_1           = "Min, Max" ;
  output ;
  section_order_1 = 2 ;
  section_1       = "Month 1" ;
  row_order_1     = 0 ;
  row_1           = "Month 1" ;
  output ;
  section_order_1 = 2 ;
  section_1       = "Month 1" ;
  row_order_1     = 1 ;
  row_1           = "n" ;
  output ;
  section_order_1 = 2 ;
  section_1       = "Month 1" ;
  row_order_1     = 2 ;
  row_1           = "Mean (SD)" ;
  output ;
  section_order_1 = 2 ;
  section_1       = "Month 1" ;
  row_order_1     = 3 ;
  row_1           = "Median" ;
  output ;
  section_order_1 = 2 ;
  section_1       = "Month 1" ;
  row_order_1     = 4 ;
  row_1           = "Q1, Q3" ;
  output ;
  section_order_1 = 2 ;
  section_1       = "Month 1" ;
  row_order_1     = 5 ;
  row_1           = "Min, Max" ;
  output ;
run ;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;to create a table:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="report.jpg" style="width: 113px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/89688i3D6DD10D836986DF/image-size/small?v=v2&amp;amp;px=200" role="button" title="report.jpg" alt="report.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;using the following code:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods listing close ;
ods rtf file  = "test.rtf" ;

proc report data = test ;
  column section_order_1
         section_1
         row_order_1
         row_1
         ;

  define section_order_1
       / order
         noprint
         ;

  define row_order_1
       / order
         noprint
         ;

  define section_1
       / display
         ;

  define row_1
       / display
         ;

  /******************/
  compute before section_order_1 ;
    line = " " ;
  endcomp ;

  compute row_1 ;
     if row_order_1 &amp;gt; 0
     then call define ( _col_
                      , "style"
                      , "style = { leftmargin = 3% }"
                      ) ;

  endcomp ;

run ;

ods rtf close ;
ods listing ;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I expect a blank line under the header and before Section_1 = "Month 1" and Row_1 = "Month 1".&amp;nbsp; I am not consistently get a blank line before (between) sections.&amp;nbsp; I included a second COMPUTE block that is creating a left margin for the "row" labels.&amp;nbsp; Can anyone see an issue with the code or suggest some alternative?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Kevin&lt;/P&gt;</description>
      <pubDate>Sun, 12 Nov 2023 16:37:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/REPORT-COMPUTER-AFTER-VAR-not-inserting-a-blank-line/m-p/902709#M356752</guid>
      <dc:creator>KevinViel</dc:creator>
      <dc:date>2023-11-12T16:37:25Z</dc:date>
    </item>
    <item>
      <title>Re: REPORT / COMPUTER AFTER VAR not inserting a blank line</title>
      <link>https://communities.sas.com/t5/SAS-Programming/REPORT-COMPUTER-AFTER-VAR-not-inserting-a-blank-line/m-p/902713#M356753</link>
      <description>Hi:&lt;BR /&gt;  The LINE statement does not have an = sign as part of the syntax. I don't think you'll get an error, but the LINE statement will NOT work with an = statement. When I use this technique, I always just have &lt;BR /&gt;line ' ';&lt;BR /&gt;inside the COMPUTE block.&lt;BR /&gt;Cynthia</description>
      <pubDate>Sun, 12 Nov 2023 17:17:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/REPORT-COMPUTER-AFTER-VAR-not-inserting-a-blank-line/m-p/902713#M356753</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2023-11-12T17:17:14Z</dc:date>
    </item>
    <item>
      <title>Re: REPORT / COMPUTER AFTER VAR not inserting a blank line</title>
      <link>https://communities.sas.com/t5/SAS-Programming/REPORT-COMPUTER-AFTER-VAR-not-inserting-a-blank-line/m-p/902714#M356754</link>
      <description>&lt;P&gt;Cynthia,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; I do not know how many times you have helped me, but if you see me at a conference, then let me know.&amp;nbsp; I owe you a bottle, at least.&amp;nbsp; (I think we met as SUGI 27 at the dinner [Saturday Night Massacre], but I may have you confused.&amp;nbsp; Paul Kent and Sandra were also there.)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;At any rate, that corrected the issue!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;With much gratitude,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Kevin&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;PS Now to INFILE hundreds of programs to check &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 12 Nov 2023 17:28:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/REPORT-COMPUTER-AFTER-VAR-not-inserting-a-blank-line/m-p/902714#M356754</guid>
      <dc:creator>KevinViel</dc:creator>
      <dc:date>2023-11-12T17:28:50Z</dc:date>
    </item>
    <item>
      <title>Re: REPORT / COMPUTER AFTER VAR not inserting a blank line</title>
      <link>https://communities.sas.com/t5/SAS-Programming/REPORT-COMPUTER-AFTER-VAR-not-inserting-a-blank-line/m-p/902725#M356757</link>
      <description>Kevin:&lt;BR /&gt;  Happy to help! I think we've connected at a few other SUGI/SGFs as well.&lt;BR /&gt;Cynthia</description>
      <pubDate>Sun, 12 Nov 2023 22:40:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/REPORT-COMPUTER-AFTER-VAR-not-inserting-a-blank-line/m-p/902725#M356757</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2023-11-12T22:40:49Z</dc:date>
    </item>
  </channel>
</rss>

