<?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 blank line in between records for ODS PDF report in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-Report-blank-line-in-between-records-for-ODS-PDF-report/m-p/627399#M23796</link>
    <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data report;
  input variable $ value $ group ;
  cards; 
Sex F 1
Sex M 1
Age &amp;lt;18 2
Age 18-30 2
Age 31-50 2
Age &amp;gt;50 2
;
run;
proc sql noprint;
select max(group) into : n from report;
quit;
proc report nowd data=report headline ;
  columns group variable value ;
  define group    / order noprint ;
  define variable / display ;
  define value     / display ;
 compute after group ;
  str=' ';
  len=ifn(group=&amp;amp;n,0,10);
  line str $varying10. len;
 endcomp;
 run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 26 Feb 2020 04:53:06 GMT</pubDate>
    <dc:creator>Ksharp</dc:creator>
    <dc:date>2020-02-26T04:53:06Z</dc:date>
    <item>
      <title>Proc Report blank line in between records for ODS PDF report</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-Report-blank-line-in-between-records-for-ODS-PDF-report/m-p/627398#M23795</link>
      <description>&lt;P&gt;Hello Community,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I&amp;nbsp; just want one blank line in between my records of two groups.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My data:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data report;
  input variable $ value $ group ;
  cards; 
Sex F 1
Sex M 1
Age &amp;lt;18 2
Age 18-30 2
Age 31-50 2
Age &amp;gt;50 2
;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;This is what I need in the pdf report:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 204px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/36394iF90AEB39D1A88DA3/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I have tried this:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods escapechar='~';
ods pdf file='line_test.pdf';
proc report nofs data=report headline ;
  columns group variable value ;
  define group    / order noprint ;
  define variable / display ;
  define value     / display ;
 compute after group / style={fontsize=0.1pt };
    length msg $ 64;

    if group=1 then do;
      msg = "~{newline 10}";
    end;
    else do;
      msg = "~{newline 0}";
    end;

    line msg $64.;
  endcomp;
run;
ods pdf close;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;In html view it shows as I needed, but in pdf its different. In pdf it shows as :&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 160px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/36395i715B79676660C061/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I just need only a blank line in between and not at the end.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Feb 2020 04:08:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-Report-blank-line-in-between-records-for-ODS-PDF-report/m-p/627398#M23795</guid>
      <dc:creator>SuryaKiran</dc:creator>
      <dc:date>2020-02-26T04:08:37Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Report blank line in between records for ODS PDF report</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-Report-blank-line-in-between-records-for-ODS-PDF-report/m-p/627399#M23796</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data report;
  input variable $ value $ group ;
  cards; 
Sex F 1
Sex M 1
Age &amp;lt;18 2
Age 18-30 2
Age 31-50 2
Age &amp;gt;50 2
;
run;
proc sql noprint;
select max(group) into : n from report;
quit;
proc report nowd data=report headline ;
  columns group variable value ;
  define group    / order noprint ;
  define variable / display ;
  define value     / display ;
 compute after group ;
  str=' ';
  len=ifn(group=&amp;amp;n,0,10);
  line str $varying10. len;
 endcomp;
 run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 26 Feb 2020 04:53:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-Report-blank-line-in-between-records-for-ODS-PDF-report/m-p/627399#M23796</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2020-02-26T04:53:06Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Report blank line in between records for ODS PDF report</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-Report-blank-line-in-between-records-for-ODS-PDF-report/m-p/627473#M23797</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/18408"&gt;@Ksharp&lt;/a&gt;&amp;nbsp;, this works as expected.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Feb 2020 13:43:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-Report-blank-line-in-between-records-for-ODS-PDF-report/m-p/627473#M23797</guid>
      <dc:creator>SuryaKiran</dc:creator>
      <dc:date>2020-02-26T13:43:54Z</dc:date>
    </item>
  </channel>
</rss>

