<?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: Error - Variable Not Found in SAS Studio</title>
    <link>https://communities.sas.com/t5/SAS-Studio/Error-Variable-Not-Found/m-p/413879#M4029</link>
    <description>&lt;P&gt;Run a PROC CONTENTS on your dta data set to see the variable names and labels side by side.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc contents data=dta; run;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/177894"&gt;@kamonpan&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;Hello&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;SPAN&gt;I'm trying to run this code but I'm getting the&amp;nbsp;ERROR: variable .......... not found. Please help&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;Frequency in SAS Studio.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;CODE&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;proc freq data=dta ;&lt;BR /&gt;table transfusion trans_2gr ;&lt;BR /&gt;run;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;LOG&lt;/SPAN&gt;&lt;/P&gt;
&lt;DIV class="sasSource"&gt;67 proc freq data=dta ;&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;68 table transfusion trans_2gr ;&lt;/DIV&gt;
&lt;DIV class="sasError"&gt;ERROR: Variable TRANSFUSION not found.&lt;/DIV&gt;
&lt;DIV class="sasError"&gt;ERROR: Variable TRANS_2GR not found.&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;69 run;&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 16 Nov 2017 03:59:11 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2017-11-16T03:59:11Z</dc:date>
    <item>
      <title>Error - Variable Not Found</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Error-Variable-Not-Found/m-p/413863#M4026</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;SPAN&gt;I'm trying to run this code but I'm getting the&amp;nbsp;ERROR: variable .......... not found. Please help&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;Frequency in SAS Studio.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;CODE&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;proc freq data=dta ;&lt;BR /&gt;table transfusion trans_2gr ;&lt;BR /&gt;run;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;LOG&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV class="sasSource"&gt;67 proc freq data=dta ;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;68 table transfusion trans_2gr ;&lt;/DIV&gt;&lt;DIV class="sasError"&gt;ERROR: Variable TRANSFUSION not found.&lt;/DIV&gt;&lt;DIV class="sasError"&gt;ERROR: Variable TRANS_2GR not found.&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;69 run;&lt;/DIV&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;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Nov 2017 02:06:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Error-Variable-Not-Found/m-p/413863#M4026</guid>
      <dc:creator>kamonpan</dc:creator>
      <dc:date>2017-11-16T02:06:03Z</dc:date>
    </item>
    <item>
      <title>Re: Error - Variable Not Found</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Error-Variable-Not-Found/m-p/413867#M4027</link>
      <description>&lt;P&gt;The message seems very clear. Those two variables do not exist in your dataset.&lt;/P&gt;
&lt;P&gt;Did you check the variable list?&lt;/P&gt;
&lt;P&gt;Are you trying to use the variable LABEL instead of the variable NAME in your code?&lt;/P&gt;
&lt;P&gt;Is it possible you have somehow accidentally created a variable name with a space in the middle of it?&amp;nbsp; If so then to reference it you need to use a name literal.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;table 'transfusion trans_2gr'n ;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Nov 2017 02:56:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Error-Variable-Not-Found/m-p/413867#M4027</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2017-11-16T02:56:11Z</dc:date>
    </item>
    <item>
      <title>Re: Error - Variable Not Found</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Error-Variable-Not-Found/m-p/413879#M4029</link>
      <description>&lt;P&gt;Run a PROC CONTENTS on your dta data set to see the variable names and labels side by side.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc contents data=dta; run;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/177894"&gt;@kamonpan&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;Hello&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;SPAN&gt;I'm trying to run this code but I'm getting the&amp;nbsp;ERROR: variable .......... not found. Please help&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;Frequency in SAS Studio.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;CODE&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;proc freq data=dta ;&lt;BR /&gt;table transfusion trans_2gr ;&lt;BR /&gt;run;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;LOG&lt;/SPAN&gt;&lt;/P&gt;
&lt;DIV class="sasSource"&gt;67 proc freq data=dta ;&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;68 table transfusion trans_2gr ;&lt;/DIV&gt;
&lt;DIV class="sasError"&gt;ERROR: Variable TRANSFUSION not found.&lt;/DIV&gt;
&lt;DIV class="sasError"&gt;ERROR: Variable TRANS_2GR not found.&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;69 run;&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Nov 2017 03:59:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Error-Variable-Not-Found/m-p/413879#M4029</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-11-16T03:59:11Z</dc:date>
    </item>
  </channel>
</rss>

