<?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: Suppress Page Break for the BY Variable ODS PDF in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Suppress-Page-Break-for-the-BY-Variable-ODS-PDF/m-p/38082#M5342</link>
    <description>My initial response is to suggest that you have total control with DATA step report generation.&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Google advanced search argument to consider using:&lt;BR /&gt;
&lt;BR /&gt;
data step programming report site:sas.com</description>
    <pubDate>Thu, 07 Jan 2010 18:28:26 GMT</pubDate>
    <dc:creator>sbb</dc:creator>
    <dc:date>2010-01-07T18:28:26Z</dc:date>
    <item>
      <title>Suppress Page Break for the BY Variable ODS PDF</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Suppress-Page-Break-for-the-BY-Variable-ODS-PDF/m-p/38081#M5341</link>
      <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
I have a sorted dataset and am using the sorted fields in the #byval1-6 in the title, All the variables in the BYVAL are same except variable 6 which sometimes changes. I have approx 10 records and would like to print them in the single page by just adding a blank line if the value of the BY variable changes instead of going to the next page.&lt;BR /&gt;
&lt;BR /&gt;
Version: SAS 9.1.3&lt;BR /&gt;
OS : AIX&lt;BR /&gt;
ODS PDF&lt;BR /&gt;
&lt;BR /&gt;
Regards&lt;BR /&gt;
Russell</description>
      <pubDate>Thu, 07 Jan 2010 17:29:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Suppress-Page-Break-for-the-BY-Variable-ODS-PDF/m-p/38081#M5341</guid>
      <dc:creator>RussellAlmeida</dc:creator>
      <dc:date>2010-01-07T17:29:02Z</dc:date>
    </item>
    <item>
      <title>Re: Suppress Page Break for the BY Variable ODS PDF</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Suppress-Page-Break-for-the-BY-Variable-ODS-PDF/m-p/38082#M5342</link>
      <description>My initial response is to suggest that you have total control with DATA step report generation.&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Google advanced search argument to consider using:&lt;BR /&gt;
&lt;BR /&gt;
data step programming report site:sas.com</description>
      <pubDate>Thu, 07 Jan 2010 18:28:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Suppress-Page-Break-for-the-BY-Variable-ODS-PDF/m-p/38082#M5342</guid>
      <dc:creator>sbb</dc:creator>
      <dc:date>2010-01-07T18:28:26Z</dc:date>
    </item>
    <item>
      <title>Re: Suppress Page Break for the BY Variable ODS PDF</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Suppress-Page-Break-for-the-BY-Variable-ODS-PDF/m-p/38083#M5343</link>
      <description>Hi:&lt;BR /&gt;
  In addition to Scott's suggestion, PROC REPORT allows you to do something similar to BY processing via the use of BREAK processing on GROUP or ORDER  variables. You can have a LINE statement write out a blank line when the value of a GROUP or ORDER variable (similar to your BY variable) changes.&lt;BR /&gt;
 &lt;BR /&gt;
  The syntax would be something like (note untested code...not at my computer):&lt;BR /&gt;
[pre]&lt;BR /&gt;
ods pdf file='c:\temp\testbr.pdf';&lt;BR /&gt;
 &lt;BR /&gt;
proc report data=sashelp.class nowd;&lt;BR /&gt;
  title 'List of Students and Averages for Age, Height and Weight by Gender';&lt;BR /&gt;
  column sex name age height weight;&lt;BR /&gt;
  define sex / order;&lt;BR /&gt;
  define name / order;&lt;BR /&gt;
  define age / mean;&lt;BR /&gt;
  define height / mean;&lt;BR /&gt;
  define weight / mean;&lt;BR /&gt;
  break after sex / summarize;&lt;BR /&gt;
  compute after sex;&lt;BR /&gt;
      line '   ';&lt;BR /&gt;
  end;&lt;BR /&gt;
run;&lt;BR /&gt;
         &lt;BR /&gt;
ods pdf close;&lt;BR /&gt;
[/pre]&lt;BR /&gt;
 &lt;BR /&gt;
cynthia</description>
      <pubDate>Fri, 08 Jan 2010 01:36:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Suppress-Page-Break-for-the-BY-Variable-ODS-PDF/m-p/38083#M5343</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2010-01-08T01:36:38Z</dc:date>
    </item>
    <item>
      <title>Re: Suppress Page Break for the BY Variable ODS PDF</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Suppress-Page-Break-for-the-BY-Variable-ODS-PDF/m-p/38084#M5344</link>
      <description>Russel&lt;BR /&gt;
&lt;BR /&gt;
have you seen the layout PROC PRINT provides when the ID variable list starts with all the BY variables?&lt;BR /&gt;
For example[pre]proc sort data= sashelp.class(obs=6) out= class ;&lt;BR /&gt;
  by sex age ;&lt;BR /&gt;
run ;&lt;BR /&gt;
proc print ;&lt;BR /&gt;
  by sex ;&lt;BR /&gt;
  id sex age ;&lt;BR /&gt;
 var name height ;&lt;BR /&gt;
run ;[/pre]The procedure inserts a blank line before each by-group[pre]The SAS System                            &lt;BR /&gt;
 &lt;BR /&gt;
Sex    Age     Name      Height&lt;BR /&gt;
 &lt;BR /&gt;
 F      13    Alice       56.5&lt;BR /&gt;
        13    Barbara     65.3&lt;BR /&gt;
        14    Carol       62.8&lt;BR /&gt;
 &lt;BR /&gt;
 M      12    James       57.3&lt;BR /&gt;
        14    Alfred      69.0&lt;BR /&gt;
        14    Henry       63.5&lt;BR /&gt;
[/pre]There are your blank lines between by-groups. &lt;BR /&gt;
In the PDF destination you still get page breaks while you use the NOBYLINE option. I hope with this style of ID/BY combination you might feel comfortable using PROC PRINT without the NOBYLINE option.&lt;BR /&gt;
 &lt;BR /&gt;
PeterC

punctuation helps, even when late &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt; Message was edited by: Peter.C</description>
      <pubDate>Sun, 10 Jan 2010 17:30:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Suppress-Page-Break-for-the-BY-Variable-ODS-PDF/m-p/38084#M5344</guid>
      <dc:creator>Peter_C</dc:creator>
      <dc:date>2010-01-10T17:30:07Z</dc:date>
    </item>
    <item>
      <title>Re: Suppress Page Break for the BY Variable ODS PDF</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Suppress-Page-Break-for-the-BY-Variable-ODS-PDF/m-p/38085#M5345</link>
      <description>Here's a conference paper demonstrating how a PROC REPORT output can be customized and then generated with a DATA _NULL_ step:&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="http://www2.sas.com/proceedings/sugi25/25/ad/25p032.pdf" target="_blank"&gt;http://www2.sas.com/proceedings/sugi25/25/ad/25p032.pdf&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.&lt;BR /&gt;
&lt;BR /&gt;
Suggested Google advanced search for this topic:&lt;BR /&gt;
&lt;BR /&gt;
proc report customized pagination site:sas.com</description>
      <pubDate>Sun, 10 Jan 2010 19:02:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Suppress-Page-Break-for-the-BY-Variable-ODS-PDF/m-p/38085#M5345</guid>
      <dc:creator>sbb</dc:creator>
      <dc:date>2010-01-10T19:02:43Z</dc:date>
    </item>
  </channel>
</rss>

