<?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 - page break in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/proc-report-page-break/m-p/74760#M8499</link>
    <description>From your post, it seems to me that you need only to omit those additional unwanted SAS variables "f, g, h" from your PROC REPORT code - maybe I misunderstood.&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.</description>
    <pubDate>Wed, 07 Oct 2009 16:54:45 GMT</pubDate>
    <dc:creator>sbb</dc:creator>
    <dc:date>2009-10-07T16:54:45Z</dc:date>
    <item>
      <title>proc report - page break</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/proc-report-page-break/m-p/74758#M8497</link>
      <description>i am having a,b,c,d,e,f,g,h variables and 100 observations. By default with proc report i am getting a,b,c,d,e variables and 1st 20 observations in page1 and remaining f,g,h variables and 1st 20 observations in page2. next 20 observations and a,b,c,d,e variables in page3 and so on......&lt;BR /&gt;
&lt;BR /&gt;
But i want to print(with proc report) a,b,c,d,e variables and 1st 20 observations in page1;  a,b,c,d,e variables and next 20 observations in page2; a,b,c,d,e variables and next 20 observations in page3 and so on....&lt;BR /&gt;
&lt;BR /&gt;
how i can achieve this?</description>
      <pubDate>Wed, 07 Oct 2009 10:01:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/proc-report-page-break/m-p/74758#M8497</guid>
      <dc:creator>Pavan_SAS</dc:creator>
      <dc:date>2009-10-07T10:01:56Z</dc:date>
    </item>
    <item>
      <title>Re: proc report - page break</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/proc-report-page-break/m-p/74759#M8498</link>
      <description>Probably you can't. PROC REPORT has pretty firm ideas about paneling and no options to change it. If I had to do this, I'd use two reports, the first with a, b, c, d, and e columns, and the 2nd with f, g, and h columns.</description>
      <pubDate>Wed, 07 Oct 2009 12:25:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/proc-report-page-break/m-p/74759#M8498</guid>
      <dc:creator>Tim_SAS</dc:creator>
      <dc:date>2009-10-07T12:25:50Z</dc:date>
    </item>
    <item>
      <title>Re: proc report - page break</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/proc-report-page-break/m-p/74760#M8499</link>
      <description>From your post, it seems to me that you need only to omit those additional unwanted SAS variables "f, g, h" from your PROC REPORT code - maybe I misunderstood.&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.</description>
      <pubDate>Wed, 07 Oct 2009 16:54:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/proc-report-page-break/m-p/74760#M8499</guid>
      <dc:creator>sbb</dc:creator>
      <dc:date>2009-10-07T16:54:45Z</dc:date>
    </item>
    <item>
      <title>Re: proc report - page break</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/proc-report-page-break/m-p/74761#M8500</link>
      <description>i want to print "f,g,h" also, after printing all a,b,c,d,e variables.</description>
      <pubDate>Thu, 08 Oct 2009 10:33:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/proc-report-page-break/m-p/74761#M8500</guid>
      <dc:creator>Pavan_SAS</dc:creator>
      <dc:date>2009-10-08T10:33:43Z</dc:date>
    </item>
    <item>
      <title>Re: proc report - page break</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/proc-report-page-break/m-p/74762#M8501</link>
      <description>Hi:&lt;BR /&gt;
  If you are using the RTF or PDF destinations, then you can change your orientation system option to Landscape, which may fit all the variables on one page. Otherwise, you may need to make two passes thru the data to get your report the ways you want. For example, in the program at the end of this post, in Step 1, there are 2 passes thru SASHELP.SHOES and in Step 2, the orientation has been changed to landscape orientation.&lt;BR /&gt;
 &lt;BR /&gt;
cynthia&lt;BR /&gt;
[pre]&lt;BR /&gt;
data shoes;&lt;BR /&gt;
  set sashelp.shoes;&lt;BR /&gt;
  Thisobs = _n_;&lt;BR /&gt;
run;&lt;BR /&gt;
                      &lt;BR /&gt;
**1) Make 2 passes thru the data;&lt;BR /&gt;
options orientation=portrait;&lt;BR /&gt;
                   &lt;BR /&gt;
ods rtf file='twopass.rtf' ;&lt;BR /&gt;
ods pdf file='twopass.pdf';&lt;BR /&gt;
                 &lt;BR /&gt;
  proc report data=shoes nowd;&lt;BR /&gt;
     title 'Some variables';&lt;BR /&gt;
     column Thisobs region product subsidiary sales;&lt;BR /&gt;
  run;&lt;BR /&gt;
                &lt;BR /&gt;
  proc report  data=shoes nowd;&lt;BR /&gt;
     title 'The rest of the variables (repeat thisobs and region for ID purposes)';&lt;BR /&gt;
     column Thisobs region inventory returns stores;&lt;BR /&gt;
  run;&lt;BR /&gt;
        &lt;BR /&gt;
ods _all_ close;&lt;BR /&gt;
               &lt;BR /&gt;
**2) Use Landscape orientation;&lt;BR /&gt;
option orientation=landscape;&lt;BR /&gt;
            &lt;BR /&gt;
ods rtf file='useland.rtf' ;&lt;BR /&gt;
ods pdf file='useland.pdf';&lt;BR /&gt;
              &lt;BR /&gt;
  proc report data=sashelp.shoes nowd;&lt;BR /&gt;
     title 'Use Landscape Orientation to Display All Columns';&lt;BR /&gt;
     column  region product subsidiary sales inventory returns stores;&lt;BR /&gt;
  run;&lt;BR /&gt;
ods _all_ close;&lt;BR /&gt;
[/pre]</description>
      <pubDate>Thu, 08 Oct 2009 15:33:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/proc-report-page-break/m-p/74762#M8501</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2009-10-08T15:33:43Z</dc:date>
    </item>
  </channel>
</rss>

