<?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: How to use spanrows option with plain rtf (no tagsets)? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-use-spanrows-option-with-plain-rtf-no-tagsets/m-p/586266#M167347</link>
    <description>&lt;P&gt;Hi Cynthia,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can't use the tagsets option as we have an organization-wide RTF-setup macro. Is there a way around that, so that I can use SPANROWS option to repeat group/order variables?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;With my existing code, (without tagset RTF), Order variables are not being repeated at new page beginnings even with the SPANROWS option.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below is a sample code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;FONT&gt;&lt;BR /&gt;** ----------------------------------------------------------------------**&lt;BR /&gt;** Generating Listing&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; **&lt;BR /&gt;** --------------------------------------------------------------------- **;&lt;BR /&gt;%rtfsetup(dshdft=hdft,progid=L-PD);&lt;BR /&gt;proc report data=final nowindows headline headskip split="|" spacing=1 missing style(report)={outputwidth=&amp;amp;outwidth}&lt;BR /&gt;&amp;nbsp;style(header)={protectspecialchars=off} spanrows;&lt;BR /&gt;&amp;nbsp;columns&amp;nbsp; col1 col2 col3 col4 col5;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;define col1 /order order=data style={cellwidth = 4% just=l protectspecialchars=off} "Subject";&lt;BR /&gt;&amp;nbsp;define col2 /order order=data style={cellwidth = 4% just=l protectspecialchars=off} "Major/Minor";&lt;BR /&gt;&amp;nbsp;define col3 /order order=data style(header)={cellwidth = 22% just=c protectspecialchars=off} style(column)={just=l} "Description";&lt;BR /&gt;&amp;nbsp;define col4 /order order=data style={cellwidth = 6% just=c protectspecialchars=off} "Date";&amp;nbsp;&lt;BR /&gt;&amp;nbsp;define col5 /order order=data style={cellwidth = 10% just=l protectspecialchars=off} "Type";&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT&gt;&amp;nbsp;compute after col5;&lt;BR /&gt;&amp;nbsp; &amp;nbsp;line "";&lt;BR /&gt;&amp;nbsp;endcomp;&lt;BR /&gt;run;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT&gt;In the above code:&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT&gt;col1 and col2 are supposed to be repeating variables. But in this situation, they don't repeat when there a page break after first page. Other columns - col3 to col5 - do appear in the new page.&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT&gt;Any help is much appreciated. Without this we manually calculate lines in page based on the width of each column, and the number of line each column takes.&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Abby&lt;/P&gt;</description>
    <pubDate>Wed, 04 Sep 2019 21:31:21 GMT</pubDate>
    <dc:creator>Abby19</dc:creator>
    <dc:date>2019-09-04T21:31:21Z</dc:date>
    <item>
      <title>How to use spanrows option with plain rtf (no tagsets)?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-use-spanrows-option-with-plain-rtf-no-tagsets/m-p/96916#M20434</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi There,&lt;/P&gt;&lt;P&gt;I am using SAS 9.3 M1. I am unsuccessful in using the spanrows option in a plain rtf (no tagsets) output. It is working wonderful in the pdf destination but not with the rtf. It is combining all the rows into one cell but when the page breaks the row is not appearing in the new page. Is there any other option/statement I need to use with? Your advice will be appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below is a sample test code.&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt;data class30;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt; set sashelp.class;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt; do check = &lt;/SPAN&gt;&lt;STRONG style=": ; color: #008080; font-size: 10pt; font-family: Courier New;"&gt;1&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Courier New;"&gt;to&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #008080; font-size: 10pt; font-family: Courier New;"&gt;30&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Courier New;"&gt;output&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Courier New;"&gt;end&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;STRONG style=": ; color: #000080; font-size: 10pt; font-family: Courier New;"&gt;run&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt;ods &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Courier New;"&gt;rtf&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Courier New;"&gt;file&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt; =&lt;/SPAN&gt;&lt;SPAN style="color: #800080; font-size: 10pt; font-family: Courier New;"&gt;"&amp;amp;outpath.\class30.rtf"&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt;proc &lt;/SPAN&gt;&lt;STRONG style=": ; color: #000080; font-size: 10pt; font-family: Courier New;"&gt;report&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Courier New;"&gt;data&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt;=class30 &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Courier New;"&gt;nowd&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Courier New;"&gt;out&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt;=show spanrows;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt; column age name check sex;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt; define age /&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Courier New;"&gt;order&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt; define name / &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Courier New;"&gt;order&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt; ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt;run&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt;ods &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Courier New;"&gt;rtf&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Courier New;"&gt;close&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt;Sunil&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Apr 2013 00:41:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-use-spanrows-option-with-plain-rtf-no-tagsets/m-p/96916#M20434</guid>
      <dc:creator>sunilpusarla</dc:creator>
      <dc:date>2013-04-04T00:41:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to use spanrows option with plain rtf (no tagsets)?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-use-spanrows-option-with-plain-rtf-no-tagsets/m-p/96917#M20435</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;&amp;nbsp; It is strange that you do not want to use TAGSETS.RTF. Is there a reason for this requirement? That is really the solution to your issue in this case. If you run the code (a modification of your&amp;nbsp; test), you will see exactly the output you want from the TAGSETS.RTF destination. Because TAGSETS.RTF does vertical measurement, and inserts explicit page breaks, Word knows exactly where to put the page break and the value repeats across pages. See the example in the attached screenshot, where the rows for Thomas split across pages. This output was created using TAGSETS.RTF.&lt;/P&gt;&lt;P&gt;cynthia&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757;"&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;data class30;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757;"&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;set sashelp.class;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757;"&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;do check = 1 to 30;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757;"&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; output;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757;"&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;end;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757;"&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;run;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757;"&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;ods pdf file="c:\temp\class30.pdf";&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757;"&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;ods rtf file ="c:\temp\class30.rtf";&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757;"&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;ods tagsets.rtf file ="c:\temp\class30tr.rtf"&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757;"&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; options(doc='help' continue_tag='no');&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757;"&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;proc report data=class30 nowd spanrows;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757;"&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;column age name check sex;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757;"&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;define age /order;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757;"&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;define name / order ;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757;"&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;run;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757;"&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;ods _all_ close;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/11528iB43E6DE98FC4899F/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="tagsets_rtf_spanrows.png" title="tagsets_rtf_spanrows.png" /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Apr 2013 04:38:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-use-spanrows-option-with-plain-rtf-no-tagsets/m-p/96917#M20435</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2013-04-05T04:38:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to use spanrows option with plain rtf (no tagsets)?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-use-spanrows-option-with-plain-rtf-no-tagsets/m-p/96918#M20436</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much Cynthia. I will try using the tagsets. The reason I did not use tagsets is with plain RTF, I am getting everything what I require except the spanning of rows. Initially when I tried using the tagsets, I got all wierd page breaks, "Continued" text, and rtf codes (ex: &lt;SPAN style="color: black; font-family: 'Times New Roman','serif'; font-size: 11pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-theme-font: minor-fareast; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;\tq\b, &lt;SPAN style="color: blue; font-family: 'Times New Roman','serif'; font-size: 11pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-theme-font: minor-fareast; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;\tqr\tx14050 &lt;/SPAN&gt;&lt;/SPAN&gt;) etc. These did not happen after I shifted to plain rtf. (I am creating a define file where I am including multiple proc reports with different options for each (ex: startpage), under single ODS sandwich to have a single file).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sunil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Apr 2013 20:59:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-use-spanrows-option-with-plain-rtf-no-tagsets/m-p/96918#M20436</guid>
      <dc:creator>sunilpusarla</dc:creator>
      <dc:date>2013-04-05T20:59:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to use spanrows option with plain rtf (no tagsets)?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-use-spanrows-option-with-plain-rtf-no-tagsets/m-p/586266#M167347</link>
      <description>&lt;P&gt;Hi Cynthia,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can't use the tagsets option as we have an organization-wide RTF-setup macro. Is there a way around that, so that I can use SPANROWS option to repeat group/order variables?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;With my existing code, (without tagset RTF), Order variables are not being repeated at new page beginnings even with the SPANROWS option.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below is a sample code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;FONT&gt;&lt;BR /&gt;** ----------------------------------------------------------------------**&lt;BR /&gt;** Generating Listing&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; **&lt;BR /&gt;** --------------------------------------------------------------------- **;&lt;BR /&gt;%rtfsetup(dshdft=hdft,progid=L-PD);&lt;BR /&gt;proc report data=final nowindows headline headskip split="|" spacing=1 missing style(report)={outputwidth=&amp;amp;outwidth}&lt;BR /&gt;&amp;nbsp;style(header)={protectspecialchars=off} spanrows;&lt;BR /&gt;&amp;nbsp;columns&amp;nbsp; col1 col2 col3 col4 col5;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;define col1 /order order=data style={cellwidth = 4% just=l protectspecialchars=off} "Subject";&lt;BR /&gt;&amp;nbsp;define col2 /order order=data style={cellwidth = 4% just=l protectspecialchars=off} "Major/Minor";&lt;BR /&gt;&amp;nbsp;define col3 /order order=data style(header)={cellwidth = 22% just=c protectspecialchars=off} style(column)={just=l} "Description";&lt;BR /&gt;&amp;nbsp;define col4 /order order=data style={cellwidth = 6% just=c protectspecialchars=off} "Date";&amp;nbsp;&lt;BR /&gt;&amp;nbsp;define col5 /order order=data style={cellwidth = 10% just=l protectspecialchars=off} "Type";&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT&gt;&amp;nbsp;compute after col5;&lt;BR /&gt;&amp;nbsp; &amp;nbsp;line "";&lt;BR /&gt;&amp;nbsp;endcomp;&lt;BR /&gt;run;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT&gt;In the above code:&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT&gt;col1 and col2 are supposed to be repeating variables. But in this situation, they don't repeat when there a page break after first page. Other columns - col3 to col5 - do appear in the new page.&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT&gt;Any help is much appreciated. Without this we manually calculate lines in page based on the width of each column, and the number of line each column takes.&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Abby&lt;/P&gt;</description>
      <pubDate>Wed, 04 Sep 2019 21:31:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-use-spanrows-option-with-plain-rtf-no-tagsets/m-p/586266#M167347</guid>
      <dc:creator>Abby19</dc:creator>
      <dc:date>2019-09-04T21:31:21Z</dc:date>
    </item>
  </channel>
</rss>

