<?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: proc tabulate problem unknown name in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/proc-tabulate-problem-unknown-name/m-p/838834#M331674</link>
    <description>All variables being used in a table must first appear in a CLASS or VAR statement.  &lt;BR /&gt;&lt;BR /&gt;At the same time, variables not being used such as CLASS1 and VAR1 should not appear.&lt;BR /&gt;&lt;BR /&gt;You will need to understand the purpose of CLASS and VAR.</description>
    <pubDate>Sat, 15 Oct 2022 20:54:33 GMT</pubDate>
    <dc:creator>Astounding</dc:creator>
    <dc:date>2022-10-15T20:54:33Z</dc:date>
    <item>
      <title>proc tabulate problem unknown name</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-tabulate-problem-unknown-name/m-p/838833#M331673</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I coded some really easy code but I always got the error &amp;nbsp;"The type of the name(c) is unknown". could be the reason that there are some missing values in the column c? thanks for help &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=""&gt;proc tabulate data = in;
class class1;
var var1;
table a, b*c;
quit;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 15 Oct 2022 20:01:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-tabulate-problem-unknown-name/m-p/838833#M331673</guid>
      <dc:creator>newbie69</dc:creator>
      <dc:date>2022-10-15T20:01:55Z</dc:date>
    </item>
    <item>
      <title>Re: proc tabulate problem unknown name</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-tabulate-problem-unknown-name/m-p/838834#M331674</link>
      <description>All variables being used in a table must first appear in a CLASS or VAR statement.  &lt;BR /&gt;&lt;BR /&gt;At the same time, variables not being used such as CLASS1 and VAR1 should not appear.&lt;BR /&gt;&lt;BR /&gt;You will need to understand the purpose of CLASS and VAR.</description>
      <pubDate>Sat, 15 Oct 2022 20:54:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-tabulate-problem-unknown-name/m-p/838834#M331674</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2022-10-15T20:54:33Z</dc:date>
    </item>
    <item>
      <title>Re: proc tabulate problem unknown name</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-tabulate-problem-unknown-name/m-p/838836#M331676</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/418912"&gt;@newbie69&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I coded some really easy code but I always got the error &amp;nbsp;"The type of the name(c) is unknown". could be the reason that there are some missing values in the column c? thanks for help &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;If you have some missing values for VARIABLE C (SAS data sets have variables, not columns) and decide to use it as a CLASS variable then the default behavior by Tabulate is to drop the entire observation from the report. If you use C as a VAR variable, requesting a statistic like Sum or mean, then the missing values are ignored in the summary.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But nothing much is going to happen until you decide if B and C are Class or Var variables though the way you have B it pretty much should be a Class variable.&lt;/P&gt;</description>
      <pubDate>Sat, 15 Oct 2022 21:38:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-tabulate-problem-unknown-name/m-p/838836#M331676</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2022-10-15T21:38:26Z</dc:date>
    </item>
  </channel>
</rss>

