<?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: SAS callable SUDAAN output in word in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/SAS-callable-SUDAAN-output-in-word/m-p/820158#M323691</link>
    <description>&lt;P&gt;You don't say if you had an ODS RTF close or not. Without the close bit the file doesn't get finalized and won't contain any output. Generic:&lt;/P&gt;
&lt;PRE&gt;ods rtf file="path/name.rtf" &amp;lt;other options&amp;gt;;

&amp;lt;procedure(s) generating results output&amp;gt;

ods rtf close;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It has been years since I used SUDAAN but if it does not play well with ODS the basic approach was:&lt;/P&gt;
&lt;P&gt;1) don't bother with anything sent to the results window&lt;/P&gt;
&lt;P&gt;2) find the SUDAAN syntax to send the pieces you want to SAS data set(s)&lt;/P&gt;
&lt;P&gt;3) use other SAS tools to create reports from the data that will honor ODS destinations.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Did this basically to have all the options from Proc Report/Tabulate/Print to make output that was nicer than the default SUDAAN tables.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And watch what you put for LEVELS. You can generate a great deal of empty stuff if careless.&lt;/P&gt;</description>
    <pubDate>Thu, 23 Jun 2022 23:07:38 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2022-06-23T23:07:38Z</dc:date>
    <item>
      <title>SAS callable SUDAAN output in word</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-callable-SUDAAN-output-in-word/m-p/820157#M323690</link>
      <description>&lt;P&gt;Hello everyone,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am currently using SAS SUDAAN to generate outcome. But all the output were in SAS output window. It's very hard to read.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Does anybody know how to get the final reports in word or pdf?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you so much.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have tried to add ods rtf before running SUDAAN, but it won't work.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jun 2022 20:55:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-callable-SUDAAN-output-in-word/m-p/820157#M323690</guid>
      <dc:creator>linda0910</dc:creator>
      <dc:date>2022-06-23T20:55:04Z</dc:date>
    </item>
    <item>
      <title>Re: SAS callable SUDAAN output in word</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-callable-SUDAAN-output-in-word/m-p/820158#M323691</link>
      <description>&lt;P&gt;You don't say if you had an ODS RTF close or not. Without the close bit the file doesn't get finalized and won't contain any output. Generic:&lt;/P&gt;
&lt;PRE&gt;ods rtf file="path/name.rtf" &amp;lt;other options&amp;gt;;

&amp;lt;procedure(s) generating results output&amp;gt;

ods rtf close;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It has been years since I used SUDAAN but if it does not play well with ODS the basic approach was:&lt;/P&gt;
&lt;P&gt;1) don't bother with anything sent to the results window&lt;/P&gt;
&lt;P&gt;2) find the SUDAAN syntax to send the pieces you want to SAS data set(s)&lt;/P&gt;
&lt;P&gt;3) use other SAS tools to create reports from the data that will honor ODS destinations.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Did this basically to have all the options from Proc Report/Tabulate/Print to make output that was nicer than the default SUDAAN tables.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And watch what you put for LEVELS. You can generate a great deal of empty stuff if careless.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jun 2022 23:07:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-callable-SUDAAN-output-in-word/m-p/820158#M323691</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2022-06-23T23:07:38Z</dc:date>
    </item>
    <item>
      <title>Re: SAS callable SUDAAN output in word</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-callable-SUDAAN-output-in-word/m-p/820234#M323731</link>
      <description>&lt;P&gt;Thank you so much for your reply. Yes, I used the ODS RTF close as well, but no output in the file. I guess the ods output doesn't work for SUDAAN.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I used proc descript in the program, and I tried to save the results in the dataset, so that I can manipulate the data. However, I used ODS TRACE on/off to trace all the steps, but can't find the dataset name.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Do you have any idea which dataset that SUDAAN store the data&amp;nbsp;temporarily?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jun 2022 13:31:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-callable-SUDAAN-output-in-word/m-p/820234#M323731</guid>
      <dc:creator>linda0910</dc:creator>
      <dc:date>2022-06-24T13:31:45Z</dc:date>
    </item>
  </channel>
</rss>

