<?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: Variable not found on file in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Variable-not-found-on-file/m-p/593225#M170217</link>
    <description>&lt;P&gt;Please try&lt;CODE class=" language-sas"&gt; "&amp;amp;month"&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data sh.week_sch1;
set sh.B_fruit;
where Month = "&amp;amp;month";
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Tue, 01 Oct 2019 23:22:06 GMT</pubDate>
    <dc:creator>novinosrin</dc:creator>
    <dc:date>2019-10-01T23:22:06Z</dc:date>
    <item>
      <title>Variable not found on file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Variable-not-found-on-file/m-p/593224#M170216</link>
      <description>&lt;P&gt;i have table with data column Month with 12 month names&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;%put &amp;amp;month.;&amp;nbsp; /* displays September&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/Trying to get row that month = September&lt;/P&gt;&lt;P&gt;data sh.week_sch1;&lt;BR /&gt;set sh.B_fruit;&lt;BR /&gt;where Month = &amp;amp;month.;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Error&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ERROR: Variable September is not on file SH.B_Fruit&lt;/P&gt;</description>
      <pubDate>Tue, 01 Oct 2019 23:11:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Variable-not-found-on-file/m-p/593224#M170216</guid>
      <dc:creator>radha009</dc:creator>
      <dc:date>2019-10-01T23:11:06Z</dc:date>
    </item>
    <item>
      <title>Re: Variable not found on file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Variable-not-found-on-file/m-p/593225#M170217</link>
      <description>&lt;P&gt;Please try&lt;CODE class=" language-sas"&gt; "&amp;amp;month"&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data sh.week_sch1;
set sh.B_fruit;
where Month = "&amp;amp;month";
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 01 Oct 2019 23:22:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Variable-not-found-on-file/m-p/593225#M170217</guid>
      <dc:creator>novinosrin</dc:creator>
      <dc:date>2019-10-01T23:22:06Z</dc:date>
    </item>
    <item>
      <title>Re: Variable not found on file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Variable-not-found-on-file/m-p/593253#M170232</link>
      <description>&lt;P&gt;Without the quotes, the word September looks to the data step compiler like a variable name:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data sh.week_sch1;
set sh.B_fruit;
where Month = September;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 02 Oct 2019 05:25:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Variable-not-found-on-file/m-p/593253#M170232</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2019-10-02T05:25:37Z</dc:date>
    </item>
    <item>
      <title>Re: Variable not found on file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Variable-not-found-on-file/m-p/593254#M170233</link>
      <description>&lt;P&gt;You still have to enclose the macro variable &lt;U&gt;&lt;STRONG&gt;month&lt;/STRONG&gt;&lt;/U&gt; in quotes so that it is processed as a literal string in the where condition.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Oct 2019 05:37:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Variable-not-found-on-file/m-p/593254#M170233</guid>
      <dc:creator>sustagens</dc:creator>
      <dc:date>2019-10-02T05:37:30Z</dc:date>
    </item>
  </channel>
</rss>

