<?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 ODS PDF Options are Not Working in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-Options-are-Not-Working/m-p/172371#M12371</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm new to SAS, and I'm using SAS Enterprise Guide 4.3 with SAS 9.2 on Windows. I'm confused about using the ODS PDF driver. I can create great plots using SGPLOT, but any ODS options that I try using are ignored.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For instance, in the following code, The title refuses to print. The graph looks fine otherwise.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;options nodate nonumber;&lt;/P&gt;&lt;P&gt;ods pdf file="&amp;amp;PDFOUTPUTFILEGRAPHPHYSCPUUSAGE";&lt;/P&gt;&lt;P&gt;proc sgplot data=WORK.SORTTempTableSorted2;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Title "&amp;amp;HOSTNAME - &amp;amp;REPORTTITLE1";&amp;nbsp; &lt;/P&gt;&lt;P&gt;band x=dt1 lower=0 upper=pctwio / legendlabel='%WIO';&amp;nbsp; &lt;/P&gt;&lt;P&gt;band x=dt1 lower=0 upper=pctusr / legendlabel='%User';&amp;nbsp; &lt;/P&gt;&lt;P&gt;band x=dt1 lower=0 upper=pctsys / legendlabel='%Sys';&amp;nbsp; &lt;/P&gt;&lt;P&gt;band x=dt1 lower=0 upper=pctnice / legendlabel='%Nice';&amp;nbsp; &lt;/P&gt;&lt;P&gt;band x=dt1 lower=0 upper=pctsteal/ legendlabel='%Steal';&amp;nbsp; &lt;/P&gt;&lt;P&gt;XAXIS LABEL= 'Timestamp';&amp;nbsp; &lt;/P&gt;&lt;P&gt;YAXIS LABEL= '%';&lt;/P&gt;&lt;P&gt;RUN;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help is appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 04 Oct 2014 21:11:28 GMT</pubDate>
    <dc:creator>Louis_Gallo_CIGNA_com</dc:creator>
    <dc:date>2014-10-04T21:11:28Z</dc:date>
    <item>
      <title>ODS PDF Options are Not Working</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-Options-are-Not-Working/m-p/172371#M12371</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm new to SAS, and I'm using SAS Enterprise Guide 4.3 with SAS 9.2 on Windows. I'm confused about using the ODS PDF driver. I can create great plots using SGPLOT, but any ODS options that I try using are ignored.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For instance, in the following code, The title refuses to print. The graph looks fine otherwise.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;options nodate nonumber;&lt;/P&gt;&lt;P&gt;ods pdf file="&amp;amp;PDFOUTPUTFILEGRAPHPHYSCPUUSAGE";&lt;/P&gt;&lt;P&gt;proc sgplot data=WORK.SORTTempTableSorted2;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Title "&amp;amp;HOSTNAME - &amp;amp;REPORTTITLE1";&amp;nbsp; &lt;/P&gt;&lt;P&gt;band x=dt1 lower=0 upper=pctwio / legendlabel='%WIO';&amp;nbsp; &lt;/P&gt;&lt;P&gt;band x=dt1 lower=0 upper=pctusr / legendlabel='%User';&amp;nbsp; &lt;/P&gt;&lt;P&gt;band x=dt1 lower=0 upper=pctsys / legendlabel='%Sys';&amp;nbsp; &lt;/P&gt;&lt;P&gt;band x=dt1 lower=0 upper=pctnice / legendlabel='%Nice';&amp;nbsp; &lt;/P&gt;&lt;P&gt;band x=dt1 lower=0 upper=pctsteal/ legendlabel='%Steal';&amp;nbsp; &lt;/P&gt;&lt;P&gt;XAXIS LABEL= 'Timestamp';&amp;nbsp; &lt;/P&gt;&lt;P&gt;YAXIS LABEL= '%';&lt;/P&gt;&lt;P&gt;RUN;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help is appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 04 Oct 2014 21:11:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-Options-are-Not-Working/m-p/172371#M12371</guid>
      <dc:creator>Louis_Gallo_CIGNA_com</dc:creator>
      <dc:date>2014-10-04T21:11:28Z</dc:date>
    </item>
    <item>
      <title>Re: ODS PDF Options are Not Working</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-Options-are-Not-Working/m-p/172372#M12372</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;&amp;nbsp; I don't understand what you mean by ODS OPTIONS? What options did you try that were not used. The only ODS statement you show is the ODS PDF statement. There are NO other ODS STATEMENTS in your code. I no longer have SAS 9.2 to test with, but when I ran the test code using SGPLOT I do see my Wombat - Title in the Title area of the graph. See the attached screen shot. If you are not seeing the same thing, then it might be something specific to 9.2 or it might be something else. ODS GRAPHICS were first introduced in 9.2, so there is a chance that the TITLE statement behaved differently, but I don't remember having issues with the TITLE statement. But, Tech Support can test the code in 9.2 and help you figure out what options you want to add/use.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; I notice you are using a dataset of WORK.SORTTempTableSorted2 which looks like an Enterprise Guide generated name. The other possibility is that there is something in your project or EG options or EG additional code that is not being honored. Again, a question for Tech Support.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cynthia&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;options nodate nonumber;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;%let hostname = Wombat;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;%let REPORTTITLE1 = Title;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;ods pdf file="c:\temp\trytitle.pdf";&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;proc sgplot data=sashelp.class;&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;Title "&amp;amp;HOSTNAME - &amp;amp;REPORTTITLE1";&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp; scatter x=height y=weight;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp; XAXIS LABEL= 'Timestamp';&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp; YAXIS LABEL= '%';&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;RUN;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;ods _all_ close;&lt;/STRONG&gt;&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/11273iA789BECE33CCAC43/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="see_title_my_pdf.png" title="see_title_my_pdf.png" /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 05 Oct 2014 00:30:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-Options-are-Not-Working/m-p/172372#M12372</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2014-10-05T00:30:15Z</dc:date>
    </item>
    <item>
      <title>Re: ODS PDF Options are Not Working</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-Options-are-Not-Working/m-p/172373#M12373</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Cynthia,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks so much for responding. You were right. It was something specific to Enterprise Guide. I had to set the "Results Format" to use PDF as its default. In EG, "Tools" ==&amp;gt; "Options" ==&amp;gt; "Resuts General" and set the "Results Formats to include PDF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I found that in this article: &lt;A class="active_link" href="http://support.sas.com/resources/papers/proceedings12/145-2012.pdf"&gt;http://support.sas.com/resources/papers/proceedings12/145-2012.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 05 Oct 2014 20:52:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-Options-are-Not-Working/m-p/172373#M12373</guid>
      <dc:creator>Louis_Gallo_CIGNA_com</dc:creator>
      <dc:date>2014-10-05T20:52:36Z</dc:date>
    </item>
  </channel>
</rss>

