<?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 Blank first page in proc report output in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Blank-first-page-in-proc-report-output/m-p/432173#M68707</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have trouble finding out why we get a first blank page in the output from a proc report.&lt;/P&gt;&lt;P&gt;I hope somebody has come across the same problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here&amp;nbsp;are the relevant codesnippets:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;%macro dan_report_styles;&lt;/P&gt;&lt;P&gt;%global&lt;BR /&gt;&amp;nbsp;vejl_link&lt;BR /&gt;&amp;nbsp;style_title1&lt;BR /&gt;&amp;nbsp;style_title2&lt;BR /&gt;&amp;nbsp;style_report&lt;BR /&gt;&amp;nbsp;style_column&lt;BR /&gt;&amp;nbsp;style_column_PDF&lt;BR /&gt;&amp;nbsp;style_header&lt;BR /&gt;&amp;nbsp;style_break&lt;BR /&gt;&amp;nbsp;style_rbreak&lt;BR /&gt;&amp;nbsp;style_status&lt;BR /&gt;&amp;nbsp;style_total&lt;BR /&gt;&amp;nbsp;;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;* styling report statement ;&lt;BR /&gt;&amp;nbsp;%let style_report={cellpadding=0 cellspacing=0 leftmargin=0.1in&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; rightmargin=0.1in};&lt;/P&gt;&lt;P&gt;* styling column statement ;&lt;BR /&gt;&amp;nbsp;%let style_column={fontfamily=Verdana fontsize=8pt verticalalign=middle };&lt;/P&gt;&lt;P&gt;* styling column statement - PDF output ;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;%let style_column_PDF={fontfamily=Verdana fontsize=6pt font_weight=bold cellwidth=0.7in};&lt;/P&gt;&lt;P&gt;* styling header statement ;&lt;BR /&gt;&amp;nbsp;%let style_header={fontfamily=Verdana font_size=8pt background=CX48656D foreground=white just=center};&lt;/P&gt;&lt;P&gt;* styling break lines ;&lt;BR /&gt;&amp;nbsp;%let style_break=[fontfamily=Verdana background=CXDBD9C0 foreground=black font_size=8pt];&lt;/P&gt;&lt;P&gt;* styling rbreak lines ;&lt;BR /&gt;&amp;nbsp;%let style_rbreak=[fontfamily=Verdana background=CX48656D foreground=white font_size=8pt font_weight=bold ];&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;%mend dan_report_styles;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;proc report data=&amp;amp;_input nowd split='£' missing SPANROWS&lt;BR /&gt;&amp;nbsp;style(report)=&amp;amp;style_report.&lt;BR /&gt;&amp;nbsp;style(column)=&amp;amp;style_column_PDF.&lt;BR /&gt;&amp;nbsp;style(header)=&amp;amp;style_header.;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BR. Karsten&lt;/P&gt;</description>
    <pubDate>Tue, 30 Jan 2018 13:03:30 GMT</pubDate>
    <dc:creator>KNN</dc:creator>
    <dc:date>2018-01-30T13:03:30Z</dc:date>
    <item>
      <title>Blank first page in proc report output</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Blank-first-page-in-proc-report-output/m-p/432173#M68707</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have trouble finding out why we get a first blank page in the output from a proc report.&lt;/P&gt;&lt;P&gt;I hope somebody has come across the same problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here&amp;nbsp;are the relevant codesnippets:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;%macro dan_report_styles;&lt;/P&gt;&lt;P&gt;%global&lt;BR /&gt;&amp;nbsp;vejl_link&lt;BR /&gt;&amp;nbsp;style_title1&lt;BR /&gt;&amp;nbsp;style_title2&lt;BR /&gt;&amp;nbsp;style_report&lt;BR /&gt;&amp;nbsp;style_column&lt;BR /&gt;&amp;nbsp;style_column_PDF&lt;BR /&gt;&amp;nbsp;style_header&lt;BR /&gt;&amp;nbsp;style_break&lt;BR /&gt;&amp;nbsp;style_rbreak&lt;BR /&gt;&amp;nbsp;style_status&lt;BR /&gt;&amp;nbsp;style_total&lt;BR /&gt;&amp;nbsp;;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;* styling report statement ;&lt;BR /&gt;&amp;nbsp;%let style_report={cellpadding=0 cellspacing=0 leftmargin=0.1in&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; rightmargin=0.1in};&lt;/P&gt;&lt;P&gt;* styling column statement ;&lt;BR /&gt;&amp;nbsp;%let style_column={fontfamily=Verdana fontsize=8pt verticalalign=middle };&lt;/P&gt;&lt;P&gt;* styling column statement - PDF output ;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;%let style_column_PDF={fontfamily=Verdana fontsize=6pt font_weight=bold cellwidth=0.7in};&lt;/P&gt;&lt;P&gt;* styling header statement ;&lt;BR /&gt;&amp;nbsp;%let style_header={fontfamily=Verdana font_size=8pt background=CX48656D foreground=white just=center};&lt;/P&gt;&lt;P&gt;* styling break lines ;&lt;BR /&gt;&amp;nbsp;%let style_break=[fontfamily=Verdana background=CXDBD9C0 foreground=black font_size=8pt];&lt;/P&gt;&lt;P&gt;* styling rbreak lines ;&lt;BR /&gt;&amp;nbsp;%let style_rbreak=[fontfamily=Verdana background=CX48656D foreground=white font_size=8pt font_weight=bold ];&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;%mend dan_report_styles;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;proc report data=&amp;amp;_input nowd split='£' missing SPANROWS&lt;BR /&gt;&amp;nbsp;style(report)=&amp;amp;style_report.&lt;BR /&gt;&amp;nbsp;style(column)=&amp;amp;style_column_PDF.&lt;BR /&gt;&amp;nbsp;style(header)=&amp;amp;style_header.;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BR. Karsten&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jan 2018 13:03:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Blank-first-page-in-proc-report-output/m-p/432173#M68707</guid>
      <dc:creator>KNN</dc:creator>
      <dc:date>2018-01-30T13:03:30Z</dc:date>
    </item>
    <item>
      <title>Re: Blank first page in proc report output</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Blank-first-page-in-proc-report-output/m-p/432186#M68708</link>
      <description>&lt;P&gt;Can you regenerate your issue with option: obs=20 &lt;STRONG&gt;as a sample&lt;/STRONG&gt; ?&lt;/P&gt;
&lt;P&gt;Do you get the same issue running proc report&amp;nbsp;&lt;STRONG&gt;without styles&lt;/STRONG&gt;?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If positive please post:&lt;/P&gt;
&lt;P&gt;- a datastep to read in your first 20 observations - the by variables with some others&lt;/P&gt;
&lt;P&gt;- the log of this sample run&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jan 2018 13:53:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Blank-first-page-in-proc-report-output/m-p/432186#M68708</guid>
      <dc:creator>Shmuel</dc:creator>
      <dc:date>2018-01-30T13:53:49Z</dc:date>
    </item>
    <item>
      <title>Re: Blank first page in proc report output</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Blank-first-page-in-proc-report-output/m-p/432197#M68709</link>
      <description>&lt;P&gt;Hi:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; As already noted, it is hard to speculate, we need to see your FULL code, including your ODS destinations statements. You must be using PDF or RTF, but in this case, what option are you using. What does your data look like and what is happening in the rest of your macro program? You would not normally need a macro program just to use macro variables for STYLE overrides, which makes me wonder whether you have other processing done in your Macro program.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; There have been other postings related to getting a blank page:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-with-option-startpage-no-new-generates-a-BLANK-page-how/td-p/369963" target="_blank"&gt;https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-with-option-startpage-no-new-generates-a-BLANK-page-how/td-p/369963&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://communities.sas.com/t5/General-SAS-Programming/ODS-PDF-How-to-deal-with-blank-page/td-p/198215" target="_blank"&gt;https://communities.sas.com/t5/General-SAS-Programming/ODS-PDF-How-to-deal-with-blank-page/td-p/198215&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://communities.sas.com/t5/Base-SAS-Programming/Report-Blank-Page/td-p/105513" target="_blank"&gt;https://communities.sas.com/t5/Base-SAS-Programming/Report-Blank-Page/td-p/105513&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;and, if RTF &lt;A href="http://support.sas.com/techsup/notes/v8/16/976.html" target="_blank"&gt;http://support.sas.com/techsup/notes/v8/16/976.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; cynthia&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jan 2018 14:25:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Blank-first-page-in-proc-report-output/m-p/432197#M68709</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2018-01-30T14:25:55Z</dc:date>
    </item>
    <item>
      <title>Re: Blank first page in proc report output</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Blank-first-page-in-proc-report-output/m-p/432648#M68729</link>
      <description>&lt;P&gt;Hi Cynthia and Shmuel,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much for your replies - they are highly appreciated. I have not posted the complete code - I tried to extract the relevant parts in order to make it easy&amp;nbsp;approachable for you. I will of course take your suggestions regarding how much code to post when I need help the next time.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have actually found a solution since I posted. We added a column to the dataset and filled this column with value=1 for the first 25 rows, value=2 for the next 25 rows and so forth. We can have 25 rows on each page. Then we group on this column. This solved the problem for us.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again for your suggestions - and have a nice day.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Br. Karsten&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jan 2018 09:41:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Blank-first-page-in-proc-report-output/m-p/432648#M68729</guid>
      <dc:creator>KNN</dc:creator>
      <dc:date>2018-01-31T09:41:45Z</dc:date>
    </item>
  </channel>
</rss>

