<?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: SAS in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/SAS/m-p/378144#M90845</link>
    <description>&lt;P&gt;Thats because&amp;nbsp;&lt;SPAN&gt;beg_srvce_date is not in the contributing dataset, nor is it actually shown in the tiny little code snippet you have provided. &amp;nbsp;Again, you need to provide all the information for us to be able to help you, we cannot see you machine, nor guess what you are doing.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 21 Jul 2017 13:49:35 GMT</pubDate>
    <dc:creator>RW9</dc:creator>
    <dc:date>2017-07-21T13:49:35Z</dc:date>
    <item>
      <title>SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS/m-p/378117#M90829</link>
      <description>&lt;P&gt;I am trying to write down the&amp;nbsp;beg_srvc_date between '01jan2016'd and '01jun2017'd; but I keep getting error in my run data. Please advice. Service from 01/01/2016 to service date 06/01/2017.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jul 2017 13:00:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS/m-p/378117#M90829</guid>
      <dc:creator>Izzy</dc:creator>
      <dc:date>2017-07-21T13:00:06Z</dc:date>
    </item>
    <item>
      <title>Re: SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS/m-p/378118#M90830</link>
      <description>&lt;P&gt;Please provide some of the code that you are using and preferably some sample data &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jul 2017 13:03:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS/m-p/378118#M90830</guid>
      <dc:creator>PeterClemmensen</dc:creator>
      <dc:date>2017-07-21T13:03:20Z</dc:date>
    </item>
    <item>
      <title>Re: SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS/m-p/378120#M90831</link>
      <description>&lt;P&gt;and beg_srvc_date between "01jan2016"d and "01jun2017"d;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jul 2017 13:16:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS/m-p/378120#M90831</guid>
      <dc:creator>Izzy</dc:creator>
      <dc:date>2017-07-21T13:16:29Z</dc:date>
    </item>
    <item>
      <title>Re: SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS/m-p/378124#M90833</link>
      <description>&lt;P&gt;You can only use between in a where statement. If you are trying to use it in an IF statement try:&lt;/P&gt;
&lt;PRE&gt;and  "01jan2016"d&amp;lt;=beg_srvc_date&amp;lt;="01jun2017"d;&lt;/PRE&gt;
&lt;P&gt;Art, CEO, AnalystFinder.com&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jul 2017 13:19:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS/m-p/378124#M90833</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2017-07-21T13:19:07Z</dc:date>
    </item>
    <item>
      <title>Re: SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS/m-p/378126#M90834</link>
      <description>&lt;P&gt;Post your code, some sample test data (in the form of a datastep), the log of that part etc. &amp;nbsp;It is pointless us trying to guess everything from the non information you have provided. &amp;nbsp;I mean does it run at all, is there errors/warnings, is beg_svc actually a date value or character? &amp;nbsp;Is it in the current query etc. &amp;nbsp;We need information to be able to tell you anything!&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jul 2017 13:22:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS/m-p/378126#M90834</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2017-07-21T13:22:33Z</dc:date>
    </item>
    <item>
      <title>Re: SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS/m-p/378131#M90836</link>
      <description>&lt;P&gt;and beg_srvc_date between "01jan2016"d and "01jun2017"d;&lt;BR /&gt;quit;&lt;/P&gt;&lt;P&gt;This is what I wrote and it is showing error message&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jul 2017 13:37:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS/m-p/378131#M90836</guid>
      <dc:creator>Izzy</dc:creator>
      <dc:date>2017-07-21T13:37:49Z</dc:date>
    </item>
    <item>
      <title>Re: SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS/m-p/378132#M90837</link>
      <description>&lt;P&gt;And what error message is printet in the log?&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jul 2017 13:38:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS/m-p/378132#M90837</guid>
      <dc:creator>PeterClemmensen</dc:creator>
      <dc:date>2017-07-21T13:38:39Z</dc:date>
    </item>
    <item>
      <title>Re: SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS/m-p/378136#M90838</link>
      <description>&lt;P&gt;I have tried to eneter&lt;/P&gt;&lt;PRE&gt;and  "01jan2016"d&amp;lt;=beg_srvc_date&amp;lt;="01jun2017"d;&lt;/PRE&gt;&lt;P&gt;and it's still showing error.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jul 2017 13:41:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS/m-p/378136#M90838</guid>
      <dc:creator>Izzy</dc:creator>
      <dc:date>2017-07-21T13:41:34Z</dc:date>
    </item>
    <item>
      <title>Re: SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS/m-p/378140#M90841</link>
      <description>&lt;P&gt;Error: The following columns were not found in the contributing tables: beg_srvce_date;&lt;/P&gt;&lt;PRE&gt;and  "01jan2016"d&amp;lt;=beg_srvc_date&amp;lt;="01jun2017"d;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jul 2017 13:47:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS/m-p/378140#M90841</guid>
      <dc:creator>Izzy</dc:creator>
      <dc:date>2017-07-21T13:47:29Z</dc:date>
    </item>
    <item>
      <title>Re: SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS/m-p/378144#M90845</link>
      <description>&lt;P&gt;Thats because&amp;nbsp;&lt;SPAN&gt;beg_srvce_date is not in the contributing dataset, nor is it actually shown in the tiny little code snippet you have provided. &amp;nbsp;Again, you need to provide all the information for us to be able to help you, we cannot see you machine, nor guess what you are doing.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jul 2017 13:49:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS/m-p/378144#M90845</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2017-07-21T13:49:35Z</dc:date>
    </item>
    <item>
      <title>Re: SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS/m-p/378146#M90846</link>
      <description>&lt;P&gt;Is it&amp;nbsp;&lt;SPAN&gt;beg_srvce_date or&amp;nbsp;beg_srvc_date?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Art, CEO, AnalystFinder.com&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jul 2017 13:50:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS/m-p/378146#M90846</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2017-07-21T13:50:08Z</dc:date>
    </item>
    <item>
      <title>Re: SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS/m-p/378155#M90847</link>
      <description>&lt;P&gt;Let's use data that we all have access to. Is this what you are looking for? If not, please modify the DATA step:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data Subset;
set sashelp.snacks(rename=(Date=beg_srvc_date));
if '01jan2004'd &amp;lt; beg_srvc_date and beg_srvc_date &amp;lt; '01jun2004'd then do;
   /* do something here */
   foundDate = 1;
end;
else do;
   /* do something else here */
   foundDate = 0;
end;
run;

proc freq data=Subset;
tables foundDate;
run;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 21 Jul 2017 13:56:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS/m-p/378155#M90847</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2017-07-21T13:56:43Z</dc:date>
    </item>
    <item>
      <title>Re: SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS/m-p/378181#M90853</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/155167"&gt;@Izzy&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;and beg_srvc_date between "01jan2016"d and "01jun2017"d;&lt;BR /&gt;quit;&lt;/P&gt;
&lt;P&gt;This is what I wrote and it is showing error message&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;FONT color="#ff0000" size="5"&gt;Post the code with error messages from the log. You are not providing sufficient information to answer your question without that detail.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000" size="2"&gt;Copy from your LOG, Open a code box on the forum using the menu icon {i} to preserve the format of the error message(s) otherwise the forum window may reformat the text moving critical indicators and paste into the code box.&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jul 2017 15:04:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS/m-p/378181#M90853</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2017-07-21T15:04:30Z</dc:date>
    </item>
    <item>
      <title>Re: SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS/m-p/378224#M90862</link>
      <description>&lt;P&gt;Thank you Rick and everyone else for their contribution. I will make the changes and adjustments to the data.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jul 2017 16:12:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS/m-p/378224#M90862</guid>
      <dc:creator>Izzy</dc:creator>
      <dc:date>2017-07-21T16:12:34Z</dc:date>
    </item>
  </channel>
</rss>

