<?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: Create output file using proc surveyfreq in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Create-output-file-using-proc-surveyfreq/m-p/936657#M368130</link>
    <description>&lt;P&gt;Sorry, here is the syntax with ODS option.&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=""&gt;proc surveyfreq  data=mydata;
	tables size *type*color;
ods output OneWay=mytable;
    Repweights repweight1-repweight100;
	weight CanCHECW2; 

run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Mon, 22 Jul 2024 19:46:59 GMT</pubDate>
    <dc:creator>altadata1</dc:creator>
    <dc:date>2024-07-22T19:46:59Z</dc:date>
    <item>
      <title>Create output file using proc surveyfreq</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Create-output-file-using-proc-surveyfreq/m-p/936649#M368127</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to create an output file using the syntax below.&amp;nbsp; The size and type are numeric variables, and the color is character variable. The ods output does not work.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=""&gt;proc surveyfreq  data=mydata;
	tables size *type*color;
    Repweights repweight1-repweight100;
	weight CanCHECW2; 
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 22 Jul 2024 19:18:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Create-output-file-using-proc-surveyfreq/m-p/936649#M368127</guid>
      <dc:creator>altadata1</dc:creator>
      <dc:date>2024-07-22T19:18:20Z</dc:date>
    </item>
    <item>
      <title>Re: Create output file using proc surveyfreq</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Create-output-file-using-proc-surveyfreq/m-p/936657#M368130</link>
      <description>&lt;P&gt;Sorry, here is the syntax with ODS option.&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=""&gt;proc surveyfreq  data=mydata;
	tables size *type*color;
ods output OneWay=mytable;
    Repweights repweight1-repweight100;
	weight CanCHECW2; 

run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 22 Jul 2024 19:46:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Create-output-file-using-proc-surveyfreq/m-p/936657#M368130</guid>
      <dc:creator>altadata1</dc:creator>
      <dc:date>2024-07-22T19:46:59Z</dc:date>
    </item>
    <item>
      <title>Re: Create output file using proc surveyfreq</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Create-output-file-using-proc-surveyfreq/m-p/936658#M368131</link>
      <description>&lt;P&gt;Explain what is not working.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If there are errors or warnings in the log, show us the log (every line in the log for PROC SURVEYFREQ including the code as it appears in the log). If the output isn't correct, explain what about it is not correct, and what you expect.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jul 2024 19:50:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Create-output-file-using-proc-surveyfreq/m-p/936658#M368131</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2024-07-22T19:50:13Z</dc:date>
    </item>
    <item>
      <title>Re: Create output file using proc surveyfreq</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Create-output-file-using-proc-surveyfreq/m-p/936660#M368132</link>
      <description>&lt;P&gt;ONEWAY isn't the table name here. &lt;BR /&gt;Use ODS TRACE to see the table name or check the documentation under &lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.4/statug/statug_surveyfreq_details100.htm" target="_self"&gt;Details, ODS Table Names&lt;/A&gt;. &lt;BR /&gt;&lt;BR /&gt;From a quick look I think it's CROSSTABS instead. &lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods output crosstabs=mytable;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;However, using ODS TRACE is definitely one way to check.&lt;BR /&gt;&lt;BR /&gt;Using ODS TRACE:&lt;BR /&gt;&lt;A href="https://blogs.sas.com/content/iml/2017/01/09/ods-output-any-statistic.html" target="_blank" rel="noopener"&gt;https://blogs.sas.com/content/iml/2017/01/09/ods-output-any-statistic.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jul 2024 20:06:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Create-output-file-using-proc-surveyfreq/m-p/936660#M368132</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2024-07-22T20:06:39Z</dc:date>
    </item>
    <item>
      <title>Re: Create output file using proc surveyfreq</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Create-output-file-using-proc-surveyfreq/m-p/936704#M368139</link>
      <description>&lt;P&gt;Thank you so much. You were right. The table name is CROSSTABS.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was looking for other options than "Oneway" for table names and couldn't find any information.&amp;nbsp; I found ODS Trace on/off very useful.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jul 2024 02:21:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Create-output-file-using-proc-surveyfreq/m-p/936704#M368139</guid>
      <dc:creator>altadata1</dc:creator>
      <dc:date>2024-07-23T02:21:36Z</dc:date>
    </item>
    <item>
      <title>Re: Create output file using proc surveyfreq</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Create-output-file-using-proc-surveyfreq/m-p/936705#M368140</link>
      <description>&lt;P&gt;Thank you for the response.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jul 2024 02:22:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Create-output-file-using-proc-surveyfreq/m-p/936705#M368140</guid>
      <dc:creator>altadata1</dc:creator>
      <dc:date>2024-07-23T02:22:10Z</dc:date>
    </item>
  </channel>
</rss>

