<?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 Suppressing title when using ODS SELECT NONE in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Suppressing-title-when-using-ODS-SELECT-NONE/m-p/675528#M24336</link>
    <description>&lt;P&gt;I'm trying to write some tables to a RTF file, and some to an Excel sheet. After setting up the destinations I have code like the following. However, the title "Excel output 1" is appearing in the RTF output. How do I suppress this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;ods excel select none;
title "RTF output 1";
proc etc;
run;
ods rtf select none;
ods excel select all;
title "Excel output 1";
proc etc;
run;&lt;/PRE&gt;</description>
    <pubDate>Mon, 10 Aug 2020 02:24:30 GMT</pubDate>
    <dc:creator>BruceBrad</dc:creator>
    <dc:date>2020-08-10T02:24:30Z</dc:date>
    <item>
      <title>Suppressing title when using ODS SELECT NONE</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Suppressing-title-when-using-ODS-SELECT-NONE/m-p/675528#M24336</link>
      <description>&lt;P&gt;I'm trying to write some tables to a RTF file, and some to an Excel sheet. After setting up the destinations I have code like the following. However, the title "Excel output 1" is appearing in the RTF output. How do I suppress this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;ods excel select none;
title "RTF output 1";
proc etc;
run;
ods rtf select none;
ods excel select all;
title "Excel output 1";
proc etc;
run;&lt;/PRE&gt;</description>
      <pubDate>Mon, 10 Aug 2020 02:24:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Suppressing-title-when-using-ODS-SELECT-NONE/m-p/675528#M24336</guid>
      <dc:creator>BruceBrad</dc:creator>
      <dc:date>2020-08-10T02:24:30Z</dc:date>
    </item>
    <item>
      <title>Re: Suppressing title when using ODS SELECT NONE</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Suppressing-title-when-using-ODS-SELECT-NONE/m-p/675598#M24337</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;use &lt;EM&gt;ods rtf close&lt;/EM&gt; or &lt;EM&gt;ods excel close &lt;/EM&gt;to stop the destination export.&lt;/P&gt;
&lt;P&gt;use &lt;EM&gt;TITLE&lt;/EM&gt; without arguments to cancel all existing titles when not needed any more.&lt;/P&gt;</description>
      <pubDate>Mon, 10 Aug 2020 13:59:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Suppressing-title-when-using-ODS-SELECT-NONE/m-p/675598#M24337</guid>
      <dc:creator>Oligolas</dc:creator>
      <dc:date>2020-08-10T13:59:29Z</dc:date>
    </item>
    <item>
      <title>Re: Suppressing title when using ODS SELECT NONE</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Suppressing-title-when-using-ODS-SELECT-NONE/m-p/675690#M24338</link>
      <description>Hi:&lt;BR /&gt;  SAS Title and Footnote statements are not impacted by the ODS SELECT statements. ODS SELECT (and ODS EXCLUDE) control the output objects that are written to the the various destinations. Output objects are like the Extreme Obs table from PROC UNIVARIATE or the VARIABLES object from PROC CONTENTS. The output object is what is controlled/produced by the procedure. TITLES and FOOTNOTES are global in nature and apply to all the output being created by in a job step. If you have both ODS EXCEL and ODS RTF open at the same time, then the TITLE will get written to all the open destinations.&lt;BR /&gt;Cynthia</description>
      <pubDate>Mon, 10 Aug 2020 17:33:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Suppressing-title-when-using-ODS-SELECT-NONE/m-p/675690#M24338</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2020-08-10T17:33:31Z</dc:date>
    </item>
    <item>
      <title>Re: Suppressing title when using ODS SELECT NONE</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Suppressing-title-when-using-ODS-SELECT-NONE/m-p/675788#M24339</link>
      <description>My understanding is that if I close a destination and then open it again, the earlier output gets overwritten. Is that correct? I can't see any option to open a spreadsheet and/or RTF in append mode. So it looks like it is not possible to do what I want (writing alternately to excel and rtf).</description>
      <pubDate>Mon, 10 Aug 2020 23:37:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Suppressing-title-when-using-ODS-SELECT-NONE/m-p/675788#M24339</guid>
      <dc:creator>BruceBrad</dc:creator>
      <dc:date>2020-08-10T23:37:37Z</dc:date>
    </item>
    <item>
      <title>Re: Suppressing title when using ODS SELECT NONE</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Suppressing-title-when-using-ODS-SELECT-NONE/m-p/675798#M24340</link>
      <description>&lt;P&gt;Hi:&lt;BR /&gt;Your understanding is correct. ODS RTF and ODS EXCEL do not allow "appending" after the original file is closed the first time. ODS only will write over the original file name if you try to append -- the only destination that allows appending is ODS HTML. I would either use a Macro program to control what is getting written to each destination like this or I would write all the output to an ODS DOCUMENT store and then replay the objects as I chose to the different destinations. Here's a paper &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; that describes the ODS DOCUMENT approach. Look on page 17 for a more advanced use of the REPLAY statement to replay objects to differing destinations.&lt;BR /&gt;&lt;BR /&gt;Here's an example of one possible macro program approach:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="possible_macro.png" style="width: 999px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/48114iC059C089A4B61B03/image-size/large?v=v2&amp;amp;px=999" role="button" title="possible_macro.png" alt="possible_macro.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Since I used STARTPAGE=NO the second title for ODS RTF would not go on the same page with the first TITLE. That's why I used ODS TEXT= to place some text before the 2nd table.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cynthia&lt;/P&gt;</description>
      <pubDate>Tue, 11 Aug 2020 01:02:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Suppressing-title-when-using-ODS-SELECT-NONE/m-p/675798#M24340</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2020-08-11T01:02:31Z</dc:date>
    </item>
    <item>
      <title>Re: Suppressing title when using ODS SELECT NONE</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Suppressing-title-when-using-ODS-SELECT-NONE/m-p/676037#M24342</link>
      <description>&lt;P&gt;Thanks for this. But it seems very messy for what is a simple requirement. I'll experiment with suppressing all titles and just using ODS Text to output my titles (and format them manually in Word).&lt;/P&gt;</description>
      <pubDate>Wed, 12 Aug 2020 00:13:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Suppressing-title-when-using-ODS-SELECT-NONE/m-p/676037#M24342</guid>
      <dc:creator>BruceBrad</dc:creator>
      <dc:date>2020-08-12T00:13:12Z</dc:date>
    </item>
    <item>
      <title>Re: Suppressing title when using ODS SELECT NONE</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Suppressing-title-when-using-ODS-SELECT-NONE/m-p/676181#M24343</link>
      <description>Hi:&lt;BR /&gt;  You can format the text from ODS RTF TEXT= using a STYLE template change. That method is shown in this paper on pages 11 and 12: &lt;A href="https://support.sas.com/resources/papers/proceedings10/033-2010.pdf" target="_blank"&gt;https://support.sas.com/resources/papers/proceedings10/033-2010.pdf&lt;/A&gt; .&lt;BR /&gt;&lt;BR /&gt;Cynthia</description>
      <pubDate>Wed, 12 Aug 2020 14:35:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Suppressing-title-when-using-ODS-SELECT-NONE/m-p/676181#M24343</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2020-08-12T14:35:08Z</dc:date>
    </item>
  </channel>
</rss>

