<?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: Removing table headers in a PROC PRINT report in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Removing-table-headers-in-a-PROC-PRINT-report/m-p/702951#M215344</link>
    <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/344348"&gt;@steeleye&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Statement&lt;FONT face="courier new,courier"&gt; title&lt;EM&gt;n&amp;nbsp;&lt;/EM&gt;;&amp;nbsp;&lt;/FONT&gt; clears all titles equal to or higher than &lt;EM&gt;n.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;This reset also takes place if you set a title&amp;nbsp;value such as:&amp;nbsp;&lt;FONT face="courier new,courier"&gt; title&lt;EM&gt;n&lt;/EM&gt; 'Summary';&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 02 Dec 2020 02:31:05 GMT</pubDate>
    <dc:creator>ChrisNZ</dc:creator>
    <dc:date>2020-12-02T02:31:05Z</dc:date>
    <item>
      <title>Removing table headers in a PROC PRINT report</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Removing-table-headers-in-a-PROC-PRINT-report/m-p/702701#M215237</link>
      <description>&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have been assigned to create a series of tables from a dataset using a PROC PRINT procedure. The tables are to be sorted by a variable CodCd (Cause of death). I have done this using a BY statement and a piece of the code I am using to do this is as follows:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;TITLE1 "Blood Pressure Summaries by Race";
PROC PRINT DATA = HypAnl.Hypanalysis1;&lt;BR /&gt;BY CodCd;
ID SSN;
VAR	WtLb BMI SBP;
RUN;
TITLE;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;One of the resulting tables looks like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="systitleandfootercontainer"&gt;&lt;DIV class="systitleandfootercontainer"&gt;&lt;DIV class="systitleandfootercontainer"&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN class="c systemtitle"&gt;Blood Pressure Summaries by Race&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;P class="c byline"&gt;Cause of Death Code=Heart Failure&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;SSN&lt;/TD&gt;&lt;TD&gt;SubjectWeight&lt;/TD&gt;&lt;TD&gt;BMI&lt;/TD&gt;&lt;TD&gt;Systolic BP&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;418-15-3055&lt;/TD&gt;&lt;TD&gt;212&lt;/TD&gt;&lt;TD&gt;27.1&lt;/TD&gt;&lt;TD&gt;161&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;423-12-7794&lt;/TD&gt;&lt;TD&gt;164&lt;/TD&gt;&lt;TD&gt;24.1&lt;/TD&gt;&lt;TD&gt;155&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;424-92-9797&lt;/TD&gt;&lt;TD&gt;176&lt;/TD&gt;&lt;TD&gt;23.1&lt;/TD&gt;&lt;TD&gt;168&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;798-08-2998&lt;/TD&gt;&lt;TD&gt;143&lt;/TD&gt;&lt;TD&gt;23.2&lt;/TD&gt;&lt;TD&gt;155&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;986-08-2045&lt;/TD&gt;&lt;TD&gt;161&lt;/TD&gt;&lt;TD&gt;26.6&lt;/TD&gt;&lt;TD&gt;160&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;My question is if there is a procedure that can remove the sub-header "Cause of Death Code=Heart Failure" from the output table?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Dec 2020 02:06:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Removing-table-headers-in-a-PROC-PRINT-report/m-p/702701#M215237</guid>
      <dc:creator>ESwei</dc:creator>
      <dc:date>2020-12-01T02:06:06Z</dc:date>
    </item>
    <item>
      <title>Re: Removing table headers in a PROC PRINT report</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Removing-table-headers-in-a-PROC-PRINT-report/m-p/702703#M215239</link>
      <description>&lt;P&gt;Look at the &lt;A href="https://documentation.sas.com/?docsetId=lesysoptsref&amp;amp;docsetTarget=n1hr2wb7h5g6twn1gtt5r4zjsg39.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en" target="_self"&gt;byline&lt;/A&gt; option.&lt;/P&gt;
&lt;P&gt;If you remove that line totally, you don't know which data is in the table.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Dec 2020 02:24:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Removing-table-headers-in-a-PROC-PRINT-report/m-p/702703#M215239</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2020-12-01T02:24:24Z</dc:date>
    </item>
    <item>
      <title>Re: Removing table headers in a PROC PRINT report</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Removing-table-headers-in-a-PROC-PRINT-report/m-p/702939#M215340</link>
      <description>&lt;P&gt;Because of where the title "Cause of Death Code = Heart Failure" is located, I would think that it is a secondary title which would have been created in a TITLE2 Statement somewhere earlier in your code. Try using TITLE1; and TITLE2; just before the section of code you provided to make sure that you are canceling all of the previously specified titles in your program!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;TITLE1;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;TITLE2;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;TITLE1 ''Blood Pressure Summaries by Race";&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;TITLE;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Dec 2020 00:34:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Removing-table-headers-in-a-PROC-PRINT-report/m-p/702939#M215340</guid>
      <dc:creator>steeleye</dc:creator>
      <dc:date>2020-12-02T00:34:38Z</dc:date>
    </item>
    <item>
      <title>Re: Removing table headers in a PROC PRINT report</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Removing-table-headers-in-a-PROC-PRINT-report/m-p/702951#M215344</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/344348"&gt;@steeleye&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Statement&lt;FONT face="courier new,courier"&gt; title&lt;EM&gt;n&amp;nbsp;&lt;/EM&gt;;&amp;nbsp;&lt;/FONT&gt; clears all titles equal to or higher than &lt;EM&gt;n.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;This reset also takes place if you set a title&amp;nbsp;value such as:&amp;nbsp;&lt;FONT face="courier new,courier"&gt; title&lt;EM&gt;n&lt;/EM&gt; 'Summary';&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Dec 2020 02:31:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Removing-table-headers-in-a-PROC-PRINT-report/m-p/702951#M215344</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2020-12-02T02:31:05Z</dc:date>
    </item>
  </channel>
</rss>

