<?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 ODS Report Writing Interface in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/SAS-ODS-Report-Writing-Interface/m-p/473572#M21168</link>
    <description>Hi:&lt;BR /&gt;  Yes, I agree, I'm not inclined to find the interquartile range on the data that was posted because I'm not sure what procedure the OP is going to use to calculate that value and if I guess I could guess wrong. &lt;BR /&gt;&lt;BR /&gt;But this layout is very similar to the type of report that I showed in my 2008 Creating Complex Reports paper, with the added benefit of having a separate column for the N and a separate column for the %, which makes generating the report much easier.&lt;BR /&gt;&lt;BR /&gt;Cynthia</description>
    <pubDate>Wed, 27 Jun 2018 00:03:34 GMT</pubDate>
    <dc:creator>Cynthia_sas</dc:creator>
    <dc:date>2018-06-27T00:03:34Z</dc:date>
    <item>
      <title>SAS ODS Report Writing Interface</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/SAS-ODS-Report-Writing-Interface/m-p/473549#M21162</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Dear all,&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I have a table shell that I need to generate from sample data set and thought SAS report writing Interface would be the best bet for the output I need.&amp;nbsp;Normally, I use proc tabulate or proc report to generate this kind of output. But, I came to know that these procedures wont work for the table shell below.&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Attached please find the sample data set.&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data have;
input id sex$ race$ age agecat$;
datalines;
01 F W 66 60-70
02 F B 87 80-90
03 M W 63 60-70
04 M A 79 70-80
05 M W 75 70-80
06 M U 72 70-80
07 F W 66 60-70
08 F B 87 80-90
09 M W 63 60-70
10 M A 79 70-80
11 M W 75 70-80
12 M U 72 70-80
;&lt;BR /&gt;&lt;/CODE&gt;&lt;/PRE&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;The table shell is below. Can I generate the exact table shell using the SAS RWI. If so, could you please provide the program to generate this table shell.&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;TABLE border="0" cellspacing="0" cellpadding="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Descriptives&lt;/TD&gt;&lt;TD&gt;Overall Cohort&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;Males&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;Females&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Age&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;Mean&lt;/TD&gt;&lt;TD&gt;Standard Deviation&lt;/TD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&gt;&lt;TD&gt;N&lt;/TD&gt;&lt;TD&gt;%&lt;/TD&gt;&lt;TD&gt;N&lt;/TD&gt;&lt;TD&gt;%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;80-90&amp;nbsp;years&lt;/TD&gt;&lt;TD&gt;N&lt;/TD&gt;&lt;TD&gt;%&lt;/TD&gt;&lt;TD&gt;N&lt;/TD&gt;&lt;TD&gt;%&lt;/TD&gt;&lt;TD&gt;N&lt;/TD&gt;&lt;TD&gt;%&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thank you very much for your help!&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="yj6qo"&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Tue, 26 Jun 2018 21:10:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/SAS-ODS-Report-Writing-Interface/m-p/473549#M21162</guid>
      <dc:creator>Tomcaty</dc:creator>
      <dc:date>2018-06-26T21:10:57Z</dc:date>
    </item>
    <item>
      <title>Re: SAS ODS Report Writing Interface</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/SAS-ODS-Report-Writing-Interface/m-p/473551#M21163</link>
      <description>Hi:&lt;BR /&gt;  I'm not sure why you think that PROC REPORT won't work for this report. It might be that either REPORT or TABULATE would work for this report.&lt;BR /&gt;&lt;BR /&gt;There are a lot of papers on the Report Writing Interface. Here are some of them:&lt;BR /&gt;“Using ODS Object Oriented Features To Produce a Formatted Record Layout” &lt;A href="https://www.lexjansen.com/nesug/nesug08/bb/bb02.pdf" target="_blank"&gt;https://www.lexjansen.com/nesug/nesug08/bb/bb02.pdf&lt;/A&gt; &lt;BR /&gt;“Using the Data Step to Create Bar Charts: The ODS Report Writing Interface” Available at &lt;A href="https://www.lexjansen.com/nesug/nesug10/bb/bb05.pdf" target="_blank"&gt;https://www.lexjansen.com/nesug/nesug10/bb/bb05.pdf&lt;/A&gt; &lt;BR /&gt;"That's All Right: More Complex Reports." &lt;A href="http://support.sas.com/resources/papers/proceedings16/SAS5762-2016.pdf" target="_blank"&gt;http://support.sas.com/resources/papers/proceedings16/SAS5762-2016.pdf&lt;/A&gt; &lt;BR /&gt;“Next Generation Data _NULL_ Report Writing Using ODS OO Features” &lt;A href="http://www2.sas.com/proceedings/sugi28/022-28.pdf" target="_blank"&gt;http://www2.sas.com/proceedings/sugi28/022-28.pdf&lt;/A&gt; &lt;BR /&gt;“ODS Report Writing Interface Makes Our Reporting Simple and Better” &lt;A href="http://support.sas.com/resources/papers/proceedings12/071-2012.pdf" target="_blank"&gt;http://support.sas.com/resources/papers/proceedings12/071-2012.pdf&lt;/A&gt; &lt;BR /&gt;“Next Generation DATA _NULL_ Report Writing using ODS OO Features: A Powerful Tool to Create Custom Tables” &lt;A href="http://support.sas.com/resources/papers/proceedings10/072-2010.pdf" target="_blank"&gt;http://support.sas.com/resources/papers/proceedings10/072-2010.pdf&lt;/A&gt; &lt;BR /&gt;&lt;BR /&gt;  But unless your data are not in the right structure, I don't see anything here that PROC REPORT could not do either.&lt;BR /&gt;&lt;BR /&gt;Cynthia&lt;BR /&gt;</description>
      <pubDate>Tue, 26 Jun 2018 21:54:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/SAS-ODS-Report-Writing-Interface/m-p/473551#M21163</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2018-06-26T21:54:26Z</dc:date>
    </item>
    <item>
      <title>Re: SAS ODS Report Writing Interface</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/SAS-ODS-Report-Writing-Interface/m-p/473557#M21165</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13549"&gt;@Cynthia_sas&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A previous post provided a "close" Proc Tabulate solution but apparently having two tables isn't quite what the OP wants.&lt;/P&gt;
&lt;P&gt;I suggested an RWI approach may be possible but haven't the time or inclination at this point to try to cobble something that non-standard together as it was reminding me entirely too much of the programs with 400 PUT statements to put a dozen or so "tables" on a single page from many years ago.&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jun 2018 22:22:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/SAS-ODS-Report-Writing-Interface/m-p/473557#M21165</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2018-06-26T22:22:41Z</dc:date>
    </item>
    <item>
      <title>Re: SAS ODS Report Writing Interface</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/SAS-ODS-Report-Writing-Interface/m-p/473572#M21168</link>
      <description>Hi:&lt;BR /&gt;  Yes, I agree, I'm not inclined to find the interquartile range on the data that was posted because I'm not sure what procedure the OP is going to use to calculate that value and if I guess I could guess wrong. &lt;BR /&gt;&lt;BR /&gt;But this layout is very similar to the type of report that I showed in my 2008 Creating Complex Reports paper, with the added benefit of having a separate column for the N and a separate column for the %, which makes generating the report much easier.&lt;BR /&gt;&lt;BR /&gt;Cynthia</description>
      <pubDate>Wed, 27 Jun 2018 00:03:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/SAS-ODS-Report-Writing-Interface/m-p/473572#M21168</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2018-06-27T00:03:34Z</dc:date>
    </item>
    <item>
      <title>Re: SAS ODS Report Writing Interface</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/SAS-ODS-Report-Writing-Interface/m-p/473586#M21173</link>
      <description>It’s possible but the odds of getting someone to write the code for you is less likely. If you start you’ll probably get help but actually doing it all isn’t likely to happen. There’s a few consultants out there who would do it for a fee.</description>
      <pubDate>Wed, 27 Jun 2018 03:04:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/SAS-ODS-Report-Writing-Interface/m-p/473586#M21173</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-06-27T03:04:16Z</dc:date>
    </item>
  </channel>
</rss>

