<?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: ignore header in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/ignore-header/m-p/697302#M213078</link>
    <description>&lt;P&gt;If, by "header", y&lt;/P&gt;</description>
    <pubDate>Sat, 07 Nov 2020 06:53:41 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2020-11-07T06:53:41Z</dc:date>
    <item>
      <title>ignore header</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ignore-header/m-p/697297#M213076</link>
      <description>&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using this code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;data&lt;/SPAN&gt;&lt;SPAN&gt; want&lt;/SPAN&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;set&lt;/SPAN&gt;&lt;SPAN&gt; order&lt;/SPAN&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;length&lt;/SPAN&gt;&lt;SPAN&gt; order_no_str &lt;/SPAN&gt;&lt;SPAN&gt;$&lt;/SPAN&gt;&lt;SPAN&gt;100&lt;/SPAN&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;order_no_str &lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;cats&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;put&lt;/SPAN&gt;&lt;SPAN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P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;How can I "delete" the header?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Do I really need proc print? It is not necessary to see it in SAS again. Can I suppress it?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanx!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Caro&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 07 Nov 2020 06:23:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ignore-header/m-p/697297#M213076</guid>
      <dc:creator>Caro17</dc:creator>
      <dc:date>2020-11-07T06:23:14Z</dc:date>
    </item>
    <item>
      <title>Re: ignore header</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ignore-header/m-p/697302#M213078</link>
      <description>&lt;P&gt;If, by "header", y&lt;/P&gt;</description>
      <pubDate>Sat, 07 Nov 2020 06:53:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ignore-header/m-p/697302#M213078</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-11-07T06:53:41Z</dc:date>
    </item>
    <item>
      <title>Re: ignore header</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ignore-header/m-p/697304#M213080</link>
      <description>&lt;P&gt;If, by "header", you mean the page title, you can remove it by issuing an empty TITLE statement.&lt;/P&gt;
&lt;P&gt;If you just want to bring your raw data to Excel, use PROC EXPORT with DBMS=XLSX, or LIBNAME XLSX instead of ODS EXCEL. ODS EXCEL is good mainly for "prettying up" the Excel spreadsheet.&lt;/P&gt;</description>
      <pubDate>Sat, 07 Nov 2020 06:56:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ignore-header/m-p/697304#M213080</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-11-07T06:56:44Z</dc:date>
    </item>
    <item>
      <title>Re: ignore header</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ignore-header/m-p/697323#M213085</link>
      <description>1)&lt;BR /&gt;proc print data=want split='*' ;&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;2)&lt;BR /&gt;proc report data=want nowd  noheader ;&lt;BR /&gt;run;</description>
      <pubDate>Sat, 07 Nov 2020 10:43:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ignore-header/m-p/697323#M213085</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2020-11-07T10:43:26Z</dc:date>
    </item>
    <item>
      <title>Re: ignore header</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ignore-header/m-p/697511#M213165</link>
      <description>"header" is the title of the column.&lt;BR /&gt;&lt;BR /&gt;What do you mean by "empty TITLE statement"? Do you mean TITLE ''?&lt;BR /&gt;&lt;BR /&gt;I still have the title of the column.</description>
      <pubDate>Mon, 09 Nov 2020 06:31:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ignore-header/m-p/697511#M213165</guid>
      <dc:creator>Caro17</dc:creator>
      <dc:date>2020-11-09T06:31:36Z</dc:date>
    </item>
    <item>
      <title>Re: ignore header</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ignore-header/m-p/697512#M213166</link>
      <description>Neither 1) nor 2) leads to the wished result. I still have the title of the column.</description>
      <pubDate>Mon, 09 Nov 2020 06:32:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ignore-header/m-p/697512#M213166</guid>
      <dc:creator>Caro17</dc:creator>
      <dc:date>2020-11-09T06:32:29Z</dc:date>
    </item>
    <item>
      <title>Re: ignore header</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ignore-header/m-p/697518#M213170</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/329668"&gt;@Caro17&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;Neither 1) nor 2) leads to the wished result. I still have the title of the column.&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Please post the code you have used, because when i execute the following code the result is as expected:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods excel file="dummy.xlsx";

proc report data=sashelp.class noheader;
run;

ods excel close;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="excel_no_header.png" style="width: 200px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/51510i40EE40460C050F28/image-size/small?v=v2&amp;amp;px=200" role="button" title="excel_no_header.png" alt="excel_no_header.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Nov 2020 07:01:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ignore-header/m-p/697518#M213170</guid>
      <dc:creator>andreas_lds</dc:creator>
      <dc:date>2020-11-09T07:01:26Z</dc:date>
    </item>
    <item>
      <title>Re: ignore header</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ignore-header/m-p/697520#M213171</link>
      <description>&lt;P&gt;So what you meant are the column headers. Title has, in SAS, a different connotation, meaning the page headers created through the TITLE statements.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/18408"&gt;@Ksharp&lt;/a&gt;&amp;nbsp;suggested, you can suppress the column headers in PROC REPORT with the NOHEADER option.&lt;/P&gt;
&lt;P&gt;This code&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods excel file='/folders/myfolders/class.xlsx';

proc report data=sashelp.class noheader;
run;

ods excel close;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;created a sheet like this:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bildschirmfoto 2020-11-09 um 08.03.08.png"&gt;&lt;img src="https://communities.sas.com/skins/images/70F8802BAA6255D55FBEC62A8226FB10/responsive_peak/images/image_not_found.png" alt="Bildschirmfoto 2020-11-09 um 08.03.08.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Nov 2020 07:04:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ignore-header/m-p/697520#M213171</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-11-09T07:04:25Z</dc:date>
    </item>
  </channel>
</rss>

