<?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: ODS - PDF Bookmarks with multiple reports on same page in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-Bookmarks-with-multiple-reports-on-same-page/m-p/279889#M16181</link>
    <description>Hi, Edward&lt;BR /&gt;  I like to think of ODS DOCUMENT as a "freezer". &lt;BR /&gt;&lt;BR /&gt;  You do all the work and the chopping on Saturday and you chop and freeze green peppers and onions. By way of comparison with ODS DOCUMENT, let's say you run your "basic program", create all the outputs one time and store your ODS OUTPUT objects in the document store on Saturday.&lt;BR /&gt;&lt;BR /&gt;Then, on Tuesday, you're making pizza, so you use the frozen green peppers and the frozen onions on the pizza. But, before you make the pizza on Tuesday, you boss calls and asks for the reports in HTML format -- so you run an ODS DOCUMENT REPLAY and send the "frozen" output objects to ODS HTML.&lt;BR /&gt;&lt;BR /&gt;Then on Thursday, you decide to make tacos, so you cook the frozen green peppers and the frozen onions in the taco sauce. But before you finish the tacos, your boss sends you a text message and now he wants the same report from Tuesday, but in RTF format. So, you run to your computer, do an ODS DOCUMENT REPLAY and send the frozen output objects from the ODS DOCUMENT store to ODS RTF.&lt;BR /&gt;&lt;BR /&gt;Changing bookmarks in a DOCUMENT store is how you would go from 3 bookmarks to 1 for each "group" on a page. &lt;BR /&gt;&lt;BR /&gt;  I showed this basic process and the equivalent point and click method and the code method in this paper:&lt;BR /&gt;&lt;A href="https://support.sas.com/resources/papers/sgf09/318-2009.pdf" target="_blank"&gt;https://support.sas.com/resources/papers/sgf09/318-2009.pdf&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Hope this gets you pointed in the right direction. I am not sure where the ODS LAYOUT pieces would come into play -- my guess is that you would NOT use ODS LAYOUT when you capture the output objects, but that you MIGHT use ODS LAYOUT when you replay the output objects. ODS LAYOUT did not exist in 2009 when I wrote my paper. My recommendation is that you get your bookmark changing logic working and then work with Tech Support on the ODS LAYOUT question with ODS DOCUMENT.&lt;BR /&gt;&lt;BR /&gt;cynthia&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Fri, 24 Jun 2016 02:34:27 GMT</pubDate>
    <dc:creator>Cynthia_sas</dc:creator>
    <dc:date>2016-06-24T02:34:27Z</dc:date>
    <item>
      <title>ODS - PDF Bookmarks with multiple reports on same page</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-Bookmarks-with-multiple-reports-on-same-page/m-p/279316#M16170</link>
      <description>&lt;P&gt;Hi all&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have set up a PDF output page through ODS. I have 24 pages.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Each page has 3 separate sections, with two proc reports and one chart.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;These are independant&amp;nbsp;procedures,&amp;nbsp;but on the same page which is what i want.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I create PDF with bookmarks, it naturally gives me bookmarks for all three, however I only want one bookmark as they are on the same page.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried using the ODS Proc Label="" for two of the three programs, and about anything i could find, but nothing seems to work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Appreciate any advice.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jun 2016 13:16:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-Bookmarks-with-multiple-reports-on-same-page/m-p/279316#M16170</guid>
      <dc:creator>EdwardB</dc:creator>
      <dc:date>2016-06-22T13:16:14Z</dc:date>
    </item>
    <item>
      <title>Re: ODS - PDF Bookmarks with multiple reports on same page</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-Bookmarks-with-multiple-reports-on-same-page/m-p/279596#M16175</link>
      <description>I met the same issue as you in the past. But I solved my problem by using ODS Document statment. and it's a powerful tool. Please seen attachement as a example. sample statement would like: proc document name =profiles.test(write); make ^\test1; setlabel ^\test1 'Patient Profiles'; run; quit;</description>
      <pubDate>Thu, 23 Jun 2016 01:23:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-Bookmarks-with-multiple-reports-on-same-page/m-p/279596#M16175</guid>
      <dc:creator>QingLiu</dc:creator>
      <dc:date>2016-06-23T01:23:50Z</dc:date>
    </item>
    <item>
      <title>Re: ODS - PDF Bookmarks with multiple reports on same page</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-Bookmarks-with-multiple-reports-on-same-page/m-p/279701#M16180</link>
      <description>&lt;P&gt;Hi QingLiu&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your reply.&amp;nbsp;I have&amp;nbsp;researched ODS document on the SAS dictionary, but I unsure of this works.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does the&amp;nbsp;Proc Document procedure go after the PDF creation procedure?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have put a dummy data set below and PDF output if this helps on where I should use the ods document process.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://support.sas.com/documentation/cdl/en/odsug/61723/HTML/default/viewer.htm#a002231478.htm#a002564536" target="_blank"&gt;https://support.sas.com/documentation/cdl/en/odsug/61723/HTML/default/viewer.htm#a002231478.htm#a002564536&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;/**Example Dataset**/&lt;BR /&gt;options nodate;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; data BPressure;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; length PatientID $2;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; input PatientID $ Systolic Diastolic @@;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; datalines;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; CK 120 50&amp;nbsp; SS 96&amp;nbsp; 60 FR 100 70&lt;BR /&gt;&amp;nbsp;&amp;nbsp; CP 120 75&amp;nbsp; BL 140 90 ES 120 70&lt;BR /&gt;&amp;nbsp;&amp;nbsp; CP 165 110 JI 110 40 MC 119 66&lt;BR /&gt;&amp;nbsp;&amp;nbsp; FC 125 76&amp;nbsp; RW 133 60 KD 108 54&lt;BR /&gt;&amp;nbsp;&amp;nbsp; DS 110 50&amp;nbsp; JW 130 80 BH 120 65&lt;BR /&gt;&amp;nbsp;&amp;nbsp; JW 134 80&amp;nbsp; SB 118 76 NS 122 78&lt;BR /&gt;&amp;nbsp;&amp;nbsp; GS 122 70&amp;nbsp; AB 122 78 EC 112 62&lt;BR /&gt;&amp;nbsp;&amp;nbsp; HH 122 82&lt;BR /&gt;&amp;nbsp;&amp;nbsp; ;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; run;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;/**PDF Output**/&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Options nocenter nodate nonumber orientation=portrait papersize=a4 BOTTOMMARGIN=.001;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;ods pdf file="/folders/myfolders/reports/Diastolic.pdf" text='Diastolic Blood Pressure' startpage=yes;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;proc univariate data=BPressure;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var Systolic Diastolic;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; run;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;ODS LAYOUT END;&lt;BR /&gt;ODS PDF CLOSE;&lt;BR /&gt;TITLE;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;/**Proc Document?**/&lt;BR /&gt;proc document name = Diastolic(write);&lt;BR /&gt;make ^\test1;&lt;BR /&gt;setlabel ^\test1 'Patient Profiles';&lt;BR /&gt;run;&lt;BR /&gt;quit;&lt;/DIV&gt;</description>
      <pubDate>Thu, 23 Jun 2016 10:14:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-Bookmarks-with-multiple-reports-on-same-page/m-p/279701#M16180</guid>
      <dc:creator>EdwardB</dc:creator>
      <dc:date>2016-06-23T10:14:47Z</dc:date>
    </item>
    <item>
      <title>Re: ODS - PDF Bookmarks with multiple reports on same page</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-Bookmarks-with-multiple-reports-on-same-page/m-p/279889#M16181</link>
      <description>Hi, Edward&lt;BR /&gt;  I like to think of ODS DOCUMENT as a "freezer". &lt;BR /&gt;&lt;BR /&gt;  You do all the work and the chopping on Saturday and you chop and freeze green peppers and onions. By way of comparison with ODS DOCUMENT, let's say you run your "basic program", create all the outputs one time and store your ODS OUTPUT objects in the document store on Saturday.&lt;BR /&gt;&lt;BR /&gt;Then, on Tuesday, you're making pizza, so you use the frozen green peppers and the frozen onions on the pizza. But, before you make the pizza on Tuesday, you boss calls and asks for the reports in HTML format -- so you run an ODS DOCUMENT REPLAY and send the "frozen" output objects to ODS HTML.&lt;BR /&gt;&lt;BR /&gt;Then on Thursday, you decide to make tacos, so you cook the frozen green peppers and the frozen onions in the taco sauce. But before you finish the tacos, your boss sends you a text message and now he wants the same report from Tuesday, but in RTF format. So, you run to your computer, do an ODS DOCUMENT REPLAY and send the frozen output objects from the ODS DOCUMENT store to ODS RTF.&lt;BR /&gt;&lt;BR /&gt;Changing bookmarks in a DOCUMENT store is how you would go from 3 bookmarks to 1 for each "group" on a page. &lt;BR /&gt;&lt;BR /&gt;  I showed this basic process and the equivalent point and click method and the code method in this paper:&lt;BR /&gt;&lt;A href="https://support.sas.com/resources/papers/sgf09/318-2009.pdf" target="_blank"&gt;https://support.sas.com/resources/papers/sgf09/318-2009.pdf&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Hope this gets you pointed in the right direction. I am not sure where the ODS LAYOUT pieces would come into play -- my guess is that you would NOT use ODS LAYOUT when you capture the output objects, but that you MIGHT use ODS LAYOUT when you replay the output objects. ODS LAYOUT did not exist in 2009 when I wrote my paper. My recommendation is that you get your bookmark changing logic working and then work with Tech Support on the ODS LAYOUT question with ODS DOCUMENT.&lt;BR /&gt;&lt;BR /&gt;cynthia&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 24 Jun 2016 02:34:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-Bookmarks-with-multiple-reports-on-same-page/m-p/279889#M16181</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2016-06-24T02:34:27Z</dc:date>
    </item>
    <item>
      <title>Re: ODS - PDF Bookmarks with multiple reports on same page</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-Bookmarks-with-multiple-reports-on-same-page/m-p/279958#M16183</link>
      <description>&lt;P&gt;Hi Cynthia&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thankyou! your paper made sense out of it for me, well done.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is going to be a powerful function to learn which i am looking forward to.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The only issue I am having now when using ODS document&amp;nbsp;is with the images I had on my PDF, which i created through the ODS PDF text statements, which doesnt work in this way anymore through ODS document processt. Not sure if your aware of how to correct this, otherwise I will seek out tech support.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the code for my image in the previous PDF statement which worked;&lt;/P&gt;&lt;P&gt;ODS PDF TEXT ="^S={preimage='/folders/myfolders/reports/banner.bmp'}";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried ODS PDF TEXT ="^S={preimage='/folders/myfolders/reports/banner.bmp'}"; with no luck.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Again thanks so much, really enjoyed your paper&amp;nbsp;:&amp;gt;)&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jun 2016 12:46:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-Bookmarks-with-multiple-reports-on-same-page/m-p/279958#M16183</guid>
      <dc:creator>EdwardB</dc:creator>
      <dc:date>2016-06-24T12:46:06Z</dc:date>
    </item>
    <item>
      <title>Re: ODS - PDF Bookmarks with multiple reports on same page</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-Bookmarks-with-multiple-reports-on-same-page/m-p/280038#M16184</link>
      <description>Hi, Edward, I think (but you'll have to check with Tech Support) that the only images stored are images created with SAS/GRAPH or ODS GRAPHICS. So I am not sure your banner.bmp would get put into the Document store. And the other thing I never tested is whether ODS TEXT strings get stored in the Document store (they might not be).&lt;BR /&gt;&lt;BR /&gt;My guess is that you would put the "big things" like the output from your procedures into the document store at creation or "freezing" time and then you do all the "cosmetic" things -- ODS TEXT and banner images at replay time -- but really, I think Tech Support is your best bet for help with this.&lt;BR /&gt;&lt;BR /&gt;cynthia</description>
      <pubDate>Fri, 24 Jun 2016 17:45:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-Bookmarks-with-multiple-reports-on-same-page/m-p/280038#M16184</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2016-06-24T17:45:53Z</dc:date>
    </item>
    <item>
      <title>Re: ODS - PDF Bookmarks with multiple reports on same page</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-Bookmarks-with-multiple-reports-on-same-page/m-p/280098#M16185</link>
      <description>&lt;P&gt;Hi Cynthia&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Your right as usual! I added the image text to the replay statement and it works in there, so yes that appears to be where the cosmetics are done.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cannot thank you enough :&amp;gt;)&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jun 2016 22:54:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-Bookmarks-with-multiple-reports-on-same-page/m-p/280098#M16185</guid>
      <dc:creator>EdwardB</dc:creator>
      <dc:date>2016-06-24T22:54:31Z</dc:date>
    </item>
  </channel>
</rss>

