<?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 header when using proc report in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/Question-about-header-when-using-proc-report/m-p/593775#M15567</link>
    <description>&lt;P&gt;Oh I'm sorry and thx for your reminding, below is my template and proc report code&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc template;
    define style rtfstyle;
    parent=styles.rtf;
    style fonts / 'TitleFont' = ("Courier New", 8pt, Bold) 
    'TitleFont2' = ("Courier New", 8pt, Bold)
    'StrongFont' = ("Courier New", 8pt, Bold) 
    'headingFont' = ("Courier New", 8pt, Bold) 
    'docFont' = ("Courier New", 8pt, Bold)
    'footFont' = ("Courier New", 8pt, Bold) 
    'FixedStrongFont' = ("Courier New", 8pt, Bold)
    'FixedHeadingFont' = ("Courier New", 8pt, Bold)
    'FixedFont' = ("Courier New", 8pt, Bold) 
    'BatchFixedFont' = ("Courier New", 8pt, Bold)
    'FixedEmphasisFont' = ("Courier New", 8pt, Bold)
    'EmphasisFont' = ("Courier New", 8pt, Bold);
    style Table from Output / bordercollapse = separate rules = none cellpadding = 0pt cellspacing = 0pt borderspacing = 0pt bordertopwidth = 1pt borderbottomwidth = 0pt frame = void;
    style body from document / leftmargin = 1in rightmargin = 1in topmargin = 1.5in bottommargin = 1in;
    style cell from container / ;
    style header from header / background = _undef_ leftmargin=2pt;
    end;
run;


proc report nowd data=final(where=(paramcd="SPGA0")) split = '|' nowd headline headskip missing;
	column avisitn ord ord2 label  trt5
							 trt6  trt7 ;
	define avisitn	 / noprint order order=data ;
	define ord 		 / computed noprint order order=data ; 
	define ord2 	 / noprint order order=data ; 
	define label 	 / width=45 "By Pooled Dose"  flow style(column)=[width=39% asis=on JUST=L] style(header)={just=LEFT borderbottomwidth=1pt};
	define trt5 	 / width=18 "aaa|(N=%cmpres(&amp;amp;den5))" style(column)=[width=20% asis=on JUST=C] style(header)={just=center borderbottomwidth=1pt};
	define trt6     / width=18 "bbb|(N=%cmpres(&amp;amp;den6))" style(column)=[width=20% asis=on JUST=C] style(header)={just=center borderbottomwidth=1pt};
	define trt7     / width=18 "Total|(N=%cmpres(&amp;amp;den7))" style(column)=[width=20% asis=on JUST=C] style(header)={just=center borderbottomwidth=1pt};
	
	compute before _page_;
	line @1 "Parameter: sPGA(0)";
	endcomp;

      compute after ord;
  	  line " ";
  	  endcomp;
	break after avisitn/ page;
 run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Thu, 03 Oct 2019 15:21:02 GMT</pubDate>
    <dc:creator>Kya_wwwwww</dc:creator>
    <dc:date>2019-10-03T15:21:02Z</dc:date>
    <item>
      <title>Question about header when using proc report</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Question-about-header-when-using-proc-report/m-p/592540#M15370</link>
      <description>&lt;P&gt;Dear users,&lt;/P&gt;&lt;P&gt;How can I make my table show like the picture below?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="aa.PNG" style="width: 288px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/32818i8E2F92886A85318A/image-size/large?v=v2&amp;amp;px=999" role="button" title="aa.PNG" alt="aa.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I want a line above the whole table but the line is not a title, I use the "line&amp;nbsp;@1"&amp;nbsp; statement, but my output is like this way&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="org.PNG" style="width: 542px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/32819i3AED5B1BB444A56D/image-size/large?v=v2&amp;amp;px=999" role="button" title="org.PNG" alt="org.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thx you for answering my question!!!!!!!!A lot!!!!!!!!!!!!!&lt;/P&gt;</description>
      <pubDate>Mon, 30 Sep 2019 02:49:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Question-about-header-when-using-proc-report/m-p/592540#M15370</guid>
      <dc:creator>Kya_wwwwww</dc:creator>
      <dc:date>2019-09-30T02:49:31Z</dc:date>
    </item>
    <item>
      <title>Re: Question about header when using proc report</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Question-about-header-when-using-proc-report/m-p/592703#M15398</link>
      <description>&lt;P&gt;Please post the code that are using so far. Please post the code into a code box opened on the forum using the {I} or "running man" icons to preserve formatting.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also you should tell us what ODS style you are currently using for your output.&lt;/P&gt;</description>
      <pubDate>Mon, 30 Sep 2019 14:42:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Question-about-header-when-using-proc-report/m-p/592703#M15398</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2019-09-30T14:42:44Z</dc:date>
    </item>
    <item>
      <title>Re: Question about header when using proc report</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Question-about-header-when-using-proc-report/m-p/593775#M15567</link>
      <description>&lt;P&gt;Oh I'm sorry and thx for your reminding, below is my template and proc report code&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc template;
    define style rtfstyle;
    parent=styles.rtf;
    style fonts / 'TitleFont' = ("Courier New", 8pt, Bold) 
    'TitleFont2' = ("Courier New", 8pt, Bold)
    'StrongFont' = ("Courier New", 8pt, Bold) 
    'headingFont' = ("Courier New", 8pt, Bold) 
    'docFont' = ("Courier New", 8pt, Bold)
    'footFont' = ("Courier New", 8pt, Bold) 
    'FixedStrongFont' = ("Courier New", 8pt, Bold)
    'FixedHeadingFont' = ("Courier New", 8pt, Bold)
    'FixedFont' = ("Courier New", 8pt, Bold) 
    'BatchFixedFont' = ("Courier New", 8pt, Bold)
    'FixedEmphasisFont' = ("Courier New", 8pt, Bold)
    'EmphasisFont' = ("Courier New", 8pt, Bold);
    style Table from Output / bordercollapse = separate rules = none cellpadding = 0pt cellspacing = 0pt borderspacing = 0pt bordertopwidth = 1pt borderbottomwidth = 0pt frame = void;
    style body from document / leftmargin = 1in rightmargin = 1in topmargin = 1.5in bottommargin = 1in;
    style cell from container / ;
    style header from header / background = _undef_ leftmargin=2pt;
    end;
run;


proc report nowd data=final(where=(paramcd="SPGA0")) split = '|' nowd headline headskip missing;
	column avisitn ord ord2 label  trt5
							 trt6  trt7 ;
	define avisitn	 / noprint order order=data ;
	define ord 		 / computed noprint order order=data ; 
	define ord2 	 / noprint order order=data ; 
	define label 	 / width=45 "By Pooled Dose"  flow style(column)=[width=39% asis=on JUST=L] style(header)={just=LEFT borderbottomwidth=1pt};
	define trt5 	 / width=18 "aaa|(N=%cmpres(&amp;amp;den5))" style(column)=[width=20% asis=on JUST=C] style(header)={just=center borderbottomwidth=1pt};
	define trt6     / width=18 "bbb|(N=%cmpres(&amp;amp;den6))" style(column)=[width=20% asis=on JUST=C] style(header)={just=center borderbottomwidth=1pt};
	define trt7     / width=18 "Total|(N=%cmpres(&amp;amp;den7))" style(column)=[width=20% asis=on JUST=C] style(header)={just=center borderbottomwidth=1pt};
	
	compute before _page_;
	line @1 "Parameter: sPGA(0)";
	endcomp;

      compute after ord;
  	  line " ";
  	  endcomp;
	break after avisitn/ page;
 run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 03 Oct 2019 15:21:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Question-about-header-when-using-proc-report/m-p/593775#M15567</guid>
      <dc:creator>Kya_wwwwww</dc:creator>
      <dc:date>2019-10-03T15:21:02Z</dc:date>
    </item>
    <item>
      <title>Re: Question about header when using proc report</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Question-about-header-when-using-proc-report/m-p/593782#M15570</link>
      <description>&lt;P&gt;Why not just use a TITLE statement for that title line?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Oct 2019 15:39:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Question-about-header-when-using-proc-report/m-p/593782#M15570</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2019-10-03T15:39:27Z</dc:date>
    </item>
    <item>
      <title>Re: Question about header when using proc report</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Question-about-header-when-using-proc-report/m-p/593793#M15572</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Because there will be a blank line between the title and the table.&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Oct 2019 15:57:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Question-about-header-when-using-proc-report/m-p/593793#M15572</guid>
      <dc:creator>Kya_wwwwww</dc:creator>
      <dc:date>2019-10-03T15:57:35Z</dc:date>
    </item>
  </channel>
</rss>

