<?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: No proper TOC when two SAS Pdf combined in one Combined report in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/No-proper-TOC-when-two-SAS-Pdf-combined-in-one-Combined-report/m-p/259076#M9350</link>
    <description>&lt;P&gt;The SAS TOC generator only understands one document. If you want all of the elements in the TOC generated by SAS then you they all go within a single Ods PDF / ODS PDF Close sandwich.&lt;/P&gt;
&lt;P&gt;If you also want separate documents either look into proc document to redirect already created output to additional documents or run that separately.&lt;/P&gt;</description>
    <pubDate>Fri, 25 Mar 2016 14:45:13 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2016-03-25T14:45:13Z</dc:date>
    <item>
      <title>No proper TOC when two SAS Pdf combined in one Combined report</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/No-proper-TOC-when-two-SAS-Pdf-combined-in-one-Combined-report/m-p/259058#M9349</link>
      <description>&lt;P&gt;Hello Everybody,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am using Below SAS code to combine my PDF files . I am using EG 7.1&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;/* Method 1 */

/* Turn off the Output window */
ods listing close;

/* Open two ODS PDF instances, one creating COMBINED_1.PDF, and the other creating A.PDF */
ods pdf file="combined_1.pdf";
ods pdf(a) file="a.pdf";

proc report nowd data=sashelp.class(obs=10);
   title "In COMBINED.pdf and A.pdf";
run;

/* Close A.PDF, but COMBINED.PDF remains open */
ods pdf(a) close;

ods pdf(b) file="b.pdf";

proc report nowd data=sashelp.vtable(obs=20);
   title "In COMBINED.pdf and B.pdf";
   column libname memname nobs nvar crdate;
run;

ods pdf(b) close;

ods pdf(c) file="c.pdf" ;

proc report nowd data=sashelp.class;
   title "In COMBINED.pdf and C.pdf";
run;

ods pdf(c) close;
ods pdf close;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;which is from&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/kb/35/375.html" target="_blank"&gt;http://support.sas.com/kb/35/375.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am able to append the pdf files with the no problem but TOC(Table of contents) looks different then what it was for individual PDF. I am wondering what am I missing here.&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;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/12407i41C5CE0308AE861D/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="No Proper TOC.PNG" title="No Proper TOC.PNG" /&gt;</description>
      <pubDate>Fri, 25 Mar 2016 12:57:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/No-proper-TOC-when-two-SAS-Pdf-combined-in-one-Combined-report/m-p/259058#M9349</guid>
      <dc:creator>learner_sas</dc:creator>
      <dc:date>2016-03-25T12:57:26Z</dc:date>
    </item>
    <item>
      <title>Re: No proper TOC when two SAS Pdf combined in one Combined report</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/No-proper-TOC-when-two-SAS-Pdf-combined-in-one-Combined-report/m-p/259076#M9350</link>
      <description>&lt;P&gt;The SAS TOC generator only understands one document. If you want all of the elements in the TOC generated by SAS then you they all go within a single Ods PDF / ODS PDF Close sandwich.&lt;/P&gt;
&lt;P&gt;If you also want separate documents either look into proc document to redirect already created output to additional documents or run that separately.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Mar 2016 14:45:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/No-proper-TOC-when-two-SAS-Pdf-combined-in-one-Combined-report/m-p/259076#M9350</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2016-03-25T14:45:13Z</dc:date>
    </item>
  </channel>
</rss>

