<?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: ODS PDF: Suppress header if data flows to multiple pages in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-Suppress-header-if-data-flows-to-multiple-pages/m-p/715148#M24832</link>
    <description>&lt;P&gt;Hi, you would need to run 2 REPORT steps. &lt;BR /&gt;1) page 1 uses regular column headers&lt;BR /&gt;2) page 2 and all subsequent pages use NOHEADER option on the PROC REPORT statement. Here's what it looks like:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Cynthia_sas_0-1611873913240.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/54051i275A39607F5D4861/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Cynthia_sas_0-1611873913240.png" alt="Cynthia_sas_0-1611873913240.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Cynthia&lt;/P&gt;</description>
    <pubDate>Thu, 28 Jan 2021 22:46:29 GMT</pubDate>
    <dc:creator>Cynthia_sas</dc:creator>
    <dc:date>2021-01-28T22:46:29Z</dc:date>
    <item>
      <title>ODS PDF: Suppress header if data flows to multiple pages</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-Suppress-header-if-data-flows-to-multiple-pages/m-p/715089#M24831</link>
      <description>&lt;P&gt;Hello Community,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Trying to find a way to suppress headers if the data flows to multiple pages in the same PROC REPORT.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data class;
set sashelp.class sashelp.class sashelp.class;
run;

ods pdf file="/user/Test_for_Header.pdf" ;
proc report data=class;
run;
ods pdf close;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I don't want the header on page 2.&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="image.png" style="width: 654px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/54044i01007DCD632FA74B/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jan 2021 19:44:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-Suppress-header-if-data-flows-to-multiple-pages/m-p/715089#M24831</guid>
      <dc:creator>SuryaKiran</dc:creator>
      <dc:date>2021-01-28T19:44:58Z</dc:date>
    </item>
    <item>
      <title>Re: ODS PDF: Suppress header if data flows to multiple pages</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-Suppress-header-if-data-flows-to-multiple-pages/m-p/715148#M24832</link>
      <description>&lt;P&gt;Hi, you would need to run 2 REPORT steps. &lt;BR /&gt;1) page 1 uses regular column headers&lt;BR /&gt;2) page 2 and all subsequent pages use NOHEADER option on the PROC REPORT statement. Here's what it looks like:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Cynthia_sas_0-1611873913240.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/54051i275A39607F5D4861/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Cynthia_sas_0-1611873913240.png" alt="Cynthia_sas_0-1611873913240.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Cynthia&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jan 2021 22:46:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-Suppress-header-if-data-flows-to-multiple-pages/m-p/715148#M24832</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2021-01-28T22:46:29Z</dc:date>
    </item>
    <item>
      <title>Re: ODS PDF: Suppress header if data flows to multiple pages</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-Suppress-header-if-data-flows-to-multiple-pages/m-p/715250#M24833</link>
      <description>&lt;P&gt;Change all the numeric variable into character.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data class;
length name sex _age _weight _height $ 40;
if _n_=1 then do;
name='name';sex='sex';_age='age';_weight='weight';_height='height';
output;
end;
set sashelp.class sashelp.class sashelp.class;
_age=put(age,best8. -l);
_weight=put(weight,best8. -l);
_height=put(height,best8. -l);
output;
drop age weight height;
run;

ods pdf file='c:\temp\x.pdf';
proc report data=class noheader;
compute name;
 n+1;
 if n=1 then call define(_row_,'style','style=header{fontsize=4 fontweight=blod}');
endcomp;
run;
ods pdf close;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 29 Jan 2021 12:53:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-Suppress-header-if-data-flows-to-multiple-pages/m-p/715250#M24833</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2021-01-29T12:53:56Z</dc:date>
    </item>
    <item>
      <title>Re: ODS PDF: Suppress header if data flows to multiple pages</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-Suppress-header-if-data-flows-to-multiple-pages/m-p/715335#M24834</link>
      <description>&lt;P&gt;Thanks for your reply&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/18408"&gt;@Ksharp&lt;/a&gt;. This is what I exactly did, but thought there must be a easy option that I might be missing in ODS PDF or PROC REPORT. If I don't find an easy way, I will mark this a solution.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jan 2021 15:54:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-Suppress-header-if-data-flows-to-multiple-pages/m-p/715335#M24834</guid>
      <dc:creator>SuryaKiran</dc:creator>
      <dc:date>2021-01-29T15:54:06Z</dc:date>
    </item>
    <item>
      <title>Re: ODS PDF: Suppress header if data flows to multiple pages</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-Suppress-header-if-data-flows-to-multiple-pages/m-p/715337#M24835</link>
      <description>&lt;P&gt;Thanks for your reply&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13549"&gt;@Cynthia_sas&lt;/a&gt;. Unfortunately I can't run two proc report, because I have another proc report before that might have varying rows. Rows count can't be pre-defined.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jan 2021 15:58:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-Suppress-header-if-data-flows-to-multiple-pages/m-p/715337#M24835</guid>
      <dc:creator>SuryaKiran</dc:creator>
      <dc:date>2021-01-29T15:58:25Z</dc:date>
    </item>
    <item>
      <title>Re: ODS PDF: Suppress header if data flows to multiple pages</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-Suppress-header-if-data-flows-to-multiple-pages/m-p/715525#M24836</link>
      <description>Yeah. I also want to know this option.&lt;BR /&gt;Maybe   &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13549"&gt;@Cynthia_sas&lt;/a&gt;  know or talk to sas support  .</description>
      <pubDate>Sat, 30 Jan 2021 10:49:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-Suppress-header-if-data-flows-to-multiple-pages/m-p/715525#M24836</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2021-01-30T10:49:12Z</dc:date>
    </item>
    <item>
      <title>Re: ODS PDF: Suppress header if data flows to multiple pages</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-Suppress-header-if-data-flows-to-multiple-pages/m-p/715543#M24837</link>
      <description>Hi, There is NOT any option. I showed the way to do it with 2 PROC REPORT steps. Otherwise, you need to fiddle with the data. For reports that are subject to regulatory constraints, fiddling with the data is not usually considered a viable option. There is nothing to ask Tech Support about this. There is NOT any option such as you envision.&lt;BR /&gt;Cynthia</description>
      <pubDate>Sat, 30 Jan 2021 15:31:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-Suppress-header-if-data-flows-to-multiple-pages/m-p/715543#M24837</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2021-01-30T15:31:20Z</dc:date>
    </item>
  </channel>
</rss>

