<?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 report : repeat value on each page for grouping variable value at the beginning in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/proc-report-repeat-value-on-each-page-for-grouping-variable/m-p/956723#M26803</link>
    <description>&lt;P&gt;Hi ,&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;I am trying to display the COL1 "Subject ID" Groupe variable value&amp;nbsp; in next page&amp;nbsp; starting to identify the rows related to Subject&lt;/DIV&gt;&lt;DIV class=""&gt;My current code is :&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;PRE&gt;&lt;CODE class=""&gt;options orientation=landscape nodate nonumber center nobyline ;
ods rtf file = "&amp;amp;apath\table 02.rtf" startpage-yes style=styles.outrtf device-sasemf;
proc report data= prodout.table  headline headskip missing center split='|' nowd
style (report) - (cellpadding=0.5pt cellspacing=1pt just=c FRAME-ABOVE  ASIS=ON RULES-GROUPS)
style (header) = (font=("courier new", 9pt, bold) vjust-middle  asis=on just=1}
style (column) - (font-("Courier New", 9pt, normal) asis=on /just=1/}
style (lines) = (font=("courier new", 9pt, normal) asis=on):

column coll pageord ord0 col2 col3 col col5;

define pageord /order = internal order noprint;
define ord0    /order = internal order noprint;


define coll / 'Subject ID' group width=15 flow style (header) - [just-left] style (column) - [cellwidth =15% asis=on] left id;
define COL2 / flow 'Reported Term/System| Organ Class/Preferred Term' width=39 flow style (header) = [just-style (column) - [cellwidth =39% asis-on]:
define col3 / flow 'Start date' width=15 flow style (header) = [just=left]   style (column) - [cellwidth -15% asis=on];
define col4 / flow 'Ongoing/End date' width=15 flow style (header) = [just=left] style (column) = [cellwidth -15% asis=on];
define col5 / flow 'Intensity' width=15 flow style (header)&amp;nbsp;-&amp;nbsp;[just=left] style (column) = [cellwidth -15% asis=on];

compute after ord0;
  line '     ';
  endcomp;
  
run;

ods rtf close;
ods listing;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;I want to repeat the Subject ID on page 2 for first row .&lt;/DIV&gt;&lt;DIV class=""&gt;Below is the output&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;Page 1&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="raja777pharma_0-1737438879323.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/103869i1B2B604AA8CC190B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="raja777pharma_0-1737438879323.png" alt="raja777pharma_0-1737438879323.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;Page 2&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="raja777pharma_1-1737438903162.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/103870iE5B2C58C49CCA787/image-size/medium?v=v2&amp;amp;px=400" role="button" title="raja777pharma_1-1737438903162.png" alt="raja777pharma_1-1737438903162.png" /&gt;&lt;/span&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;Thank you,&lt;/DIV&gt;&lt;DIV class=""&gt;Rajasekhar.&lt;/DIV&gt;</description>
    <pubDate>Tue, 21 Jan 2025 05:57:08 GMT</pubDate>
    <dc:creator>raja777pharma</dc:creator>
    <dc:date>2025-01-21T05:57:08Z</dc:date>
    <item>
      <title>proc report : repeat value on each page for grouping variable value at the beginning</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/proc-report-repeat-value-on-each-page-for-grouping-variable/m-p/956723#M26803</link>
      <description>&lt;P&gt;Hi ,&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;I am trying to display the COL1 "Subject ID" Groupe variable value&amp;nbsp; in next page&amp;nbsp; starting to identify the rows related to Subject&lt;/DIV&gt;&lt;DIV class=""&gt;My current code is :&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;PRE&gt;&lt;CODE class=""&gt;options orientation=landscape nodate nonumber center nobyline ;
ods rtf file = "&amp;amp;apath\table 02.rtf" startpage-yes style=styles.outrtf device-sasemf;
proc report data= prodout.table  headline headskip missing center split='|' nowd
style (report) - (cellpadding=0.5pt cellspacing=1pt just=c FRAME-ABOVE  ASIS=ON RULES-GROUPS)
style (header) = (font=("courier new", 9pt, bold) vjust-middle  asis=on just=1}
style (column) - (font-("Courier New", 9pt, normal) asis=on /just=1/}
style (lines) = (font=("courier new", 9pt, normal) asis=on):

column coll pageord ord0 col2 col3 col col5;

define pageord /order = internal order noprint;
define ord0    /order = internal order noprint;


define coll / 'Subject ID' group width=15 flow style (header) - [just-left] style (column) - [cellwidth =15% asis=on] left id;
define COL2 / flow 'Reported Term/System| Organ Class/Preferred Term' width=39 flow style (header) = [just-style (column) - [cellwidth =39% asis-on]:
define col3 / flow 'Start date' width=15 flow style (header) = [just=left]   style (column) - [cellwidth -15% asis=on];
define col4 / flow 'Ongoing/End date' width=15 flow style (header) = [just=left] style (column) = [cellwidth -15% asis=on];
define col5 / flow 'Intensity' width=15 flow style (header)&amp;nbsp;-&amp;nbsp;[just=left] style (column) = [cellwidth -15% asis=on];

compute after ord0;
  line '     ';
  endcomp;
  
run;

ods rtf close;
ods listing;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;I want to repeat the Subject ID on page 2 for first row .&lt;/DIV&gt;&lt;DIV class=""&gt;Below is the output&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;Page 1&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="raja777pharma_0-1737438879323.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/103869i1B2B604AA8CC190B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="raja777pharma_0-1737438879323.png" alt="raja777pharma_0-1737438879323.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;Page 2&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="raja777pharma_1-1737438903162.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/103870iE5B2C58C49CCA787/image-size/medium?v=v2&amp;amp;px=400" role="button" title="raja777pharma_1-1737438903162.png" alt="raja777pharma_1-1737438903162.png" /&gt;&lt;/span&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;Thank you,&lt;/DIV&gt;&lt;DIV class=""&gt;Rajasekhar.&lt;/DIV&gt;</description>
      <pubDate>Tue, 21 Jan 2025 05:57:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/proc-report-repeat-value-on-each-page-for-grouping-variable/m-p/956723#M26803</guid>
      <dc:creator>raja777pharma</dc:creator>
      <dc:date>2025-01-21T05:57:08Z</dc:date>
    </item>
    <item>
      <title>Re: proc report : repeat value on each page for grouping variable value at the beginning</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/proc-report-repeat-value-on-each-page-for-grouping-variable/m-p/956725#M26804</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data have;
 set sashelp.heart(obs=90);
 keep sex weight height bp_status;
run;
proc sort data=have;by sex;run;
option nodate nonumber;
title;
ods tagsets.rtf file='c:\temp\temp.rtf' style=journal startpage=no;
proc report data=have nowd spanrows;
column sex bp_status weight height ;
define sex/order;
define bp_status/display;
define weight/display;
run;
ods tagsets.rtf close;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ksharp_0-1737441095937.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/103871iBCAF7653F5FDE679/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ksharp_0-1737441095937.png" alt="Ksharp_0-1737441095937.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jan 2025 06:31:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/proc-report-repeat-value-on-each-page-for-grouping-variable/m-p/956725#M26804</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2025-01-21T06:31:56Z</dc:date>
    </item>
    <item>
      <title>Re: proc report : repeat value on each page for grouping variable value at the beginning</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/proc-report-repeat-value-on-each-page-for-grouping-variable/m-p/956727#M26805</link>
      <description>&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have updated below statement , but still getting same and not repeating the subject id&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;define coll / 'Subject ID' order width=15 flow style (header) - [just-left] style (column) - [cellwidth =15% asis=on] left id;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Rajasekhar.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jan 2025 07:20:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/proc-report-repeat-value-on-each-page-for-grouping-variable/m-p/956727#M26805</guid>
      <dc:creator>raja777pharma</dc:creator>
      <dc:date>2025-01-21T07:20:08Z</dc:date>
    </item>
    <item>
      <title>Re: proc report : repeat value on each page for grouping variable value at the beginning</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/proc-report-repeat-value-on-each-page-for-grouping-variable/m-p/956729#M26806</link>
      <description>&lt;P&gt;So did you check where is difference between your code and mine ?&lt;/P&gt;
&lt;PRE&gt;title;
ods &lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;tagsets.rtf&lt;/STRONG&gt;&lt;/FONT&gt; file='c:\temp\temp.rtf' style=journal startpage=no;
proc report data=have nowd &lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;spanrows&lt;/STRONG&gt;&lt;/FONT&gt;;
column sex bp_status weight height ;
&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;define sex/order;&lt;/STRONG&gt;&lt;/FONT&gt;
define bp_status/display;
define weight/display;
run;
ods &lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;tagsets.rtf&lt;/STRONG&gt;&lt;/FONT&gt; close;&lt;/PRE&gt;</description>
      <pubDate>Tue, 21 Jan 2025 08:12:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/proc-report-repeat-value-on-each-page-for-grouping-variable/m-p/956729#M26806</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2025-01-21T08:12:37Z</dc:date>
    </item>
  </channel>
</rss>

