<?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 Using Compound Conditional Logic to Recode Values in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Using-Compound-Conditional-Logic-to-Recode-Values/m-p/12327#M2774</link>
    <description>All -&lt;BR /&gt;
&lt;BR /&gt;
I have run into a situation where I need to recode a value in a data set using compound logic (if location ne land and water_depth gt 1500) then my recoded value is equal to deep water.  The issue that I have is that the Recode Option in the Computer Field Wizard appears to be able to handle conditional logic statements that reference a single variable.  Does anyone have any experience in Enterprise Guide 4.2 recoding values using conditional logic that makes use of multiple conditions that reference multiple variables?  Any help would be great appreciated.&lt;BR /&gt;
&lt;BR /&gt;
jm</description>
    <pubDate>Thu, 29 Apr 2010 14:31:02 GMT</pubDate>
    <dc:creator>JDMTX</dc:creator>
    <dc:date>2010-04-29T14:31:02Z</dc:date>
    <item>
      <title>Using Compound Conditional Logic to Recode Values</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Using-Compound-Conditional-Logic-to-Recode-Values/m-p/12327#M2774</link>
      <description>All -&lt;BR /&gt;
&lt;BR /&gt;
I have run into a situation where I need to recode a value in a data set using compound logic (if location ne land and water_depth gt 1500) then my recoded value is equal to deep water.  The issue that I have is that the Recode Option in the Computer Field Wizard appears to be able to handle conditional logic statements that reference a single variable.  Does anyone have any experience in Enterprise Guide 4.2 recoding values using conditional logic that makes use of multiple conditions that reference multiple variables?  Any help would be great appreciated.&lt;BR /&gt;
&lt;BR /&gt;
jm</description>
      <pubDate>Thu, 29 Apr 2010 14:31:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Using-Compound-Conditional-Logic-to-Recode-Values/m-p/12327#M2774</guid>
      <dc:creator>JDMTX</dc:creator>
      <dc:date>2010-04-29T14:31:02Z</dc:date>
    </item>
    <item>
      <title>Re: Using Compound Conditional Logic to Recode Values</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Using-Compound-Conditional-Logic-to-Recode-Values/m-p/12328#M2775</link>
      <description>just use the advanced expression builder and manually code your CASE clause for PROC SQL.  It's a little more tedious than using the recode wizard, but works fine.</description>
      <pubDate>Thu, 29 Apr 2010 15:04:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Using-Compound-Conditional-Logic-to-Recode-Values/m-p/12328#M2775</guid>
      <dc:creator>Doc_Duke</dc:creator>
      <dc:date>2010-04-29T15:04:03Z</dc:date>
    </item>
    <item>
      <title>Re: Using Compound Conditional Logic to Recode Values</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Using-Compound-Conditional-Logic-to-Recode-Values/m-p/12329#M2776</link>
      <description>Agreed with Doc - write a CASE expressions and build the column as an advanced expression. Documentation on the CASE syntax is here:&lt;BR /&gt;
&lt;A href="http://support.sas.com/documentation/cdl/en/proc/61895/HTML/default/a002473682.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/proc/61895/HTML/default/a002473682.htm&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
FYI, if you already started the column as a recode, in EG 4.2 there's the ability from the computed column window to switch the column over to an advanced expression (a recode is just a CASE expression with a point-and-click front end).</description>
      <pubDate>Fri, 30 Apr 2010 13:09:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Using-Compound-Conditional-Logic-to-Recode-Values/m-p/12329#M2776</guid>
      <dc:creator>RichardH_sas</dc:creator>
      <dc:date>2010-04-30T13:09:39Z</dc:date>
    </item>
  </channel>
</rss>

