<?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: Coding in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Coding/m-p/365524#M86822</link>
    <description>How do we factor in the SSN and the date for each person&lt;BR /&gt;</description>
    <pubDate>Thu, 08 Jun 2017 21:01:59 GMT</pubDate>
    <dc:creator>Lordy</dc:creator>
    <dc:date>2017-06-08T21:01:59Z</dc:date>
    <item>
      <title>Coding</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Coding/m-p/365522#M86820</link>
      <description>&lt;P&gt;I have a dataset with Excercise (options - C1, C2), Dates, SSN, drinks (options - coke, sprite).&lt;/P&gt;&lt;P&gt;I want to flag a client who on the same day he excercises also buys either coke, sprite or both drinks.&lt;/P&gt;&lt;P&gt;Any help with sas codes please&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jun 2017 20:55:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Coding/m-p/365522#M86820</guid>
      <dc:creator>Lordy</dc:creator>
      <dc:date>2017-06-08T20:55:33Z</dc:date>
    </item>
    <item>
      <title>Re: Coding</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Coding/m-p/365523#M86821</link>
      <description>&lt;P&gt;One generic answer is in a data step something like&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;if exercisevariable = value and drinksvariable in (cokevalue, spritevalue) then flag= 1;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;with out knowing 1) actual variable names, 2) actual variable values it is hard to get more specific.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jun 2017 20:58:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Coding/m-p/365523#M86821</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2017-06-08T20:58:51Z</dc:date>
    </item>
    <item>
      <title>Re: Coding</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Coding/m-p/365524#M86822</link>
      <description>How do we factor in the SSN and the date for each person&lt;BR /&gt;</description>
      <pubDate>Thu, 08 Jun 2017 21:01:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Coding/m-p/365524#M86822</guid>
      <dc:creator>Lordy</dc:creator>
      <dc:date>2017-06-08T21:01:59Z</dc:date>
    </item>
    <item>
      <title>Re: Coding</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Coding/m-p/365530#M86825</link>
      <description>&lt;P&gt;Time to provide some example start data and what you want for a result. PLEASE do not provide any actual SSN values.&lt;/P&gt;
&lt;P&gt;And it is best to provide example data in the form of a data step that replicates all of the properties of your data. Instructions here: &lt;A href="https://communities.sas.com/t5/SAS-Communities-Library/How-to-create-a-data-step-version-of-your-data-AKA-generate/ta-p/258712" target="_blank"&gt;https://communities.sas.com/t5/SAS-Communities-Library/How-to-create-a-data-step-version-of-your-data-AKA-generate/ta-p/258712&lt;/A&gt; will show how to turn an existing SAS data set into data step code that can be pasted into a forum code box using the {i} icon or attached as text to show exactly what you have and that we can test code against.&lt;/P&gt;
&lt;P&gt;Without such details we have to make assumptions about your data and could arrive at solutions that do not work because it relies on the value being one type and your actual data is a different type.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You would need to provide examples of how you think you want to use the dates, probably needing to ensure that your DATES are SAS date valued variables.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jun 2017 21:31:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Coding/m-p/365530#M86825</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2017-06-08T21:31:03Z</dc:date>
    </item>
    <item>
      <title>Re: Coding</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Coding/m-p/365751#M86910</link>
      <description>Sure thx</description>
      <pubDate>Fri, 09 Jun 2017 15:53:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Coding/m-p/365751#M86910</guid>
      <dc:creator>Lordy</dc:creator>
      <dc:date>2017-06-09T15:53:35Z</dc:date>
    </item>
  </channel>
</rss>

