<?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: Question about how to keep the name of headers  on the same line in Proc report? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Question-about-how-to-keep-the-name-of-headers-on-the-same-line/m-p/910393#M359025</link>
    <description>&lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/odsadvug/p1pt77toue3iyun0z4l9gth5as9f.htm" target="_blank"&gt;https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/odsadvug/p1pt77toue3iyun0z4l9gth5as9f.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;And I quoted:&lt;BR /&gt;NOBREAKSPACE=ON | OFF&lt;BR /&gt;specifies how to handle space characters in table cells.&lt;BR /&gt;ON&lt;BR /&gt;does not let SAS break a line at a space character.&lt;BR /&gt;OFF&lt;BR /&gt;lets SAS break a line at a space character if appropriate.&lt;BR /&gt;Valid in	Markup family, Excel, printer family, and RTF destinations&lt;BR /&gt;</description>
    <pubDate>Thu, 04 Jan 2024 07:50:14 GMT</pubDate>
    <dc:creator>Ksharp</dc:creator>
    <dc:date>2024-01-04T07:50:14Z</dc:date>
    <item>
      <title>Question about how to keep the name of headers  on the same line in Proc report?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Question-about-how-to-keep-the-name-of-headers-on-the-same-line/m-p/909717#M358809</link>
      <description>&lt;P&gt;Hi guys, I have a question about&amp;nbsp;how to keep the name of headers on the same line in Proc report?&lt;/P&gt;&lt;P&gt;I am making a table in proc report statement and my code is :&lt;/P&gt;&lt;PRE&gt;proc report data=table12 nowindows headline headskip spacing = 10;&lt;BR /&gt;columns  AVISITN_1 Trt01a count mean_se;&lt;BR /&gt;define AVISITN_1/group order=data center width =20 " Test Day " style(column)={just=c};&lt;BR /&gt;define Trt01a /display center width=10 "Treatment" ;&lt;BR /&gt;define  count / display center width =14 "N";&lt;BR /&gt;define mean_se /display center  width = 40" Adjusted Mean(SE)";&lt;BR /&gt;title1 bold "Table11";&lt;BR /&gt;title2 bold  "Summary od Blood Glucose Level over time";&lt;BR /&gt;title3 bold "ITT Subjects";&lt;BR /&gt;  &lt;BR /&gt;compute after AVISITN_1;&lt;BR /&gt;line " ";&lt;BR /&gt;endcomp;&lt;BR /&gt;run;&lt;BR /&gt;ods pdf close;&lt;BR /&gt;And my output is:&lt;/PRE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2023-12-26 at 7.44.53 PM.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/92074i2B6571C2838C7AB7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2023-12-26 at 7.44.53 PM.png" alt="Screenshot 2023-12-26 at 7.44.53 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; My question is that i didn't use the split statement to divide the header and I want to keep "Test Day" and "Adjusted mean(SE)"headers in the same line.&lt;/P&gt;&lt;P&gt;&amp;nbsp;Thanks!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Dec 2023 00:51:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Question-about-how-to-keep-the-name-of-headers-on-the-same-line/m-p/909717#M358809</guid>
      <dc:creator>Sikcion</dc:creator>
      <dc:date>2023-12-27T00:51:36Z</dc:date>
    </item>
    <item>
      <title>Re: Question about how to keep the name of headers  on the same line in Proc report?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Question-about-how-to-keep-the-name-of-headers-on-the-same-line/m-p/909719#M358810</link>
      <description>&lt;P&gt;Using Style:&lt;/P&gt;
&lt;P&gt;style(header)={nobreakspace=on}&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods pdf file='c:\temp\temp.pdf';
proc report data=sashelp.class nowindows headline headskip spacing = 10  style(header)={nobreakspace=on} ;
columns   sex name age weight;
define sex/group order=data center width =20 " Test Day " style(column)={just=c}   ;
define name /display center width=10 "Treatment" ;
define  age / display center width =14 "N";
define weight /display center  width = 40" Adjusted Mean(SE)";
title1 bold "Table11";
title2 bold  "Summary od Blood Glucose Level over time";
title3 bold "ITT Subjects";
  
compute after sex;
line " ";
endcomp;
run;
ods pdf 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-1703641099611.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/92075iB539EE75650795BF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ksharp_0-1703641099611.png" alt="Ksharp_0-1703641099611.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Dec 2023 01:38:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Question-about-how-to-keep-the-name-of-headers-on-the-same-line/m-p/909719#M358810</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2023-12-27T01:38:27Z</dc:date>
    </item>
    <item>
      <title>Re: Question about how to keep the name of headers  on the same line in Proc report?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Question-about-how-to-keep-the-name-of-headers-on-the-same-line/m-p/910390#M359022</link>
      <description>&lt;P&gt;what will the nobreakspace option do? Can anyone help me to understand?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jan 2024 07:29:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Question-about-how-to-keep-the-name-of-headers-on-the-same-line/m-p/910390#M359022</guid>
      <dc:creator>angird1990</dc:creator>
      <dc:date>2024-01-04T07:29:14Z</dc:date>
    </item>
    <item>
      <title>Re: Question about how to keep the name of headers  on the same line in Proc report?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Question-about-how-to-keep-the-name-of-headers-on-the-same-line/m-p/910392#M359024</link>
      <description>&lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/proc/p14xegao6xt0xnn1865r422tpytw.htm#n0q3uys7lzt7xgn1m6d43aqsctqpa" target="_blank"&gt;https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/proc/p14xegao6xt0xnn1865r422tpytw.htm#n0q3uys7lzt7xgn1m6d43aqsctqpa&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;And I quoted:&lt;BR /&gt; To help prevent unexpected wrapping of long text strings when using PROC REPORT with the ODS RTF destination, set NOBREAKSPACE=OFF in a location that affects the LINE statement. The NOBREAKSPACE=OFF attribute must be set in the PROC REPORT code either on the LINE statement or on the PROC REPORT statement where style(lines) is specified.</description>
      <pubDate>Thu, 04 Jan 2024 07:47:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Question-about-how-to-keep-the-name-of-headers-on-the-same-line/m-p/910392#M359024</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2024-01-04T07:47:46Z</dc:date>
    </item>
    <item>
      <title>Re: Question about how to keep the name of headers  on the same line in Proc report?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Question-about-how-to-keep-the-name-of-headers-on-the-same-line/m-p/910393#M359025</link>
      <description>&lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/odsadvug/p1pt77toue3iyun0z4l9gth5as9f.htm" target="_blank"&gt;https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/odsadvug/p1pt77toue3iyun0z4l9gth5as9f.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;And I quoted:&lt;BR /&gt;NOBREAKSPACE=ON | OFF&lt;BR /&gt;specifies how to handle space characters in table cells.&lt;BR /&gt;ON&lt;BR /&gt;does not let SAS break a line at a space character.&lt;BR /&gt;OFF&lt;BR /&gt;lets SAS break a line at a space character if appropriate.&lt;BR /&gt;Valid in	Markup family, Excel, printer family, and RTF destinations&lt;BR /&gt;</description>
      <pubDate>Thu, 04 Jan 2024 07:50:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Question-about-how-to-keep-the-name-of-headers-on-the-same-line/m-p/910393#M359025</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2024-01-04T07:50:14Z</dc:date>
    </item>
    <item>
      <title>Re: Question about how to keep the name of headers  on the same line in Proc report?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Question-about-how-to-keep-the-name-of-headers-on-the-same-line/m-p/910793#M359146</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;. Understood now.&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jan 2024 05:25:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Question-about-how-to-keep-the-name-of-headers-on-the-same-line/m-p/910793#M359146</guid>
      <dc:creator>angird1990</dc:creator>
      <dc:date>2024-01-08T05:25:30Z</dc:date>
    </item>
  </channel>
</rss>

