<?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 Output in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-Output/m-p/266286#M15718</link>
    <description>&lt;P&gt;Thankyou wong!!&lt;/P&gt;&lt;P&gt;i tried your code as well still i am unable to create dataset.&lt;/P&gt;&lt;P&gt;throwing warning again &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 26 Apr 2016 05:35:18 GMT</pubDate>
    <dc:creator>Dd07</dc:creator>
    <dc:date>2016-04-26T05:35:18Z</dc:date>
    <item>
      <title>ods Output</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-Output/m-p/266282#M15716</link>
      <description>&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;I am not sure what is wrong over here howerver my dataset is not creating.its throwing a warning.&lt;/P&gt;&lt;P&gt;.Please help me.&lt;/P&gt;&lt;P&gt;sample code is&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data new;&lt;BR /&gt;set sashelp.class;&lt;BR /&gt;umra=put(age,$2.);&lt;BR /&gt;run;&lt;BR /&gt;ods listing close;&lt;BR /&gt;ods output "One-Way Frequencies"=app;&lt;BR /&gt;proc format; value $age&lt;BR /&gt;low-&amp;lt;15 = 'child'&lt;BR /&gt;16-&amp;lt; 30 = 'adult';&lt;BR /&gt;run;&lt;BR /&gt;proc freq data=new;&lt;BR /&gt;tables _char_;&lt;BR /&gt;format umra $age.;&lt;BR /&gt;run;&lt;BR /&gt;ods output close;&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;P&gt;=============================&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;WARNING: Output ''One-Way Frequencies'' was not created. Make sure that the output object name,&lt;BR /&gt;label, or path is spelled correctly. Also, verify that the appropriate procedure&lt;BR /&gt;options are used to produce the requested output object. For example, verify that the&lt;BR /&gt;NOPRINT option is not used.&lt;/P&gt;</description>
      <pubDate>Tue, 26 Apr 2016 04:57:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-Output/m-p/266282#M15716</guid>
      <dc:creator>Dd07</dc:creator>
      <dc:date>2016-04-26T04:57:15Z</dc:date>
    </item>
    <item>
      <title>Re: ods Output</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-Output/m-p/266285#M15717</link>
      <description>&lt;P&gt;It should be as below. Please also see the log window on how the ods trace on and off works Thanks.&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data new;
	set sashelp.class;
	umra=put(age,$2.);
run;
ods listing close;
ods trace on;
ods output OneWayFreqs=app;
proc format; 
	value $age	
		low-&amp;lt;15 = 'child'
		16-&amp;lt; 30 = 'adult';
run;
proc freq data=new; tables _char_; format umra $age.; run;
ods trace off;
ods output close;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Apr 2016 05:31:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-Output/m-p/266285#M15717</guid>
      <dc:creator>Miracle</dc:creator>
      <dc:date>2016-04-26T05:31:29Z</dc:date>
    </item>
    <item>
      <title>Re: ods Output</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-Output/m-p/266286#M15718</link>
      <description>&lt;P&gt;Thankyou wong!!&lt;/P&gt;&lt;P&gt;i tried your code as well still i am unable to create dataset.&lt;/P&gt;&lt;P&gt;throwing warning again &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Apr 2016 05:35:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-Output/m-p/266286#M15718</guid>
      <dc:creator>Dd07</dc:creator>
      <dc:date>2016-04-26T05:35:18Z</dc:date>
    </item>
    <item>
      <title>Re: ods Output</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-Output/m-p/266287#M15719</link>
      <description>&lt;P&gt;Sorry&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/57715"&gt;@Dd07﻿&lt;/a&gt;.&amp;nbsp;Please change 'ods listing close' to 'ods listing' instead.&lt;/P&gt;</description>
      <pubDate>Tue, 26 Apr 2016 05:38:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-Output/m-p/266287#M15719</guid>
      <dc:creator>Miracle</dc:creator>
      <dc:date>2016-04-26T05:38:41Z</dc:date>
    </item>
    <item>
      <title>Re: ods Output</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-Output/m-p/266288#M15720</link>
      <description>&lt;P&gt;thanks again however no luck!! same warning exist &amp;nbsp;&lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Apr 2016 05:42:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-Output/m-p/266288#M15720</guid>
      <dc:creator>Dd07</dc:creator>
      <dc:date>2016-04-26T05:42:26Z</dc:date>
    </item>
    <item>
      <title>Re: ods Output</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-Output/m-p/266291#M15721</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/57715"&gt;@Dd07﻿&lt;/a&gt;.&lt;/P&gt;&lt;P&gt;If you are just wanting to find out the frequency distribution of age, then you can just do this. Hope it works for you now. It didn't work because the ods output statement was not in the right order. Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc format; &lt;BR /&gt; value age &lt;BR /&gt; low-15 = 'child'&lt;BR /&gt; 16-&amp;lt; 30 = 'adult';&lt;BR /&gt;run;&lt;BR /&gt;ods output OneWayFreqs=app;&lt;BR /&gt;proc freq data=sashelp.class; tables age; format age age.; run;&lt;BR /&gt;ods output close;&lt;BR /&gt;
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Apr 2016 05:56:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-Output/m-p/266291#M15721</guid>
      <dc:creator>Miracle</dc:creator>
      <dc:date>2016-04-26T05:56:40Z</dc:date>
    </item>
    <item>
      <title>Re: ods Output</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-Output/m-p/266301#M15723</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The ODS output statement needs to be before the procedure which creates the object. &amp;nbsp;The proc format does not create objects, hence the onewayfreq is not found. &amp;nbsp;This code should work:&lt;/P&gt;
&lt;PRE&gt;data new;
	set sashelp.class;
	umra=put(age,$2.);
run;
ods listing close;
proc format; 
	value $age	
		low-&amp;lt;15 = 'child'
		16-&amp;lt; 30 = 'adult';
run;
ods trace on;
ods output OneWayFreqs=app;
proc freq data=new; 
  tables _char_; 
  format umra $age.; 
run;
ods trace off;
ods output close;&lt;/PRE&gt;</description>
      <pubDate>Tue, 26 Apr 2016 07:34:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-Output/m-p/266301#M15723</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2016-04-26T07:34:58Z</dc:date>
    </item>
  </channel>
</rss>

