<?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 Suppress Variable Headers in Proc Print in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Suppress-Variable-Headers-in-Proc-Print/m-p/7361#M2730</link>
    <description>Hello,&lt;BR /&gt;
I want to use a proc print statement as a drill down from an ODS report I am building for work.  I want it to act like a master-detail set where selecting a hyper linked row in the first table takes the user to a detail page.  Proc print by default presents the data as&lt;BR /&gt;
&lt;BR /&gt;
var1  |  var2&lt;BR /&gt;
one:    a   &lt;BR /&gt;
two:    b&lt;BR /&gt;
&lt;BR /&gt;
I want to present the page without the headers so I would look like this&lt;BR /&gt;
&lt;BR /&gt;
one:   a&lt;BR /&gt;
two:   b&lt;BR /&gt;
&lt;BR /&gt;
Is there an easy option to suppress the header row?  Thanks in advance</description>
    <pubDate>Sun, 09 Mar 2008 23:13:51 GMT</pubDate>
    <dc:creator>CameronLawson</dc:creator>
    <dc:date>2008-03-09T23:13:51Z</dc:date>
    <item>
      <title>Suppress Variable Headers in Proc Print</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Suppress-Variable-Headers-in-Proc-Print/m-p/7361#M2730</link>
      <description>Hello,&lt;BR /&gt;
I want to use a proc print statement as a drill down from an ODS report I am building for work.  I want it to act like a master-detail set where selecting a hyper linked row in the first table takes the user to a detail page.  Proc print by default presents the data as&lt;BR /&gt;
&lt;BR /&gt;
var1  |  var2&lt;BR /&gt;
one:    a   &lt;BR /&gt;
two:    b&lt;BR /&gt;
&lt;BR /&gt;
I want to present the page without the headers so I would look like this&lt;BR /&gt;
&lt;BR /&gt;
one:   a&lt;BR /&gt;
two:   b&lt;BR /&gt;
&lt;BR /&gt;
Is there an easy option to suppress the header row?  Thanks in advance</description>
      <pubDate>Sun, 09 Mar 2008 23:13:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Suppress-Variable-Headers-in-Proc-Print/m-p/7361#M2730</guid>
      <dc:creator>CameronLawson</dc:creator>
      <dc:date>2008-03-09T23:13:51Z</dc:date>
    </item>
    <item>
      <title>Re: Suppress Variable Headers in Proc Print</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Suppress-Variable-Headers-in-Proc-Print/m-p/7362#M2731</link>
      <description>Hi:&lt;BR /&gt;
  There are 2 ways to do what you want ... &lt;BR /&gt;
1) fool PROC PRINT by using the split character as the column header&lt;BR /&gt;
2) use PROC REPORT with the NOHEADER option&lt;BR /&gt;
&lt;BR /&gt;
If all you are doing is writing output to the LISTING window, then either method will work. If you want ODS output (RTF, PDF or HTML), then the PROC REPORT method is better.&lt;BR /&gt;
 &lt;BR /&gt;
cynthia&lt;BR /&gt;
&lt;BR /&gt;
[pre]&lt;BR /&gt;
ods listing;&lt;BR /&gt;
  &lt;BR /&gt;
ods html file='c:\temp\stuff.html';&lt;BR /&gt;
ods pdf file='c:\temp\stuff.pdf';&lt;BR /&gt;
ods rtf file='c:\temp\stuff.rtf';&lt;BR /&gt;
  &lt;BR /&gt;
 proc report data=sashelp.class nowd noheader;&lt;BR /&gt;
   title 'proc report w/noheader option';&lt;BR /&gt;
   column name age height;&lt;BR /&gt;
 run;&lt;BR /&gt;
   &lt;BR /&gt;
 proc print data=sashelp.class noobs split='*';&lt;BR /&gt;
 title 'proc print';&lt;BR /&gt;
 var name height;&lt;BR /&gt;
 label height = '*'&lt;BR /&gt;
       name = '*';&lt;BR /&gt;
 run;&lt;BR /&gt;
   &lt;BR /&gt;
ods _all_ close;&lt;BR /&gt;
[/pre]</description>
      <pubDate>Mon, 10 Mar 2008 00:30:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Suppress-Variable-Headers-in-Proc-Print/m-p/7362#M2731</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2008-03-10T00:30:25Z</dc:date>
    </item>
    <item>
      <title>Re: Suppress Variable Headers in Proc Print</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Suppress-Variable-Headers-in-Proc-Print/m-p/7363#M2732</link>
      <description>rather than use proc print, use a simple data step, like:[pre]data _null_ ;&lt;BR /&gt;
  file 'your.destination file.CSV'  dsd  lrecl= 1000 ;&lt;BR /&gt;
  set your.data ;&lt;BR /&gt;
  where &lt;RELEVANT where="" clause=""&gt; ;&lt;BR /&gt;
  put ......... see below ;&lt;BR /&gt;
run;[/pre] That put statement has 2 alternatives. If you want all columns in column order, then use[pre]  put (_all_)(:) ;[/pre] For an explicit list like a VAR statement for proc print, use, for example: [pre]  put ( var1 var2 )(:) ;[/pre]    &lt;BR /&gt;
&lt;BR /&gt;
Good Luck&lt;BR /&gt;
&lt;BR /&gt;
PeterC&lt;/RELEVANT&gt;</description>
      <pubDate>Mon, 10 Mar 2008 09:25:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Suppress-Variable-Headers-in-Proc-Print/m-p/7363#M2732</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2008-03-10T09:25:55Z</dc:date>
    </item>
    <item>
      <title>Re: Suppress Variable Headers in Proc Print</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Suppress-Variable-Headers-in-Proc-Print/m-p/7364#M2733</link>
      <description>Hi:&lt;BR /&gt;
  The DATA step would work if you were creating a flat file, such as a CSV file or an ASCII text file. But if you're using FILE PRINT ODS and creating a report, then DATA _NULL_ with FILE PRINT ODS would still give you headers unless you changed the table template for use with Data step.&lt;BR /&gt;
cynthia</description>
      <pubDate>Mon, 10 Mar 2008 14:04:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Suppress-Variable-Headers-in-Proc-Print/m-p/7364#M2733</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2008-03-10T14:04:03Z</dc:date>
    </item>
    <item>
      <title>Re: Suppress Variable Headers in Proc Print</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Suppress-Variable-Headers-in-Proc-Print/m-p/7365#M2734</link>
      <description>Thanks for the reply both of you.&lt;BR /&gt;
&lt;BR /&gt;
My first preference was to use data _null_ but I have found it to return no output (because of our setup configuration).&lt;BR /&gt;
&lt;BR /&gt;
Thanks for the snippet.  I had forgotten about noheader.</description>
      <pubDate>Tue, 11 Mar 2008 09:45:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Suppress-Variable-Headers-in-Proc-Print/m-p/7365#M2734</guid>
      <dc:creator>CameronLawson</dc:creator>
      <dc:date>2008-03-11T09:45:16Z</dc:date>
    </item>
  </channel>
</rss>

