<?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:Column HEADSKIP in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/PROC-REPORT-Column-HEADSKIP/m-p/577446#M163624</link>
    <description>&lt;P&gt;I'm trying to put a line underneath my column headings (one continuous line). It's not showing up even when&lt;/P&gt;&lt;P&gt;I added 'headline headskip' to the proc report line.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I know my rules=NONE option may be messing with this but I literally can't have any horizontal grid lines except 2: 1) immediately&lt;/P&gt;&lt;P&gt;after the column headings 2) immediately after all the data rows.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="This is my current output w/ my code." style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/31374iFECCC13353A8D321/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="This is my current output w/ my code." /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;This is my current output w/ my code.&lt;/span&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="This is what my output should look like (note the horizontal line below column headings." style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/31375iD107DE9DAF1CA4D7/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="This is what my output should look like (note the horizontal line below column headings." /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;This is what my output should look like (note the horizontal line below column headings.&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods pdf style=tmplts.MyStyle;

proc report data=counts3 nowindows split="*" style(report)={rules=NONE frame=void}
headline headskip;
	columns (invnid coli2 coli1 coli3);
	define invnid /order style={cellwidth=31% asis=on just=l}
	"Investigator Name, and Investigator Number"; 
	define coli2 /display style={cellwidth=22% just=c} spacing=3 order order=data flow "Placebo*(n=&amp;amp;n2)" left;
	define coli1 /display style={cellwidth=22% just=c} spacing=3 order order=data flow "CMP-135 * (n=&amp;amp;n1)" left;
	define coli3 /display style={cellwidth=22% just=c} spacing=3 order order=data flow "All Patients * (n=&amp;amp;n3)" left;
	break after invnid/skip;
	compute after _page_/style={just=l font_face='Courier New' font_size=10pt bordertopcolor=black bordertopwidth=0.25};
line "Note:";
line "Investigator name &amp;amp; ID number used.";
endcomp;
	title1 j=l 'Company/PRJ5457C';
	title2 j=c 'Table 14.1/1';
	title3 j=c 'Enrollment by Investigator';
	title4 j=c 'Randomized Patients';
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 29 Jul 2019 17:08:26 GMT</pubDate>
    <dc:creator>anonymous_user</dc:creator>
    <dc:date>2019-07-29T17:08:26Z</dc:date>
    <item>
      <title>PROC REPORT:Column HEADSKIP</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PROC-REPORT-Column-HEADSKIP/m-p/577446#M163624</link>
      <description>&lt;P&gt;I'm trying to put a line underneath my column headings (one continuous line). It's not showing up even when&lt;/P&gt;&lt;P&gt;I added 'headline headskip' to the proc report line.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I know my rules=NONE option may be messing with this but I literally can't have any horizontal grid lines except 2: 1) immediately&lt;/P&gt;&lt;P&gt;after the column headings 2) immediately after all the data rows.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="This is my current output w/ my code." style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/31374iFECCC13353A8D321/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="This is my current output w/ my code." /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;This is my current output w/ my code.&lt;/span&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="This is what my output should look like (note the horizontal line below column headings." style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/31375iD107DE9DAF1CA4D7/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="This is what my output should look like (note the horizontal line below column headings." /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;This is what my output should look like (note the horizontal line below column headings.&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods pdf style=tmplts.MyStyle;

proc report data=counts3 nowindows split="*" style(report)={rules=NONE frame=void}
headline headskip;
	columns (invnid coli2 coli1 coli3);
	define invnid /order style={cellwidth=31% asis=on just=l}
	"Investigator Name, and Investigator Number"; 
	define coli2 /display style={cellwidth=22% just=c} spacing=3 order order=data flow "Placebo*(n=&amp;amp;n2)" left;
	define coli1 /display style={cellwidth=22% just=c} spacing=3 order order=data flow "CMP-135 * (n=&amp;amp;n1)" left;
	define coli3 /display style={cellwidth=22% just=c} spacing=3 order order=data flow "All Patients * (n=&amp;amp;n3)" left;
	break after invnid/skip;
	compute after _page_/style={just=l font_face='Courier New' font_size=10pt bordertopcolor=black bordertopwidth=0.25};
line "Note:";
line "Investigator name &amp;amp; ID number used.";
endcomp;
	title1 j=l 'Company/PRJ5457C';
	title2 j=c 'Table 14.1/1';
	title3 j=c 'Enrollment by Investigator';
	title4 j=c 'Randomized Patients';
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jul 2019 17:08:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PROC-REPORT-Column-HEADSKIP/m-p/577446#M163624</guid>
      <dc:creator>anonymous_user</dc:creator>
      <dc:date>2019-07-29T17:08:26Z</dc:date>
    </item>
    <item>
      <title>Re: PROC REPORT:Column HEADSKIP</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PROC-REPORT-Column-HEADSKIP/m-p/578251#M163961</link>
      <description>&lt;P&gt;The headline and headskip options only affect LISTING output.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Instead of using rules=none for the style of the report, have you tried rules=groups?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods pdf file='/folders/myfolders/ODS PDF/Journal_style.pdf';


%let n1=17;
%let n2=49;
%let n3=99;

* headline and headskip options only affect LISTING output!  ;

proc report data=sashelp.class nowindows split="*" style(report)={rules=groups frame=void}
headline headskip;
	columns (name sex age height weight);
	define name /order style={cellwidth=31% asis=on just=l}
	"Investigator Name, and Investigator Number"; 
	define sex /display style={cellwidth=22% just=c} spacing=3 order order=data flow "Placebo*(n=&amp;amp;n2)" left;
	define age /display style={cellwidth=22% just=c} spacing=3 order order=data flow "CMP-135 * (n=&amp;amp;n1)" left;
	define height /display style={cellwidth=11% just=c} spacing=3 order order=data flow "All Patients * (n=&amp;amp;n3)" left;
    define weight /display style={cellwidth=11% just=c} spacing=3 order order=data flow "All Patients * (n=&amp;amp;n3)" left;
/* 	break after invnid/skip; */
	compute after _page_/style={just=l font_face='Courier New' font_size=10pt bordertopcolor=black bordertopwidth=0.25};
line "Note:";
line "Investigator name &amp;amp; ID number used.";
endcomp;
	title1 j=l 'Company/PRJ5457C';
	title2 j=c 'Table 14.1/1';
	title3 j=c 'Enrollment by Investigator';
	title4 j=c 'Randomized Patients';
run;

ods pdf close;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Below is a screen shot of the output.&amp;nbsp; I used SASHELP.CLASS since you didn't provide example data.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PROC REPORT with rules=groups has a line beneath the header and at the bottom of the table" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/31450i00EA38B9DC40A575/image-size/large?v=v2&amp;amp;px=999" role="button" title="PROC REPORT with rules=groups.jpg" alt="PROC REPORT with rules=groups has a line beneath the header and at the bottom of the table" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;PROC REPORT with rules=groups has a line beneath the header and at the bottom of the table&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You may find this &lt;A href="https://www.lexjansen.com/wuss/2010/TUT/3027_1_TUT-Zender.pdf" target="_blank" rel="noopener"&gt;PROC REPORT Tutorial&lt;/A&gt; by&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13549"&gt;@Cynthia_sas&lt;/a&gt;&amp;nbsp;helpful.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Aug 2019 02:12:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PROC-REPORT-Column-HEADSKIP/m-p/578251#M163961</guid>
      <dc:creator>SuzanneDorinski</dc:creator>
      <dc:date>2019-08-01T02:12:10Z</dc:date>
    </item>
    <item>
      <title>Re: PROC REPORT:Column HEADSKIP</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PROC-REPORT-Column-HEADSKIP/m-p/578257#M163964</link>
      <description>&lt;P&gt;Thank you so much Suzanne! This code worked. I'm going to review different proc report options for each type of output.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You're amazing! Thank you!!!&amp;nbsp;&lt;img id="smileyvery-happy" class="emoticon emoticon-smileyvery-happy" src="https://communities.sas.com/i/smilies/16x16_smiley-very-happy.png" alt="Smiley Very Happy" title="Smiley Very Happy" /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Aug 2019 02:48:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PROC-REPORT-Column-HEADSKIP/m-p/578257#M163964</guid>
      <dc:creator>anonymous_user</dc:creator>
      <dc:date>2019-08-01T02:48:16Z</dc:date>
    </item>
  </channel>
</rss>

