<?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 Turning off all output in large simulation jobs in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Turning-off-all-output-in-large-simulation-jobs/m-p/105892#M291638</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I frequently write SAS macros that call SAS procedures thousands of times.&amp;nbsp; I would like to prevent any output from being created other than ODS outputs that I request from the procedures.&amp;nbsp; However, some procedures like SurveyReg seem to send copious output to the lisitng file or the HTML destination no matter what I try.&amp;nbsp; It is particularly annoying in interactive mode.&amp;nbsp; Is there any way to prevent the results window from being populated?&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 12 Jul 2012 14:56:00 GMT</pubDate>
    <dc:creator>polarjud</dc:creator>
    <dc:date>2012-07-12T14:56:00Z</dc:date>
    <item>
      <title>Turning off all output in large simulation jobs</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Turning-off-all-output-in-large-simulation-jobs/m-p/105892#M291638</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I frequently write SAS macros that call SAS procedures thousands of times.&amp;nbsp; I would like to prevent any output from being created other than ODS outputs that I request from the procedures.&amp;nbsp; However, some procedures like SurveyReg seem to send copious output to the lisitng file or the HTML destination no matter what I try.&amp;nbsp; It is particularly annoying in interactive mode.&amp;nbsp; Is there any way to prevent the results window from being populated?&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jul 2012 14:56:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Turning-off-all-output-in-large-simulation-jobs/m-p/105892#M291638</guid>
      <dc:creator>polarjud</dc:creator>
      <dc:date>2012-07-12T14:56:00Z</dc:date>
    </item>
    <item>
      <title>Re: Turning off all output in large simulation jobs</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Turning-off-all-output-in-large-simulation-jobs/m-p/105893#M291639</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt; I work with SAS EG. I use proc printto to save log output into specified location. I hope it can be used also for output.&lt;/P&gt;&lt;P&gt;proc printto log='Path of the file' new;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;The keyword NEW will update the file every time you run the code.&lt;/P&gt;&lt;P&gt;To cancel this:&lt;/P&gt;&lt;P&gt;proc printto;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;Hope it will help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jul 2012 15:37:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Turning-off-all-output-in-large-simulation-jobs/m-p/105893#M291639</guid>
      <dc:creator>ElenaT</dc:creator>
      <dc:date>2012-07-12T15:37:19Z</dc:date>
    </item>
    <item>
      <title>Re: Turning off all output in large simulation jobs</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Turning-off-all-output-in-large-simulation-jobs/m-p/105894#M291640</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can close the listing destination, ie&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ods listing close; *to turn off output;&lt;/P&gt;&lt;P&gt;ods html close;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ods html;&lt;/P&gt;&lt;P&gt;ods listing; *to turn on;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And you can use proc printto to redirect the log. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jul 2012 16:03:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Turning-off-all-output-in-large-simulation-jobs/m-p/105894#M291640</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2012-07-12T16:03:14Z</dc:date>
    </item>
    <item>
      <title>Re: Turning off all output in large simulation jobs</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Turning-off-all-output-in-large-simulation-jobs/m-p/105895#M291641</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, but neither "ods listing close" nor "ods html close" prevent the results windw from filling up.&amp;nbsp; Also, Proc printto just sends things somewhere else.&amp;nbsp; I want it all to disappear without a trace into the ether.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jul 2012 17:21:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Turning-off-all-output-in-large-simulation-jobs/m-p/105895#M291641</guid>
      <dc:creator>polarjud</dc:creator>
      <dc:date>2012-07-12T17:21:25Z</dc:date>
    </item>
    <item>
      <title>Re: Turning off all output in large simulation jobs</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Turning-off-all-output-in-large-simulation-jobs/m-p/105896#M291642</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What results window are you referring to? And what version of SAS and output destination are you using?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Turning on ods listing close; is supposed to make all the results disappear into the ether. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ods listing close;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc print data=sashelp.class;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You shouldn't have anything go to any output destination then. If it still is, post a sample of the code you're using to see where the error might be.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jul 2012 17:40:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Turning-off-all-output-in-large-simulation-jobs/m-p/105896#M291642</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2012-07-12T17:40:59Z</dc:date>
    </item>
    <item>
      <title>Re: Turning off all output in large simulation jobs</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Turning-off-all-output-in-large-simulation-jobs/m-p/105897#M291643</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In interactive mode of SAS (both 9.2 and 9.3) there is a "Results" window that holds a bookmark for every output data set created by every proc.&amp;nbsp; When running a simulation job, the number of bookmarks can be very large.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jul 2012 18:12:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Turning-off-all-output-in-large-simulation-jobs/m-p/105897#M291643</guid>
      <dc:creator>polarjud</dc:creator>
      <dc:date>2012-07-12T18:12:51Z</dc:date>
    </item>
    <item>
      <title>Re: Turning off all output in large simulation jobs</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Turning-off-all-output-in-large-simulation-jobs/m-p/105898#M291644</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Then ods listing close will definitely work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So there's something else in your code that is causing issues which I can't tell without seeing the code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you run the code below do you get the entry in the result tab and in the listing or html output?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ods _all_ close;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;title 'is this in my result window?';&lt;/P&gt;&lt;P&gt;proc print data=sashelp.class;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ods listing;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jul 2012 18:48:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Turning-off-all-output-in-large-simulation-jobs/m-p/105898#M291644</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2012-07-12T18:48:20Z</dc:date>
    </item>
    <item>
      <title>Re: Turning off all output in large simulation jobs</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Turning-off-all-output-in-large-simulation-jobs/m-p/105899#M291645</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, the command is successful in preventing a simple proc print output from appearing in the results window, but when I use the following code insided an iteracted do loop with 2000 replications, I get 4000 bookmarks in the results window even after applying ods listing close (interactive mode).&amp;nbsp; There are 2000 bookmarks for "estimates" and 2000 for "joint."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc surveyreg data=mydata;&lt;/P&gt;&lt;P&gt;&amp;nbsp; cluster mycluster;&lt;/P&gt;&lt;P&gt;&amp;nbsp; class treatment outcome;&lt;/P&gt;&lt;P&gt;&amp;nbsp; model myvar=treatment*outcome/solution;&lt;/P&gt;&lt;P&gt;&amp;nbsp; weight myweight;&lt;/P&gt;&lt;P&gt;&amp;nbsp; estimate&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'tvalue1'&amp;nbsp; treatment*outcome -1 0 1 0,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'tvalue2' treatment*outcome 0 -1 0 1/&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; joint (label="mylabel");&lt;/P&gt;&lt;P&gt;&amp;nbsp; ods ouput estimates=estimates contrasts=joint;&lt;/P&gt;&lt;P&gt;run:&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jul 2012 19:24:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Turning-off-all-output-in-large-simulation-jobs/m-p/105899#M291645</guid>
      <dc:creator>polarjud</dc:creator>
      <dc:date>2012-07-12T19:24:11Z</dc:date>
    </item>
    <item>
      <title>Re: Turning off all output in large simulation jobs</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Turning-off-all-output-in-large-simulation-jobs/m-p/105900#M291646</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The bookmarks hold only the SAS dataset created though, correct?&lt;/P&gt;&lt;P&gt;I don't know a way around that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You shouldn't have any output in an output window. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jul 2012 19:31:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Turning-off-all-output-in-large-simulation-jobs/m-p/105900#M291646</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2012-07-12T19:31:25Z</dc:date>
    </item>
    <item>
      <title>Re: Turning off all output in large simulation jobs</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Turning-off-all-output-in-large-simulation-jobs/m-p/105901#M291647</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Correct.&amp;nbsp; Exactly.&amp;nbsp; I have not been able to find a way around it either. Frustrating since filling the results window with all those bookmarks or clearing them all out again does take a noticeable lag of time.&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jul 2012 19:41:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Turning-off-all-output-in-large-simulation-jobs/m-p/105901#M291647</guid>
      <dc:creator>polarjud</dc:creator>
      <dc:date>2012-07-12T19:41:07Z</dc:date>
    </item>
    <item>
      <title>Re: Turning off all output in large simulation jobs</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Turning-off-all-output-in-large-simulation-jobs/m-p/105902#M291648</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;ods noresults;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;What does that do?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jul 2012 19:47:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Turning-off-all-output-in-large-simulation-jobs/m-p/105902#M291648</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2012-07-12T19:47:10Z</dc:date>
    </item>
    <item>
      <title>Re: Turning off all output in large simulation jobs</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Turning-off-all-output-in-large-simulation-jobs/m-p/105903#M291649</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Eureka!&amp;nbsp; Thanks.&amp;nbsp; That does it alright.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jul 2012 19:52:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Turning-off-all-output-in-large-simulation-jobs/m-p/105903#M291649</guid>
      <dc:creator>polarjud</dc:creator>
      <dc:date>2012-07-12T19:52:29Z</dc:date>
    </item>
  </channel>
</rss>

