<?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 Spanning line break between categories header in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Proc-report-Spanning-line-break-between-categories-header/m-p/875581#M345962</link>
    <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data check;
pla = '80';
drug= '100';
col1=' Total';
pla_pct= '80.0';
drug_pct = '100';
run; 

options orientation = landscape errors = 2 missing = ' ' nobyline;
ods escapechar = '^';
ods rtf file = "c:\temp\check.rtf" style = journal;
proc report data=check  ls = 145 ps = 55  split = "?" nowd headline center missing formchar(2) = '_'
							;
							
	title1 j = l "Table 1";  
	
	column   ("^R/RTF'\brdrb\brdrs '" col1
				           	("(*ESC*)S={borderbottomcolor=black borderbottomwidth=2}	category"
							("(*ESC*)S={borderbottomcolor=black borderbottomwidth=2} Placebo ?(N=)"
							pla pla_pct )
                            dummy
							("(*ESC*)S={borderbottomcolor=black borderbottomwidth=2} Drug ?(N=.)" 
							drug drug_pct)));
           
	 define col1  	/ 'Statistics' order 	
		style(header) = [just=l] id  ;
	 define pla	    /  "count"			
			style(header) = [just=c] style(column) = [just=c vjust=b  	cellwidth=11% asis=on] ;
	 define pla_pct	    /  "Percent" 			
			style(header) = [just=c] style(column) = [just=c vjust=b  	cellwidth=11% asis=on];
	 define drug	    / "count" 	 					
			style(header) = [just=c] style(column) = [just=c vjust=b  	cellwidth=11% asis=on] ;
	 define drug_pct	    / "Percent" 	 			
			style(header) = [just=c] style(column) = [just=c vjust=b 	cellwidth=11% asis=on];
	 define dummy/computed ' ';
	 compute dummy/character length=1;
         dummy=' ';
	 endcomp;
run;
ods 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-1683971239430.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/83941iEE74EAE07E7AD3C0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ksharp_0-1683971239430.png" alt="Ksharp_0-1683971239430.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 13 May 2023 09:47:22 GMT</pubDate>
    <dc:creator>Ksharp</dc:creator>
    <dc:date>2023-05-13T09:47:22Z</dc:date>
    <item>
      <title>Proc report Spanning line break between categories header</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-report-Spanning-line-break-between-categories-header/m-p/875530#M345936</link>
      <description>&lt;P&gt;I want to have a break in the spanning line between the categories ( Indicated n the Image in Red).&amp;nbsp; Is it possible to do that? Thank you for your suggestions.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SASuserlot_0-1683925534697.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/83931iCB01DAA7D410C3F3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SASuserlot_0-1683925534697.png" alt="SASuserlot_0-1683925534697.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data check;
pla = '80';
drug= '100';
col1=' Total';
pla_pct= '80.0';
drug_pct = '100';
run; 

ods _all_ close;
options orientation = landscape errors = 2 missing = ' ' nobyline;
ods escapechar = '^';
Ods results on;
ods rtf file = "c:temp\check.rtf" style = custom;
proc report data=check  ls = 145 ps = 55  split = "?" headline center missing formchar(2) = '_'
							;
							
	title1 j = l "Table 1";  
	
	column   ("^R/RTF'\brdrb\brdrs '" col1
				           	("(*ESC*)S={borderbottomcolor=black borderbottomwidth=2}	category"
							("(*ESC*)S={borderbottomcolor=black borderbottomwidth=2} Placebo ?(N=)"
							pla pla_pct )
							("(*ESC*)S={borderbottomcolor=black borderbottomwidth=2} Drug ?(N=.)" 
							Drugdrug drug_pct)));
           
	 define col1  	/ 'Statistics' order 	
		style(header) = [just=l] id  ;
	 define pla	    /  "count"			
			style(header) = [just=c] style(column) = [just=c vjust=b  	cellwidth=11% asis=on] ;
	 define pla_pct	    /  "Percent" 			
			style(header) = [just=c] style(column) = [just=c vjust=b  	cellwidth=11% asis=on];
	 define drug	    / "count" 	 					
			style(header) = [just=c] style(column) = [just=c vjust=b  	cellwidth=11% asis=on] ;
	 define drug_pct	    / "Percent" 	 			
			style(header) = [just=c] style(column) = [just=c vjust=b 	cellwidth=11% asis=on];
	 
run;
ods rtf close;
ods listing close;

&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 May 2023 21:07:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-report-Spanning-line-break-between-categories-header/m-p/875530#M345936</guid>
      <dc:creator>SASuserlot</dc:creator>
      <dc:date>2023-05-12T21:07:37Z</dc:date>
    </item>
    <item>
      <title>Re: Proc report Spanning line break between categories header</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-report-Spanning-line-break-between-categories-header/m-p/875533#M345939</link>
      <description>&lt;P&gt;Since you are using a CUSTOM style in your ODS RTF output you should share the code for that style as well.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It isn't impossible for us to come up with a solution that may work for some ODS Styles but not the one you are using as we do not have your style.&lt;/P&gt;</description>
      <pubDate>Fri, 12 May 2023 21:18:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-report-Spanning-line-break-between-categories-header/m-p/875533#M345939</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2023-05-12T21:18:20Z</dc:date>
    </item>
    <item>
      <title>Re: Proc report Spanning line break between categories header</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-report-Spanning-line-break-between-categories-header/m-p/875581#M345962</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data check;
pla = '80';
drug= '100';
col1=' Total';
pla_pct= '80.0';
drug_pct = '100';
run; 

options orientation = landscape errors = 2 missing = ' ' nobyline;
ods escapechar = '^';
ods rtf file = "c:\temp\check.rtf" style = journal;
proc report data=check  ls = 145 ps = 55  split = "?" nowd headline center missing formchar(2) = '_'
							;
							
	title1 j = l "Table 1";  
	
	column   ("^R/RTF'\brdrb\brdrs '" col1
				           	("(*ESC*)S={borderbottomcolor=black borderbottomwidth=2}	category"
							("(*ESC*)S={borderbottomcolor=black borderbottomwidth=2} Placebo ?(N=)"
							pla pla_pct )
                            dummy
							("(*ESC*)S={borderbottomcolor=black borderbottomwidth=2} Drug ?(N=.)" 
							drug drug_pct)));
           
	 define col1  	/ 'Statistics' order 	
		style(header) = [just=l] id  ;
	 define pla	    /  "count"			
			style(header) = [just=c] style(column) = [just=c vjust=b  	cellwidth=11% asis=on] ;
	 define pla_pct	    /  "Percent" 			
			style(header) = [just=c] style(column) = [just=c vjust=b  	cellwidth=11% asis=on];
	 define drug	    / "count" 	 					
			style(header) = [just=c] style(column) = [just=c vjust=b  	cellwidth=11% asis=on] ;
	 define drug_pct	    / "Percent" 	 			
			style(header) = [just=c] style(column) = [just=c vjust=b 	cellwidth=11% asis=on];
	 define dummy/computed ' ';
	 compute dummy/character length=1;
         dummy=' ';
	 endcomp;
run;
ods 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-1683971239430.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/83941iEE74EAE07E7AD3C0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ksharp_0-1683971239430.png" alt="Ksharp_0-1683971239430.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 13 May 2023 09:47:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-report-Spanning-line-break-between-categories-header/m-p/875581#M345962</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2023-05-13T09:47:22Z</dc:date>
    </item>
    <item>
      <title>Re: Proc report Spanning line break between categories header</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-report-Spanning-line-break-between-categories-header/m-p/875606#M345976</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13884"&gt;@ballardw&lt;/a&gt;&amp;nbsp; for your response. Unfortunately, I couldn't find the code where it is stored in my organization. They are set up in such a way it reads into the SAS automatically.&lt;/P&gt;</description>
      <pubDate>Sat, 13 May 2023 18:10:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-report-Spanning-line-break-between-categories-header/m-p/875606#M345976</guid>
      <dc:creator>SASuserlot</dc:creator>
      <dc:date>2023-05-13T18:10:22Z</dc:date>
    </item>
    <item>
      <title>Re: Proc report Spanning line break between categories header</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-report-Spanning-line-break-between-categories-header/m-p/875610#M345977</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/18408"&gt;@Ksharp&lt;/a&gt;. You Rocks...........&lt;/P&gt;</description>
      <pubDate>Sat, 13 May 2023 20:26:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-report-Spanning-line-break-between-categories-header/m-p/875610#M345977</guid>
      <dc:creator>SASuserlot</dc:creator>
      <dc:date>2023-05-13T20:26:39Z</dc:date>
    </item>
  </channel>
</rss>

