<?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: ods exclude for proc logistic in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-exclude-for-proc-logistic/m-p/240442#M14968</link>
    <description>&lt;P&gt;Thanks. I tried noptitle and it&amp;nbsp;works partially that&amp;nbsp;the title of proc logistic&amp;nbsp;&lt;/P&gt;
&lt;TABLE&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="182"&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;The LOGISTIC Procedure&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;is removed. However, the subtitle for the strata statement&lt;/P&gt;
&lt;TABLE&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="142"&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;Conditional Analysis&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;is still displayed.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Anyway to suppress it?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Peter&lt;/P&gt;</description>
    <pubDate>Tue, 22 Dec 2015 14:34:48 GMT</pubDate>
    <dc:creator>Peter_Y</dc:creator>
    <dc:date>2015-12-22T14:34:48Z</dc:date>
    <item>
      <title>ods exclude for proc logistic</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-exclude-for-proc-logistic/m-p/240307#M14958</link>
      <description>&lt;P&gt;Hello:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;I need to run a serious of logistic regression and save the results in rtf/pdf.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;%macro regression(var);
ods exclude all;
proc logistic data=cohort descending;
model outcome= &amp;amp;var;
strata match;
ods output ParameterEstimates=ps;&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;proc print data=ps;&lt;BR /&gt;run;
%mend;

ods rtf file='output.rtf' bodytitle;&lt;BR /&gt;title 'first regression';
%regression(var1);
title 'second regression';&lt;BR /&gt;%regression(var2);
ods rtf close;&lt;/PRE&gt;
&lt;P&gt;The challenge is that the following text is always displayed in the output file, although ods exclude all is used.&amp;nbsp;&lt;/P&gt;
&lt;TABLE&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="182"&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;The LOGISTIC Procedure&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;&amp;nbsp;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;TABLE&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="142"&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;Conditional Analysis&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;This seems to be associated with the bodytitle option. However, it is required to put the title in the body. Another option is to use&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;ods rtf exclude all;&lt;/PRE&gt;
&lt;P&gt;However, if rtf destination is not open, the above code will generate an error. I am wondering whether there is a generic solution to this problem?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Peter&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Dec 2015 20:19:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-exclude-for-proc-logistic/m-p/240307#M14958</guid>
      <dc:creator>Peter_Y</dc:creator>
      <dc:date>2015-12-21T20:19:22Z</dc:date>
    </item>
    <item>
      <title>Re: ods exclude for proc logistic</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-exclude-for-proc-logistic/m-p/240309#M14959</link>
      <description>ods noptitle;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://support.sas.com/documentation/cdl/en/odsug/61723/HTML/default/viewer.htm#a002233346.htm" target="_blank"&gt;https://support.sas.com/documentation/cdl/en/odsug/61723/HTML/default/viewer.htm#a002233346.htm&lt;/A&gt;</description>
      <pubDate>Mon, 21 Dec 2015 20:24:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-exclude-for-proc-logistic/m-p/240309#M14959</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2015-12-21T20:24:05Z</dc:date>
    </item>
    <item>
      <title>Re: ods exclude for proc logistic</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-exclude-for-proc-logistic/m-p/240442#M14968</link>
      <description>&lt;P&gt;Thanks. I tried noptitle and it&amp;nbsp;works partially that&amp;nbsp;the title of proc logistic&amp;nbsp;&lt;/P&gt;
&lt;TABLE&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="182"&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;The LOGISTIC Procedure&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;is removed. However, the subtitle for the strata statement&lt;/P&gt;
&lt;TABLE&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="142"&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;Conditional Analysis&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;is still displayed.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Anyway to suppress it?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Peter&lt;/P&gt;</description>
      <pubDate>Tue, 22 Dec 2015 14:34:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-exclude-for-proc-logistic/m-p/240442#M14968</guid>
      <dc:creator>Peter_Y</dc:creator>
      <dc:date>2015-12-22T14:34:48Z</dc:date>
    </item>
  </channel>
</rss>

