<?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: Suppress ODS output from Results without affecting ODS Excel in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Suppress-ODS-output-from-Results-without-affecting-ODS-Excel/m-p/608352#M23550</link>
    <description>&lt;P&gt;That code produces:&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;ERROR: Insufficient authorization to access C:\WINDOWS\system32\sashtml.htm.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;ERROR: No body file. HTML output will not be created.&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 29 Nov 2019 20:38:08 GMT</pubDate>
    <dc:creator>AI_Vonnegut</dc:creator>
    <dc:date>2019-11-29T20:38:08Z</dc:date>
    <item>
      <title>Suppress ODS output from Results without affecting ODS Excel</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Suppress-ODS-output-from-Results-without-affecting-ODS-Excel/m-p/608252#M23538</link>
      <description>&lt;P&gt;I want to exclude the PROC REPORT (very long) from the Results window without affecting the export into Excel (Enterprise Guide 7.15, Office 365, Window 10). After trying numerous methods, I'm stuck and thought perhaps I'm missing something obvious. Here is the general code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ODS NORESULTS;
ODS EXCLUDE ALL;
ODS EXCEL FILE="&amp;amp;OUT.TEST.xlsx";
ODS EXCEL OPTIONS(AUTOFILTER="1-8" SHEET_NAME="ABC");

PROC REPORT DATA=OUT.TEST NOWD HEADSKIP SPANROWS;
	COLUMN OBS T1 T2;
	DEFINE OBS / DISPLAY "Obs";
RUN;

ODS EXCEL CLOSE;
ODS EXCLUDE NONE;
ODS RESULTS;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried all these ODS options, with the following results:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;STRONG&gt;ODS EXCLUDE ALL;&lt;/STRONG&gt; --&amp;gt; Indeed suppresses output to Results, but it also excludes data from the Excel sheets (blank)&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;&lt;SPAN class="strong"&gt;ODS _ALL_ CLOSE&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt;&lt;STRONG&gt;;&lt;/STRONG&gt;&amp;nbsp; --&amp;gt; Produces a warning: "No output destinations active"&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;&lt;STRONG&gt;ODS NORESULTS;&lt;/STRONG&gt;&amp;nbsp; &amp;nbsp; --&amp;gt; No effect&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;I've tried&amp;nbsp; different combinations of the above codes and also different placement within the code, with no success. The&amp;nbsp;&lt;STRONG&gt;NOPRINT&lt;/STRONG&gt; option within PROC REPORT is also inapplicable since it also excludes data from the Excel export.&amp;nbsp;The goal is to wrap this report within an option to localize the output suppression since it is surrounded by other code in the program where I do want the output. Any tips would be appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Nov 2019 14:27:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Suppress-ODS-output-from-Results-without-affecting-ODS-Excel/m-p/608252#M23538</guid>
      <dc:creator>AI_Vonnegut</dc:creator>
      <dc:date>2019-11-29T14:27:53Z</dc:date>
    </item>
    <item>
      <title>Re: Suppress ODS output from Results without affecting ODS Excel</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Suppress-ODS-output-from-Results-without-affecting-ODS-Excel/m-p/608271#M23539</link>
      <description>close the other desitnations. If it's HTML it would be&lt;BR /&gt;&lt;BR /&gt;ODS HTML CLOSE;&lt;BR /&gt;&lt;BR /&gt;or &lt;BR /&gt;&lt;BR /&gt;ODS LISTING CLOSE;&lt;BR /&gt;&lt;BR /&gt;Where listing is the other output.</description>
      <pubDate>Fri, 29 Nov 2019 15:52:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Suppress-ODS-output-from-Results-without-affecting-ODS-Excel/m-p/608271#M23539</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-11-29T15:52:46Z</dc:date>
    </item>
    <item>
      <title>Re: Suppress ODS output from Results without affecting ODS Excel</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Suppress-ODS-output-from-Results-without-affecting-ODS-Excel/m-p/608278#M23540</link>
      <description>&lt;P&gt;Looks like a bug to me. You would expect that:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods excel exclude none;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;would do the trick.&lt;/P&gt;
&lt;P&gt;By find that I need to explicitly select what outputs I want EXCEL to produce. So using ODS TRACE I see that PROC REPORT's output is named REPORT.&amp;nbsp; So adding&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods excel select report;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;did the trick.&lt;/P&gt;
&lt;P&gt;Test code:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods show;
ods exclude all ;
ods excel file='C:\downloads\x2.xlsx';
ods show ;
ods excel show;
ods excel select report;
ods show ;
ods excel show;
proc report data=sashelp.class; run;
ods excel close;
ods exclude none;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 29 Nov 2019 16:09:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Suppress-ODS-output-from-Results-without-affecting-ODS-Excel/m-p/608278#M23540</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2019-11-29T16:09:32Z</dc:date>
    </item>
    <item>
      <title>Re: Suppress ODS output from Results without affecting ODS Excel</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Suppress-ODS-output-from-Results-without-affecting-ODS-Excel/m-p/608289#M23541</link>
      <description>Tom, that worked indeed. However, I'm still not sure how you tracked down the issue with ODS TRACE + SHOW. I only see generic "exclude all" outputs in the log that don't help to pinpoint the problem.&lt;BR /&gt;&lt;BR /&gt;I don't know if you're saying this is a SAS bug. But if instead of proc report I had proc print, would the solution then become ods excel select print; ?</description>
      <pubDate>Fri, 29 Nov 2019 16:42:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Suppress-ODS-output-from-Results-without-affecting-ODS-Excel/m-p/608289#M23541</guid>
      <dc:creator>AI_Vonnegut</dc:creator>
      <dc:date>2019-11-29T16:42:07Z</dc:date>
    </item>
    <item>
      <title>Re: Suppress ODS output from Results without affecting ODS Excel</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Suppress-ODS-output-from-Results-without-affecting-ODS-Excel/m-p/608313#M23542</link>
      <description>&lt;P&gt;Use ODS TRACE to see what the names are for the ODS outputs that a step produces.&lt;/P&gt;
&lt;PRE&gt;965   ods trace on;
966   proc print data=sashelp.class; run;


Output Added:
-------------
Name:       Print
Label:      Data Set SASHELP.CLASS
Data Name:  ProcPrintTable
Path:       Print.Print
-------------
NOTE: There were 19 observations read from the data set SASHELP.CLASS.
NOTE: PROCEDURE PRINT used (Total process time):
      real time           0.02 seconds
      cpu time            0.01 seconds


967   ods trace off;
&lt;/PRE&gt;</description>
      <pubDate>Fri, 29 Nov 2019 18:27:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Suppress-ODS-output-from-Results-without-affecting-ODS-Excel/m-p/608313#M23542</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2019-11-29T18:27:41Z</dc:date>
    </item>
    <item>
      <title>Re: Suppress ODS output from Results without affecting ODS Excel</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Suppress-ODS-output-from-Results-without-affecting-ODS-Excel/m-p/608329#M23543</link>
      <description>There's no bug, you have multiple destinations open so the output goes to all by default. Turn off the destinations you don't want and then the output would go only to ODS EXCEL.</description>
      <pubDate>Fri, 29 Nov 2019 19:55:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Suppress-ODS-output-from-Results-without-affecting-ODS-Excel/m-p/608329#M23543</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-11-29T19:55:03Z</dc:date>
    </item>
    <item>
      <title>Re: Suppress ODS output from Results without affecting ODS Excel</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Suppress-ODS-output-from-Results-without-affecting-ODS-Excel/m-p/608336#M23544</link>
      <description>Got it, thanks. I had to run TRACE on proc report in isolation to get a clear output.</description>
      <pubDate>Fri, 29 Nov 2019 20:04:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Suppress-ODS-output-from-Results-without-affecting-ODS-Excel/m-p/608336#M23544</guid>
      <dc:creator>AI_Vonnegut</dc:creator>
      <dc:date>2019-11-29T20:04:23Z</dc:date>
    </item>
    <item>
      <title>Re: Suppress ODS output from Results without affecting ODS Excel</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Suppress-ODS-output-from-Results-without-affecting-ODS-Excel/m-p/608337#M23545</link>
      <description>I have not opened any other ODS sessions. In either case, ODS HTML CLOSE, ODS LISTING CLOSE, and ODS _ALL_ CLOSE still do not fix the issue. I don't know what else I would need to close for this method to work.</description>
      <pubDate>Fri, 29 Nov 2019 20:06:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Suppress-ODS-output-from-Results-without-affecting-ODS-Excel/m-p/608337#M23545</guid>
      <dc:creator>AI_Vonnegut</dc:creator>
      <dc:date>2019-11-29T20:06:49Z</dc:date>
    </item>
    <item>
      <title>Re: Suppress ODS output from Results without affecting ODS Excel</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Suppress-ODS-output-from-Results-without-affecting-ODS-Excel/m-p/608340#M23546</link>
      <description>&lt;P&gt;What version of SAS do you have? If this is a bug it would likely be documented already.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;EDIT: you can find your version by running the following, it should be something like : SAS 9.4 TS1M5&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ODS EXCEL is only production version after 9.4 TS1M3.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc product_status;run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And can you test the following, post the log and let us know if the file is created with the data set and if any other output is generated.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods _all_ close;

ods excel file='C:\demo.xlsx' ;

proc print data=sashelp.class;
run;

ods excel close;

ods html;&lt;/CODE&gt;&amp;nbsp;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Nov 2019 20:17:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Suppress-ODS-output-from-Results-without-affecting-ODS-Excel/m-p/608340#M23546</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-11-29T20:17:28Z</dc:date>
    </item>
    <item>
      <title>Re: Suppress ODS output from Results without affecting ODS Excel</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Suppress-ODS-output-from-Results-without-affecting-ODS-Excel/m-p/608342#M23547</link>
      <description>EG is 7.15 as mentioned.&lt;BR /&gt;SAS Foundation: 9.4M3 (/STAT 14.1)</description>
      <pubDate>Fri, 29 Nov 2019 20:18:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Suppress-ODS-output-from-Results-without-affecting-ODS-Excel/m-p/608342#M23547</guid>
      <dc:creator>AI_Vonnegut</dc:creator>
      <dc:date>2019-11-29T20:18:06Z</dc:date>
    </item>
    <item>
      <title>Re: Suppress ODS output from Results without affecting ODS Excel</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Suppress-ODS-output-from-Results-without-affecting-ODS-Excel/m-p/608346#M23548</link>
      <description>EG can be different Base versions, ergo my question. &lt;BR /&gt;&lt;BR /&gt;9.4 M3 does have a bug within ODS EXCEL primarily with creating and switching sheets, but not with controlling other output AFAIK.</description>
      <pubDate>Fri, 29 Nov 2019 20:21:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Suppress-ODS-output-from-Results-without-affecting-ODS-Excel/m-p/608346#M23548</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-11-29T20:21:32Z</dc:date>
    </item>
    <item>
      <title>Re: Suppress ODS output from Results without affecting ODS Excel</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Suppress-ODS-output-from-Results-without-affecting-ODS-Excel/m-p/608347#M23549</link>
      <description>&lt;P&gt;The BUG is that you cannot use ODS EXCEL EXCLUDE NONE or ODS EXCEL SELECT ALL to override the ODS EXCLUDE ALL.&lt;/P&gt;
&lt;P&gt;Instead you have to use list specific outputs in the ODS EXCEL SECECT statement.&lt;/P&gt;</description>
      <pubDate>Fri, 29 Nov 2019 20:24:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Suppress-ODS-output-from-Results-without-affecting-ODS-Excel/m-p/608347#M23549</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2019-11-29T20:24:33Z</dc:date>
    </item>
    <item>
      <title>Re: Suppress ODS output from Results without affecting ODS Excel</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Suppress-ODS-output-from-Results-without-affecting-ODS-Excel/m-p/608352#M23550</link>
      <description>&lt;P&gt;That code produces:&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;ERROR: Insufficient authorization to access C:\WINDOWS\system32\sashtml.htm.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;ERROR: No body file. HTML output will not be created.&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Nov 2019 20:38:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Suppress-ODS-output-from-Results-without-affecting-ODS-Excel/m-p/608352#M23550</guid>
      <dc:creator>AI_Vonnegut</dc:creator>
      <dc:date>2019-11-29T20:38:08Z</dc:date>
    </item>
    <item>
      <title>Re: Suppress ODS output from Results without affecting ODS Excel</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Suppress-ODS-output-from-Results-without-affecting-ODS-Excel/m-p/608353#M23551</link>
      <description>&lt;P&gt;I have access to another computer with SAS 9.4M6 (15.1) - the issue still exists there. The only method that works is ODS EXCEL SELECT, as you mentioned.&lt;/P&gt;</description>
      <pubDate>Fri, 29 Nov 2019 20:42:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Suppress-ODS-output-from-Results-without-affecting-ODS-Excel/m-p/608353#M23551</guid>
      <dc:creator>AI_Vonnegut</dc:creator>
      <dc:date>2019-11-29T20:42:48Z</dc:date>
    </item>
    <item>
      <title>Re: Suppress ODS output from Results without affecting ODS Excel</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Suppress-ODS-output-from-Results-without-affecting-ODS-Excel/m-p/608369#M23552</link>
      <description>Change the path to one that's valid for your computer...</description>
      <pubDate>Fri, 29 Nov 2019 21:48:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Suppress-ODS-output-from-Results-without-affecting-ODS-Excel/m-p/608369#M23552</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-11-29T21:48:57Z</dc:date>
    </item>
    <item>
      <title>Re: Suppress ODS output from Results without affecting ODS Excel</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Suppress-ODS-output-from-Results-without-affecting-ODS-Excel/m-p/608370#M23553</link>
      <description>Why would that even matter though if all the output was needed? Maybe I'm not understanding the requirements then. &lt;BR /&gt;If you turned off other destinations/results which are open by default and have only ODS EXCEL open all the results should go there by default.</description>
      <pubDate>Fri, 29 Nov 2019 21:50:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Suppress-ODS-output-from-Results-without-affecting-ODS-Excel/m-p/608370#M23553</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-11-29T21:50:18Z</dc:date>
    </item>
    <item>
      <title>Re: Suppress ODS output from Results without affecting ODS Excel</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Suppress-ODS-output-from-Results-without-affecting-ODS-Excel/m-p/608373#M23554</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13879"&gt;@Reeza&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;Why would that even matter though if all the output was needed? Maybe I'm not understanding the requirements then. &lt;BR /&gt;If you turned off other destinations/results which are open by default and have only ODS EXCEL open all the results should go there by default.&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;How does the subprogram that is just trying to use ODS EXCEL the dump some data know what other destinations it needs to close and how to open them again?&lt;/P&gt;
&lt;P&gt;Can you show example that turns off all other destinations AND turns that back on again? Works with the goofy things that SAS/Studio sets up? etc.&lt;/P&gt;</description>
      <pubDate>Fri, 29 Nov 2019 21:56:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Suppress-ODS-output-from-Results-without-affecting-ODS-Excel/m-p/608373#M23554</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2019-11-29T21:56:56Z</dc:date>
    </item>
    <item>
      <title>Re: Suppress ODS output from Results without affecting ODS Excel</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Suppress-ODS-output-from-Results-without-affecting-ODS-Excel/m-p/608374#M23555</link>
      <description>ODS _all_ close should close all other destinations. Turning them on again is usually the issue. But EG doesn't have all open, it typically only has whatever's specified and turning them off is usually fairly easy. &lt;BR /&gt;&lt;BR /&gt;This seems to work previously: &lt;BR /&gt;&lt;A href="https://communities.sas.com/t5/SAS-Enterprise-Guide/Supressing-results-in-EG/td-p/342038" target="_blank"&gt;https://communities.sas.com/t5/SAS-Enterprise-Guide/Supressing-results-in-EG/td-p/342038&lt;/A&gt;</description>
      <pubDate>Fri, 29 Nov 2019 22:02:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Suppress-ODS-output-from-Results-without-affecting-ODS-Excel/m-p/608374#M23555</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-11-29T22:02:13Z</dc:date>
    </item>
    <item>
      <title>Re: Suppress ODS output from Results without affecting ODS Excel</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Suppress-ODS-output-from-Results-without-affecting-ODS-Excel/m-p/608375#M23556</link>
      <description>&lt;P&gt;This works fine in SAS Studio. Studio resets the settings so you can just turn it off, it turns them on automatically after.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods _all_ close;
ods excel file='/home/fkhurshed/Demo1/x21.xlsx';

proc report data=sashelp.class; run;
ods excel close;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;No results in the Results window, running proc print after goes to results window without the need to reset anything.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Just tested on SAS Academics on Demand, which is 9.4 M6&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Nov 2019 22:06:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Suppress-ODS-output-from-Results-without-affecting-ODS-Excel/m-p/608375#M23556</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-11-29T22:06:55Z</dc:date>
    </item>
    <item>
      <title>Re: Suppress ODS output from Results without affecting ODS Excel</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Suppress-ODS-output-from-Results-without-affecting-ODS-Excel/m-p/608377#M23557</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13879"&gt;@Reeza&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;This works fine in SAS Studio. Studio resets the settings so you can just turn it off, it turns them on automatically after.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods _all_ close;
ods excel file='/home/fkhurshed/Demo1/x21.xlsx';

proc report data=sashelp.class; run;
ods excel close;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;No results in the Results window, running proc print after goes to results window without the need to reset anything.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Just tested on SAS Academics on Demand, which is 9.4 M6&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;SAS/Studio does not have any function I can call to turn them on again.&amp;nbsp; It might in the next block of code that is submitted but nothing I have seen that I can trigger after I am done dumping my data to excel and want to continue with the rest of my program.&lt;/P&gt;</description>
      <pubDate>Fri, 29 Nov 2019 22:24:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Suppress-ODS-output-from-Results-without-affecting-ODS-Excel/m-p/608377#M23557</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2019-11-29T22:24:39Z</dc:date>
    </item>
  </channel>
</rss>

