<?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 Storing ODS PDF page numbers to macro variables in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Storing-ODS-PDF-page-numbers-to-macro-variables/m-p/66359#M7688</link>
    <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
I am working with a long document and need to get the page numbers produced by ODS PDF stored into macro variables.  Is there any way to do this?  Any help would be greatly appreciated.  &lt;BR /&gt;
&lt;BR /&gt;
Thanks,&lt;BR /&gt;
&lt;BR /&gt;
~Matt</description>
    <pubDate>Wed, 17 Dec 2008 19:19:38 GMT</pubDate>
    <dc:creator>deleted_user</dc:creator>
    <dc:date>2008-12-17T19:19:38Z</dc:date>
    <item>
      <title>Storing ODS PDF page numbers to macro variables</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Storing-ODS-PDF-page-numbers-to-macro-variables/m-p/66359#M7688</link>
      <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
I am working with a long document and need to get the page numbers produced by ODS PDF stored into macro variables.  Is there any way to do this?  Any help would be greatly appreciated.  &lt;BR /&gt;
&lt;BR /&gt;
Thanks,&lt;BR /&gt;
&lt;BR /&gt;
~Matt</description>
      <pubDate>Wed, 17 Dec 2008 19:19:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Storing-ODS-PDF-page-numbers-to-macro-variables/m-p/66359#M7688</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2008-12-17T19:19:38Z</dc:date>
    </item>
    <item>
      <title>Re: Storing ODS PDF page numbers to macro variables</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Storing-ODS-PDF-page-numbers-to-macro-variables/m-p/66360#M7689</link>
      <description>Matt,&lt;BR /&gt;
&lt;BR /&gt;
I can't think of a way to do this.  We do all the measuring in ODS and then release a page of output when it's full.  Using the pre-production inline function ^{lastpage} your output can have a nice "Page 1 of n" look but that logic is not accessible anywhere else.   Currently lastpage does not work with images.  Hopefully we can get all of this in a future release.&lt;BR /&gt;
&lt;BR /&gt;
Scott</description>
      <pubDate>Wed, 17 Dec 2008 20:52:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Storing-ODS-PDF-page-numbers-to-macro-variables/m-p/66360#M7689</guid>
      <dc:creator>ScottH_SAS</dc:creator>
      <dc:date>2008-12-17T20:52:55Z</dc:date>
    </item>
  </channel>
</rss>

