<?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: How do find the very last page in proc report in ODS Pdf and wirte the sumry info at very last p in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-do-find-the-very-last-page-in-proc-report-in-ODS-Pdf-and/m-p/487572#M21472</link>
    <description>&lt;P&gt;Hi &lt;A class="lia-link-navigation lia-page-link lia-user-name-link" id="link_8" style="color: rgb(0, 153, 153);" href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13884" target="_self"&gt;&lt;SPAN class="login-bold"&gt;ballardw&lt;/SPAN&gt;&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I want to write the summary is part of the table. Actually I want to write the summary at the end of the detail lines.&amp;nbsp; I don't want to write the summary on separate page.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&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;Anton&lt;/P&gt;</description>
    <pubDate>Thu, 16 Aug 2018 20:04:56 GMT</pubDate>
    <dc:creator>Inp</dc:creator>
    <dc:date>2018-08-16T20:04:56Z</dc:date>
    <item>
      <title>How do find the very last page in proc report in ODS Pdf and wirte the sumry info at very last page</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-do-find-the-very-last-page-in-proc-report-in-ODS-Pdf-and/m-p/487530#M21469</link>
      <description>&lt;P&gt;Dear,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Attached here my coding . I wanted to write the summary information at the very last page. I already find the very large page number &amp;nbsp;in advance, but when I add the summary ,&amp;nbsp; it populate additional page and summary is being written on the page before the last page and the last page. Also part of the report is also written on the last page as well where it suppose to write on the page before last page.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Your help is much appreciated in advance.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&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;Anton R&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Aug 2018 17:47:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-do-find-the-very-last-page-in-proc-report-in-ODS-Pdf-and/m-p/487530#M21469</guid>
      <dc:creator>Inp</dc:creator>
      <dc:date>2018-08-16T17:47:11Z</dc:date>
    </item>
    <item>
      <title>Re: How do find the very last page in proc report in ODS Pdf and wirte the sumry info at very last p</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-do-find-the-very-last-page-in-proc-report-in-ODS-Pdf-and/m-p/487564#M21471</link>
      <description>&lt;P&gt;Are you trying to force something to be part of a result table or do you just want a summary after the existing report?&lt;/P&gt;
&lt;P&gt;It would like be much easier to just have separate procedure call to do an overall summary afterward.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Aug 2018 19:30:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-do-find-the-very-last-page-in-proc-report-in-ODS-Pdf-and/m-p/487564#M21471</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2018-08-16T19:30:08Z</dc:date>
    </item>
    <item>
      <title>Re: How do find the very last page in proc report in ODS Pdf and wirte the sumry info at very last p</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-do-find-the-very-last-page-in-proc-report-in-ODS-Pdf-and/m-p/487572#M21472</link>
      <description>&lt;P&gt;Hi &lt;A class="lia-link-navigation lia-page-link lia-user-name-link" id="link_8" style="color: rgb(0, 153, 153);" href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13884" target="_self"&gt;&lt;SPAN class="login-bold"&gt;ballardw&lt;/SPAN&gt;&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I want to write the summary is part of the table. Actually I want to write the summary at the end of the detail lines.&amp;nbsp; I don't want to write the summary on separate page.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&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;Anton&lt;/P&gt;</description>
      <pubDate>Thu, 16 Aug 2018 20:04:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-do-find-the-very-last-page-in-proc-report-in-ODS-Pdf-and/m-p/487572#M21472</guid>
      <dc:creator>Inp</dc:creator>
      <dc:date>2018-08-16T20:04:56Z</dc:date>
    </item>
    <item>
      <title>Re: How do find the very last page in proc report in ODS Pdf and wirte the sumry info at very last p</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-do-find-the-very-last-page-in-proc-report-in-ODS-Pdf-and/m-p/487962#M21479</link>
      <description>&lt;P&gt;Hi:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; It seems to me that you want something like this:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sep_grand_total_output.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/22581i515C6083ED93CDB1/image-size/large?v=v2&amp;amp;px=999" role="button" title="sep_grand_total_output.png" alt="sep_grand_total_output.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;which was done with 2 PROC REPORT steps. The first PROC REPORT did the tables using PAGE for Canada and Pacific and the second PROC REPORT just did the Grand Total line.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Using this code:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sep_grand_total_code.png" style="width: 521px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/22582i2D56BAB37B17766B/image-size/large?v=v2&amp;amp;px=999" role="button" title="sep_grand_total_code.png" alt="sep_grand_total_code.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I think that this might be easier code to maintain because when I looked at your code, it seemed to me that you can probably get 25 obs on every page except for the last page because you've increased the font size for those last lines. So if you had a small number of rows on the last page, then the calculated pagex might be correct and there would be enough room on the page for everything. But if the last page does have close to 25 rows, then I believe the pagex you calculate can be "off" from what PROC REPORT actually produces when it's putting report rows into the PDF file.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Hope this helps,&lt;/P&gt;
&lt;P&gt;Cynthia&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Aug 2018 22:36:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-do-find-the-very-last-page-in-proc-report-in-ODS-Pdf-and/m-p/487962#M21479</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2018-08-17T22:36:32Z</dc:date>
    </item>
  </channel>
</rss>

