<?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: Missing pages with proc document in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Missing-pages-with-proc-document/m-p/69011#M7928</link>
    <description>Ed,&lt;BR /&gt;
&lt;BR /&gt;
  If you continue to have trouble getting the desired output, I recommend contacting Technical Support.  Click on the "Contact Us" link at the bottom of the forum web page.&lt;BR /&gt;
&lt;BR /&gt;
-- David Kelley, SAS</description>
    <pubDate>Thu, 03 Sep 2009 13:46:43 GMT</pubDate>
    <dc:creator>David_SAS</dc:creator>
    <dc:date>2009-09-03T13:46:43Z</dc:date>
    <item>
      <title>Missing pages with proc document</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Missing-pages-with-proc-document/m-p/69009#M7926</link>
      <description>Hi&lt;BR /&gt;
I've got a problem with getting a page break and I'm not sure what option / setting to use to get my output correct.&lt;BR /&gt;
&lt;BR /&gt;
Background: I'm using sgrender to create many small charts based on statgraph templates. There are varying numbers of charts created per report - anywhere from 6 to 26 depending on the data.&lt;BR /&gt;
 &lt;BR /&gt;
I use ODS PDF and run a proc GSLIDE for a cover page and then replay the charts into a the PDF with columns=3, and they are sized to fit 3 per column so there are 9 per page. &lt;BR /&gt;
&lt;BR /&gt;
When I create the PDF and close it after the last sgrender I get all charts in a single PDF and the last page usually contains less than 9 charts. I works fine but I have to combine the PDFs in Acrobat.&lt;BR /&gt;
&lt;BR /&gt;
When I leave the pdf open and start another section of the report with a proc gslide, the pages with 9 charts are printed but the last page which only has 8 charts is not. &lt;BR /&gt;
  &lt;BR /&gt;
Below is an example of the structure and options I used.&lt;BR /&gt;
&lt;BR /&gt;
ods document name= ...(write); &lt;BR /&gt;
  ***code to create 26 small charts;&lt;BR /&gt;
ods document close;&lt;BR /&gt;
&lt;BR /&gt;
options orientation=landscape;&lt;BR /&gt;
ODS GRAPHICS ON / reset height=8in width=10in ;&lt;BR /&gt;
ods pdf file=.... notoc;&lt;BR /&gt;
  proc gslide;   ... cover page for charts ...   run; quit; &lt;BR /&gt;
&lt;BR /&gt;
ODS GRAPHICS ON / reset height=3in width=3in ;&lt;BR /&gt;
ods pdf file=....  notoc columns=3 startpage=no;&lt;BR /&gt;
  proc document name=...; replay;    run; quit;&lt;BR /&gt;
&lt;BR /&gt;
ODS GRAPHICS ON / reset ;&lt;BR /&gt;
ods pdf notoc columns=1 startpage=now ;&lt;BR /&gt;
  proc gslide;   ... cover page for next section ...   run; quit; &lt;BR /&gt;
&lt;BR /&gt;
ods _all_ close;&lt;BR /&gt;
&lt;BR /&gt;
The last page of charts is overwritten with the GSLIDE, but when the PDF is closed following the proc document replay there are 3 pages of charts.&lt;BR /&gt;
 &lt;BR /&gt;
I've tried to control the paging with "OBPAGE  / after" after the last chart, but no luck there. &lt;BR /&gt;
&lt;BR /&gt;
Does anyone have any ideas as to what I'm doing wrong?&lt;BR /&gt;
Thanks experts.&lt;BR /&gt;
Ed</description>
      <pubDate>Wed, 02 Sep 2009 16:29:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Missing-pages-with-proc-document/m-p/69009#M7926</guid>
      <dc:creator>EdB</dc:creator>
      <dc:date>2009-09-02T16:29:12Z</dc:date>
    </item>
    <item>
      <title>Re: Missing pages with proc document</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Missing-pages-with-proc-document/m-p/69010#M7927</link>
      <description>Did you also try controlling the pages with the usual obpage BEFORE as well? &lt;BR /&gt;
&lt;BR /&gt;
OBPAGE path / delete;&lt;BR /&gt;
&lt;BR /&gt;
I'm not saying this is the answer, but wondering what the outcome is if you try this as well.&lt;BR /&gt;
&lt;BR /&gt;
I've found it helpful when dealing with ODS Documents to produce the document listing as well.  This makes sure I have truly covered ALL the objects I need to cover.</description>
      <pubDate>Wed, 02 Sep 2009 18:18:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Missing-pages-with-proc-document/m-p/69010#M7927</guid>
      <dc:creator>mftuchman</dc:creator>
      <dc:date>2009-09-02T18:18:11Z</dc:date>
    </item>
    <item>
      <title>Re: Missing pages with proc document</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Missing-pages-with-proc-document/m-p/69011#M7928</link>
      <description>Ed,&lt;BR /&gt;
&lt;BR /&gt;
  If you continue to have trouble getting the desired output, I recommend contacting Technical Support.  Click on the "Contact Us" link at the bottom of the forum web page.&lt;BR /&gt;
&lt;BR /&gt;
-- David Kelley, SAS</description>
      <pubDate>Thu, 03 Sep 2009 13:46:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Missing-pages-with-proc-document/m-p/69011#M7928</guid>
      <dc:creator>David_SAS</dc:creator>
      <dc:date>2009-09-03T13:46:43Z</dc:date>
    </item>
  </channel>
</rss>

