<?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 How to close results viewer programatically - SAS 9.1.3 in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/How-to-close-results-viewer-programatically-SAS-9-1-3/m-p/94753#M3544</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using ODS to output a pdf file with some graphs and I have everything how I want it except I need the results viewer to close after the code runs.&amp;nbsp; I can't do it based on changing the SAS options through the options menu or anything like that because the code will run on another machine and I cannot guarantee if that user will have their options configured that way.&amp;nbsp; Is there any way to do this programatically?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I found what looks to be one solution (link below) but it appears to change the SAS registry and I do not want to do that on someone else's machine.&amp;nbsp; If that option doesn't do anything permanent then I would assume that would work, I am not familiar with what the impacts of that code are.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="active_link" href="http://support.sas.com/kb/13/128.html" title="http://support.sas.com/kb/13/128.html"&gt;http://support.sas.com/kb/13/128.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Aug 2012 14:18:16 GMT</pubDate>
    <dc:creator>lsirakos</dc:creator>
    <dc:date>2012-08-15T14:18:16Z</dc:date>
    <item>
      <title>How to close results viewer programatically - SAS 9.1.3</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-to-close-results-viewer-programatically-SAS-9-1-3/m-p/94753#M3544</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using ODS to output a pdf file with some graphs and I have everything how I want it except I need the results viewer to close after the code runs.&amp;nbsp; I can't do it based on changing the SAS options through the options menu or anything like that because the code will run on another machine and I cannot guarantee if that user will have their options configured that way.&amp;nbsp; Is there any way to do this programatically?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I found what looks to be one solution (link below) but it appears to change the SAS registry and I do not want to do that on someone else's machine.&amp;nbsp; If that option doesn't do anything permanent then I would assume that would work, I am not familiar with what the impacts of that code are.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="active_link" href="http://support.sas.com/kb/13/128.html" title="http://support.sas.com/kb/13/128.html"&gt;http://support.sas.com/kb/13/128.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Aug 2012 14:18:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-to-close-results-viewer-programatically-SAS-9-1-3/m-p/94753#M3544</guid>
      <dc:creator>lsirakos</dc:creator>
      <dc:date>2012-08-15T14:18:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to close results viewer programatically - SAS 9.1.3</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-to-close-results-viewer-programatically-SAS-9-1-3/m-p/94754#M3545</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi ... if all you want is the PDF output, have you tried ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;ods listing close;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;ods results off;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;ods pdf file='z:\test.pdf' notoc;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;* example plots;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;proc gtestit pic=2;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;run;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;proc gplot data=sashelp.class;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;plot weight*height;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;run;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;quit;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;ods pdf close;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;ods results;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;ods listing;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Aug 2012 14:31:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-to-close-results-viewer-programatically-SAS-9-1-3/m-p/94754#M3545</guid>
      <dc:creator>MikeZdeb</dc:creator>
      <dc:date>2012-08-15T14:31:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to close results viewer programatically - SAS 9.1.3</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-to-close-results-viewer-programatically-SAS-9-1-3/m-p/94755#M3546</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well how about that, that did the trick.&amp;nbsp; I didn't think it would work because when I googled the issue at first I found this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="active_link" href="http://support.sas.com/kb/31/789.html"&gt;http://support.sas.com/kb/31/789.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess that link describes an issue that shouldn't happen instead of how to keep the results viewer from opening.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Aug 2012 14:36:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-to-close-results-viewer-programatically-SAS-9-1-3/m-p/94755#M3546</guid>
      <dc:creator>lsirakos</dc:creator>
      <dc:date>2012-08-15T14:36:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to close results viewer programatically - SAS 9.1.3</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-to-close-results-viewer-programatically-SAS-9-1-3/m-p/94756#M3547</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mike,&lt;/P&gt;&lt;P&gt;What does "notoc" do in "&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;ods pdf file='z:\test.pdf' notoc;"?&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;Thank you!&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Aug 2012 14:44:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-to-close-results-viewer-programatically-SAS-9-1-3/m-p/94756#M3547</guid>
      <dc:creator>Linlin</dc:creator>
      <dc:date>2012-08-15T14:44:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to close results viewer programatically - SAS 9.1.3</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-to-close-results-viewer-programatically-SAS-9-1-3/m-p/94757#M3548</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Linlin ... no table of contents (eliminates the bookmarks that are added by default)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Aug 2012 14:46:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-to-close-results-viewer-programatically-SAS-9-1-3/m-p/94757#M3548</guid>
      <dc:creator>MikeZdeb</dc:creator>
      <dc:date>2012-08-15T14:46:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to close results viewer programatically - SAS 9.1.3</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-to-close-results-viewer-programatically-SAS-9-1-3/m-p/94758#M3549</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Mike!&amp;nbsp; but I can't see the difference from the outputs:smileysilly:.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Aug 2012 14:58:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-to-close-results-viewer-programatically-SAS-9-1-3/m-p/94758#M3549</guid>
      <dc:creator>Linlin</dc:creator>
      <dc:date>2012-08-15T14:58:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to close results viewer programatically - SAS 9.1.3</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-to-close-results-viewer-programatically-SAS-9-1-3/m-p/94759#M3550</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi ... two examples, one with bookmarks (a table of contents), one without (using the NOTOC option)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Aug 2012 15:24:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-to-close-results-viewer-programatically-SAS-9-1-3/m-p/94759#M3550</guid>
      <dc:creator>MikeZdeb</dc:creator>
      <dc:date>2012-08-15T15:24:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to close results viewer programatically - SAS 9.1.3</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-to-close-results-viewer-programatically-SAS-9-1-3/m-p/94760#M3551</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Mike! I see the difference.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Aug 2012 15:41:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-to-close-results-viewer-programatically-SAS-9-1-3/m-p/94760#M3551</guid>
      <dc:creator>Linlin</dc:creator>
      <dc:date>2012-08-15T15:41:32Z</dc:date>
    </item>
  </channel>
</rss>

