<?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: How to remove certain months in daily data in All Things Community</title>
    <link>https://communities.sas.com/t5/All-Things-Community/How-to-remove-certain-months-in-daily-data/m-p/497197#M3481</link>
    <description>&lt;P&gt;Or&lt;/P&gt;
&lt;P&gt;Where month(date) in (1:8);&lt;/P&gt;</description>
    <pubDate>Wed, 19 Sep 2018 23:09:25 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2018-09-19T23:09:25Z</dc:date>
    <item>
      <title>How to remove certain months in daily data</title>
      <link>https://communities.sas.com/t5/All-Things-Community/How-to-remove-certain-months-in-daily-data/m-p/497165#M3479</link>
      <description>&lt;P&gt;I need filter daily data so that only January - August are kept for each year 1999-2018 and the months September - December are removed. How do I accomplish this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below is my attempted code and the error message that follows:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data ytd_weather_jan_aug;
	set demo5.ytd_weather;
	where date like '%Jan%' or date like '%Feb%' or date like '%Mar%' or date like '%Apr%' or date like '%May%' or date like '%Jun%' or date like '%July%' or date like '%Aug%';
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;ERROR: WHERE clause operator requires character variables.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Sep 2018 22:07:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/All-Things-Community/How-to-remove-certain-months-in-daily-data/m-p/497165#M3479</guid>
      <dc:creator>KALLEN</dc:creator>
      <dc:date>2018-09-19T22:07:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove certain months in daily data</title>
      <link>https://communities.sas.com/t5/All-Things-Community/How-to-remove-certain-months-in-daily-data/m-p/497166#M3480</link>
      <description>&lt;PRE class=" language-sas"&gt;&lt;CODE class="  language-sas"&gt;&lt;SPAN class="token procnames"&gt;data&lt;/SPAN&gt; ytd_weather_jan_aug&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt;
	&lt;SPAN class="token keyword"&gt;set&lt;/SPAN&gt; demo5&lt;SPAN class="token punctuation"&gt;.&lt;/SPAN&gt;ytd_weather&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt;
	&lt;SPAN class="token statement"&gt;where&lt;/SPAN&gt; 1&amp;lt;=month(&lt;SPAN class="token function"&gt;date)&amp;lt;=8&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="token procnames"&gt;run&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 19 Sep 2018 22:00:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/All-Things-Community/How-to-remove-certain-months-in-daily-data/m-p/497166#M3480</guid>
      <dc:creator>novinosrin</dc:creator>
      <dc:date>2018-09-19T22:00:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove certain months in daily data</title>
      <link>https://communities.sas.com/t5/All-Things-Community/How-to-remove-certain-months-in-daily-data/m-p/497197#M3481</link>
      <description>&lt;P&gt;Or&lt;/P&gt;
&lt;P&gt;Where month(date) in (1:8);&lt;/P&gt;</description>
      <pubDate>Wed, 19 Sep 2018 23:09:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/All-Things-Community/How-to-remove-certain-months-in-daily-data/m-p/497197#M3481</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2018-09-19T23:09:25Z</dc:date>
    </item>
  </channel>
</rss>

