<?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 proc surveyfreq analysis problem in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/proc-surveyfreq-analysis-problem/m-p/780955#M31697</link>
    <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;want to ask about&amp;nbsp;proc surveyfreq analysis&lt;/P&gt;&lt;P&gt;i can't solve this problem and need a help&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;age 30 is column for test&lt;/P&gt;&lt;P&gt;'data usee; set usee;if 30 &amp;lt;= age then age30=1; else age30=0; run;'&lt;/P&gt;&lt;P&gt;use this code&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ff_use is real for analysis&lt;/P&gt;&lt;P&gt;'data use; set use; if age_all='.' or check ='.' or he_wt=. or he_ht=. then ff_use = 0; run;&lt;BR /&gt;data use; set use; if ff_use=. then ff_use=1;run;'&lt;/P&gt;&lt;P&gt;take from multiple&amp;nbsp;Variables&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;really cant find what wrong in my data...&lt;/P&gt;&lt;P&gt;column attribution also same , type, format..all same&lt;/P&gt;&lt;P&gt;how can i make table ff_use '0'&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV align="center"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 18 Nov 2021 08:01:53 GMT</pubDate>
    <dc:creator>weo</dc:creator>
    <dc:date>2021-11-18T08:01:53Z</dc:date>
    <item>
      <title>proc surveyfreq analysis problem</title>
      <link>https://communities.sas.com/t5/New-SAS-User/proc-surveyfreq-analysis-problem/m-p/780955#M31697</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;want to ask about&amp;nbsp;proc surveyfreq analysis&lt;/P&gt;&lt;P&gt;i can't solve this problem and need a help&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;age 30 is column for test&lt;/P&gt;&lt;P&gt;'data usee; set usee;if 30 &amp;lt;= age then age30=1; else age30=0; run;'&lt;/P&gt;&lt;P&gt;use this code&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ff_use is real for analysis&lt;/P&gt;&lt;P&gt;'data use; set use; if age_all='.' or check ='.' or he_wt=. or he_ht=. then ff_use = 0; run;&lt;BR /&gt;data use; set use; if ff_use=. then ff_use=1;run;'&lt;/P&gt;&lt;P&gt;take from multiple&amp;nbsp;Variables&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;really cant find what wrong in my data...&lt;/P&gt;&lt;P&gt;column attribution also same , type, format..all same&lt;/P&gt;&lt;P&gt;how can i make table ff_use '0'&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV align="center"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Nov 2021 08:01:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/proc-surveyfreq-analysis-problem/m-p/780955#M31697</guid>
      <dc:creator>weo</dc:creator>
      <dc:date>2021-11-18T08:01:53Z</dc:date>
    </item>
    <item>
      <title>Re: proc surveyfreq analysis problem</title>
      <link>https://communities.sas.com/t5/New-SAS-User/proc-surveyfreq-analysis-problem/m-p/780999#M31705</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Like many others on these communities I do not like to download files.&lt;/P&gt;
&lt;P&gt;It's always better to share (part of) your data using SAS code (a data step with input statement and datalines;).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But OK.&lt;/P&gt;
&lt;P&gt;Qua syntax there's nothing wrong with your code, but do age_all and check really have the values '.' (a single dot)?&lt;/P&gt;
&lt;P&gt;If you want to check whether age_all and check have a missing value you should use '' (2 adjacent single quotes) or use the missing function.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Koen&lt;/P&gt;</description>
      <pubDate>Thu, 18 Nov 2021 12:27:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/proc-surveyfreq-analysis-problem/m-p/780999#M31705</guid>
      <dc:creator>sbxkoenk</dc:creator>
      <dc:date>2021-11-18T12:27:31Z</dc:date>
    </item>
    <item>
      <title>Re: proc surveyfreq analysis problem</title>
      <link>https://communities.sas.com/t5/New-SAS-User/proc-surveyfreq-analysis-problem/m-p/781064#M31715</link>
      <description>&lt;P&gt;1) do not see any surveyfreq code so not sure what the question is about surveyfreq.&lt;/P&gt;
&lt;P&gt;2) If you use this type of code often: data usee; set usee; then you are completely replacing the Usee data set every time it executes without a syntax error. Which means that data manipulation logic problems&lt;/P&gt;
&lt;P&gt;3) your second set of code is using a different data set: data use; set use;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; So which data set did you use for analysis?&lt;/P&gt;
&lt;P&gt;4) You ask : how can i make table ff_use '0'. What table?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I strongly suggest that you share the LOG from running your code. The Log often shows details that are important for diagnosing things. Run your code, copy the log with all the code and messages then on the forum open a text box using the &amp;lt;/&amp;gt; icon that appears above the message window and paste the text. The text box is important to maintain text formatting as the message windows on this forum will reformat text.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There really is no reason to provide 2 Mbyte files for examples. Better is to provide data step code that generates data sets because I get language character conversion issues.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Nov 2021 16:59:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/proc-surveyfreq-analysis-problem/m-p/781064#M31715</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2021-11-18T16:59:50Z</dc:date>
    </item>
  </channel>
</rss>

