<?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 How to prevent SAS report row to break across pages? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-prevent-SAS-report-row-to-break-across-pages/m-p/916902#M361163</link>
    <description>&lt;P&gt;I am trying to report a variable with very long content:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data test;
  length text $32767.;
  text=repeat('This is a piece of very looooong text',200);
run;

option nodate nonumber;
title;
ods rtf file='test.rtf' style=minimal;
proc report data=test;
run;
ods rtf close;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;The report just look like this:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/93922iF21D178CEC956A27/image-size/medium?v=v2&amp;amp;px=400" role="button" title="1.png" alt="1.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/93923i2667A35C61530D56/image-size/medium?v=v2&amp;amp;px=400" role="button" title="2.png" alt="2.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;...&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="3.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/93924iA67C9AA74B045348/image-size/medium?v=v2&amp;amp;px=400" role="button" title="3.png" alt="3.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;The content is too long to be showed in one page, so it takes break across pages.&lt;/P&gt;
&lt;P&gt;When I open this RTF file in WORD software, I choose "Layout" →&amp;nbsp;"Properties" →&amp;nbsp;"Row", then check "Allow row to break across pages", the&amp;nbsp;break just be removed:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="4.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/93925i173A26FD88AFC0A8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="4.png" alt="4.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;...&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="5.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/93926iE30BF90237E4A59C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="5.png" alt="5.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;How do you think about this? Can "Allow row to break across pages" be done with SAS?&lt;/P&gt;</description>
    <pubDate>Tue, 20 Feb 2024 01:56:11 GMT</pubDate>
    <dc:creator>whymath</dc:creator>
    <dc:date>2024-02-20T01:56:11Z</dc:date>
    <item>
      <title>How to prevent SAS report row to break across pages?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-prevent-SAS-report-row-to-break-across-pages/m-p/916902#M361163</link>
      <description>&lt;P&gt;I am trying to report a variable with very long content:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data test;
  length text $32767.;
  text=repeat('This is a piece of very looooong text',200);
run;

option nodate nonumber;
title;
ods rtf file='test.rtf' style=minimal;
proc report data=test;
run;
ods rtf close;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;The report just look like this:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/93922iF21D178CEC956A27/image-size/medium?v=v2&amp;amp;px=400" role="button" title="1.png" alt="1.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/93923i2667A35C61530D56/image-size/medium?v=v2&amp;amp;px=400" role="button" title="2.png" alt="2.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;...&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="3.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/93924iA67C9AA74B045348/image-size/medium?v=v2&amp;amp;px=400" role="button" title="3.png" alt="3.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;The content is too long to be showed in one page, so it takes break across pages.&lt;/P&gt;
&lt;P&gt;When I open this RTF file in WORD software, I choose "Layout" →&amp;nbsp;"Properties" →&amp;nbsp;"Row", then check "Allow row to break across pages", the&amp;nbsp;break just be removed:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="4.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/93925i173A26FD88AFC0A8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="4.png" alt="4.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;...&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="5.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/93926iE30BF90237E4A59C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="5.png" alt="5.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;How do you think about this? Can "Allow row to break across pages" be done with SAS?&lt;/P&gt;</description>
      <pubDate>Tue, 20 Feb 2024 01:56:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-prevent-SAS-report-row-to-break-across-pages/m-p/916902#M361163</guid>
      <dc:creator>whymath</dc:creator>
      <dc:date>2024-02-20T01:56:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to prevent SAS report row to break across pages?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-prevent-SAS-report-row-to-break-across-pages/m-p/916965#M361189</link>
      <description>&lt;P&gt;If you are producing a Word document, consider using ODS WORD instead of RTF. The ODS WORD suboption CANT_SPLIT controls the "&lt;SPAN&gt;Allow row to break across pages" behavior&lt;/SPAN&gt;:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data test;
  length text $32767.;
  text=repeat('This is a piece of very looooong text',200);
run;

option nodate nonumber;
title;
ods word file='test.docx' style=minimal options (CANT_SPLIT='OFF');
proc report data=test;
run;
ods word close;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 20 Feb 2024 12:49:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-prevent-SAS-report-row-to-break-across-pages/m-p/916965#M361189</guid>
      <dc:creator>SASJedi</dc:creator>
      <dc:date>2024-02-20T12:49:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to prevent SAS report row to break across pages?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-prevent-SAS-report-row-to-break-across-pages/m-p/917090#M361249</link>
      <description>Thank you very much Jedi, ODS WORD works but perhaps I cann't use it in dev enviroment, beacause log window report "WARNING: The ODS WORD destination is preproduction in this release." and we don't allow warning messages in log.</description>
      <pubDate>Wed, 21 Feb 2024 06:29:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-prevent-SAS-report-row-to-break-across-pages/m-p/917090#M361249</guid>
      <dc:creator>whymath</dc:creator>
      <dc:date>2024-02-21T06:29:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to prevent SAS report row to break across pages?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-prevent-SAS-report-row-to-break-across-pages/m-p/917091#M361250</link>
      <description>&lt;P&gt;Even in 9.4m8 ods word is pre-production, does anyone know when it will become fully usable?&lt;/P&gt;</description>
      <pubDate>Wed, 21 Feb 2024 06:47:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-prevent-SAS-report-row-to-break-across-pages/m-p/917091#M361250</guid>
      <dc:creator>andreas_lds</dc:creator>
      <dc:date>2024-02-21T06:47:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to prevent SAS report row to break across pages?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-prevent-SAS-report-row-to-break-across-pages/m-p/917121#M361260</link>
      <description>&lt;P&gt;One might ask just why you&amp;nbsp; have so much text in Proc Report.&lt;/P&gt;
&lt;P&gt;The procedure is designed to create grouped summary reports. That much text seems more appropriate for Proc Print, maybe.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note that pagination is not a trivial topic when trying to dump large amounts of text into a table. The report table width, page size definition, ODS destination options, margins, font size as a minimum interact in determining where a "column" of a table would attempt to break.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Perhaps more a real use instead of one made up value would give us some clues for alternate approaches.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Feb 2024 10:26:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-prevent-SAS-report-row-to-break-across-pages/m-p/917121#M361260</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2024-02-21T10:26:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to prevent SAS report row to break across pages?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-prevent-SAS-report-row-to-break-across-pages/m-p/917346#M361363</link>
      <description>&lt;P&gt;ODS WORD is no longer pre-production in Viya LTS 2022.09.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Feb 2024 12:43:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-prevent-SAS-report-row-to-break-across-pages/m-p/917346#M361363</guid>
      <dc:creator>SASJedi</dc:creator>
      <dc:date>2024-02-22T12:43:05Z</dc:date>
    </item>
  </channel>
</rss>

