<?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: Can the blank line at the end of the PROC REPORT be deleted? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Can-the-blank-line-at-the-end-of-the-PROC-REPORT-be-deleted/m-p/274957#M54929</link>
    <description>&lt;P&gt;Hi:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Without code or seeing what you describe, it is hard to comment. From what you describe, however, I imagine a HUGE worksheet with 1000 rows, a blank line (after the first PROC REPORT) and then another 1000 rows from a second PROC REPORT) ?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Even when I have very dedicated users, their tolerance for scrolling through thousands of rows was limited. So I have to wonder whether delivering a worksheet without ANY reader breaks is a good idea.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But, without data to test or the code that produces the output, or an example of the current results vs the final desired result, it is hard to know whether the blank line is generated by PROC REPORT or whether the blank line is the result of the normal processing when you use sheet_interval='none', as shown if you run the code below.&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;ods excel file='c:\temp\tworeports.xlsx'&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; options(sheet_interval='none');&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;proc report data=sashelp.class;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; title '1) first';&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; column name age height sex weight;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;run;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;proc report data=sashelp.shoes(obs=25);&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; title '2) second';&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; column region product sales inventory returns;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;run;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The output:&lt;/P&gt;
&lt;P&gt;&lt;IMG title="two_report_blank_line_excel.png" alt="two_report_blank_line_excel.png" src="https://communities.sas.com/t5/image/serverpage/image-id/3479i13959BBA3FA9BA2D/image-size/original?v=v2&amp;amp;px=-1" border="0" /&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; If you run this code, you will observe 1 blank line between the first output from PROC REPORT for SASHELP.CLASS and the second output from PROC REPORT for SASHELP.SHOES. That blank line is NOT coming from PROC REPORT. That blank line is the normal division between 2 procedures.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Whether you can get rid of this blank line (if this is what you are referencing, is a question for Tech Support.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;cynthia&lt;/P&gt;</description>
    <pubDate>Fri, 03 Jun 2016 14:13:44 GMT</pubDate>
    <dc:creator>Cynthia_sas</dc:creator>
    <dc:date>2016-06-03T14:13:44Z</dc:date>
    <item>
      <title>Can the blank line at the end of the PROC REPORT be deleted?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Can-the-blank-line-at-the-end-of-the-PROC-REPORT-be-deleted/m-p/274180#M54677</link>
      <description>&lt;P&gt;I am working on appending the data through loop and PROC REPORT and ODS EXCEL methods.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am successful in appending the data &amp;nbsp;but i am getting a blank rows after each iterations of proc report which is after 1000 lines of data. how to delete or suppress that blank lines?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let me know if you need any additional information.&lt;/P&gt;</description>
      <pubDate>Tue, 31 May 2016 19:10:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Can-the-blank-line-at-the-end-of-the-PROC-REPORT-be-deleted/m-p/274180#M54677</guid>
      <dc:creator>SASAna</dc:creator>
      <dc:date>2016-05-31T19:10:01Z</dc:date>
    </item>
    <item>
      <title>Re: Can the blank line at the end of the PROC REPORT be deleted?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Can-the-blank-line-at-the-end-of-the-PROC-REPORT-be-deleted/m-p/274957#M54929</link>
      <description>&lt;P&gt;Hi:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Without code or seeing what you describe, it is hard to comment. From what you describe, however, I imagine a HUGE worksheet with 1000 rows, a blank line (after the first PROC REPORT) and then another 1000 rows from a second PROC REPORT) ?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Even when I have very dedicated users, their tolerance for scrolling through thousands of rows was limited. So I have to wonder whether delivering a worksheet without ANY reader breaks is a good idea.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But, without data to test or the code that produces the output, or an example of the current results vs the final desired result, it is hard to know whether the blank line is generated by PROC REPORT or whether the blank line is the result of the normal processing when you use sheet_interval='none', as shown if you run the code below.&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;ods excel file='c:\temp\tworeports.xlsx'&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; options(sheet_interval='none');&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;proc report data=sashelp.class;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; title '1) first';&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; column name age height sex weight;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;run;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;proc report data=sashelp.shoes(obs=25);&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; title '2) second';&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; column region product sales inventory returns;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;run;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The output:&lt;/P&gt;
&lt;P&gt;&lt;IMG title="two_report_blank_line_excel.png" alt="two_report_blank_line_excel.png" src="https://communities.sas.com/t5/image/serverpage/image-id/3479i13959BBA3FA9BA2D/image-size/original?v=v2&amp;amp;px=-1" border="0" /&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; If you run this code, you will observe 1 blank line between the first output from PROC REPORT for SASHELP.CLASS and the second output from PROC REPORT for SASHELP.SHOES. That blank line is NOT coming from PROC REPORT. That blank line is the normal division between 2 procedures.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Whether you can get rid of this blank line (if this is what you are referencing, is a question for Tech Support.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;cynthia&lt;/P&gt;</description>
      <pubDate>Fri, 03 Jun 2016 14:13:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Can-the-blank-line-at-the-end-of-the-PROC-REPORT-be-deleted/m-p/274957#M54929</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2016-06-03T14:13:44Z</dc:date>
    </item>
    <item>
      <title>Re: Can the blank line at the end of the PROC REPORT be deleted?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Can-the-blank-line-at-the-end-of-the-PROC-REPORT-be-deleted/m-p/275404#M55067</link>
      <description>&lt;P&gt;Thanks for the reply Cynthia.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Due to the MAX # of attributes (around 400) ODS EXCEL is limiting the # of rows to 1200, so i added a logic of loop of 1000 records to test. It works really fine, but with the bug of blank line.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You are correct .&amp;nbsp;Excel output is &amp;nbsp;like this format -&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Header&amp;nbsp;&lt;/P&gt;&lt;P&gt;1000 Rows&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;A blank line&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;1000 Rows&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;A blank line&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;1000 Rows&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;A blank line&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Was searching a way with lot of options but nothing worked till now.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jun 2016 14:34:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Can-the-blank-line-at-the-end-of-the-PROC-REPORT-be-deleted/m-p/275404#M55067</guid>
      <dc:creator>SASAna</dc:creator>
      <dc:date>2016-06-06T14:34:24Z</dc:date>
    </item>
    <item>
      <title>Re: Can the blank line at the end of the PROC REPORT be deleted?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Can-the-blank-line-at-the-end-of-the-PROC-REPORT-be-deleted/m-p/275531#M55096</link>
      <description>HI:&lt;BR /&gt;  As I indicated, PROC REPORT is not at fault here and what you observe is not a "bug" -- it is the normal division between every procedure. It would not matter if you had a PROC REPORT, followed by a PROC MEANS, followed by a PROC TABULATE, if you put all the output into one worksheet, there is usually some kind of "break" between each procedure.&lt;BR /&gt;&lt;BR /&gt;cynthia</description>
      <pubDate>Mon, 06 Jun 2016 22:06:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Can-the-blank-line-at-the-end-of-the-PROC-REPORT-be-deleted/m-p/275531#M55096</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2016-06-06T22:06:23Z</dc:date>
    </item>
  </channel>
</rss>

