<?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 PROC DOCUMENT: does REPLAYing individual entries result in an automatic PAGEBREAK? in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/PROC-DOCUMENT-does-REPLAYing-individual-entries-result-in-an/m-p/684950#M24471</link>
    <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When I replay all content in a catalog my pagebreak=no is being honoured. However when I specifty individual REPLAY statements it seems that each REPLAY statement is adding a PAGEBREAK.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods document name=test(write);

PROC ODSTEXT contents=" " pagebreak=no;
p "header1"; 
RUN;

PROC ODSTEXT contents=" " pagebreak=no;
p "header2"; 
RUN;
ods document close;


proc document name=test;
list / levels=all details;
replay;
run;
quit;

proc document name=test;
replay \ODSText#1\TextBlock#1;
replay \ODSText#2\TextBlock#1;
run;
quit;

&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Running this code results in this. Notice, no page break in the first proc document. The second proc document results in a pagebreak between the two items. Any ideas very welcome!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RichardP_0-1600431814408.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/49531i0D5FE766A285D0BA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RichardP_0-1600431814408.png" alt="RichardP_0-1600431814408.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;kind regards,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Richard&lt;/P&gt;</description>
    <pubDate>Fri, 18 Sep 2020 14:56:46 GMT</pubDate>
    <dc:creator>RichardP</dc:creator>
    <dc:date>2020-09-18T14:56:46Z</dc:date>
    <item>
      <title>PROC DOCUMENT: does REPLAYing individual entries result in an automatic PAGEBREAK?</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/PROC-DOCUMENT-does-REPLAYing-individual-entries-result-in-an/m-p/684950#M24471</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When I replay all content in a catalog my pagebreak=no is being honoured. However when I specifty individual REPLAY statements it seems that each REPLAY statement is adding a PAGEBREAK.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods document name=test(write);

PROC ODSTEXT contents=" " pagebreak=no;
p "header1"; 
RUN;

PROC ODSTEXT contents=" " pagebreak=no;
p "header2"; 
RUN;
ods document close;


proc document name=test;
list / levels=all details;
replay;
run;
quit;

proc document name=test;
replay \ODSText#1\TextBlock#1;
replay \ODSText#2\TextBlock#1;
run;
quit;

&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Running this code results in this. Notice, no page break in the first proc document. The second proc document results in a pagebreak between the two items. Any ideas very welcome!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RichardP_0-1600431814408.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/49531i0D5FE766A285D0BA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RichardP_0-1600431814408.png" alt="RichardP_0-1600431814408.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;kind regards,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Richard&lt;/P&gt;</description>
      <pubDate>Fri, 18 Sep 2020 14:56:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/PROC-DOCUMENT-does-REPLAYing-individual-entries-result-in-an/m-p/684950#M24471</guid>
      <dc:creator>RichardP</dc:creator>
      <dc:date>2020-09-18T14:56:46Z</dc:date>
    </item>
    <item>
      <title>Re: PROC DOCUMENT: does REPLAYing individual entries result in an automatic PAGEBREAK?</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/PROC-DOCUMENT-does-REPLAYing-individual-entries-result-in-an/m-p/685043#M24472</link>
      <description>&lt;P&gt;oops well this is embarrassing. When all else fails read the manual....&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;TABLE class="xisDoc-summary"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="916px" height="56px" class="xisDoc-summaryText"&gt;There is an initial page break for each destination for &lt;STRONG&gt;each&lt;/STRONG&gt; use of the REPLAY statement. There might be subsequent page breaks depending on the destination and the output being generated.&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So the answer to my problem is very simple -&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;proc document name=test;
replay \ODSText#1\TextBlock#1, \ODSText#2\TextBlock#1;
run;
quit;&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Sep 2020 17:21:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/PROC-DOCUMENT-does-REPLAYing-individual-entries-result-in-an/m-p/685043#M24472</guid>
      <dc:creator>RichardP</dc:creator>
      <dc:date>2020-09-18T17:21:46Z</dc:date>
    </item>
  </channel>
</rss>

