<?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: What is SAS EG equivalent method to create a Case statement? in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/What-is-SAS-EG-equivalent-method-to-create-a-Case-statement/m-p/873448#M42836</link>
    <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13879"&gt;@Reeza&lt;/a&gt;&amp;nbsp;for sharing the document.&lt;/P&gt;</description>
    <pubDate>Tue, 02 May 2023 18:05:23 GMT</pubDate>
    <dc:creator>ralizadeh</dc:creator>
    <dc:date>2023-05-02T18:05:23Z</dc:date>
    <item>
      <title>What is SAS EG equivalent method to create a Case statement?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/What-is-SAS-EG-equivalent-method-to-create-a-Case-statement/m-p/873416#M42828</link>
      <description>&lt;P&gt;I am not asking how to right a code. I am asking how to use Tasks in SAS EG to create such a statement.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have an 'age' column and would like to group them into '&amp;lt;18', 'between 18 and 65', and '65+'.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance.&lt;/P&gt;</description>
      <pubDate>Tue, 02 May 2023 15:54:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/What-is-SAS-EG-equivalent-method-to-create-a-Case-statement/m-p/873416#M42828</guid>
      <dc:creator>ralizadeh</dc:creator>
      <dc:date>2023-05-02T15:54:43Z</dc:date>
    </item>
    <item>
      <title>Re: What is SAS EG equivalent method to create a Case statement?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/What-is-SAS-EG-equivalent-method-to-create-a-Case-statement/m-p/873426#M42829</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/440479"&gt;@ralizadeh&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You may want to look at this SAS Blog Entry :&amp;nbsp;&lt;A title="Creating a SAS format from a data set" href="https://blogs.sas.com/content/sasdummy/2009/04/27/creating-a-sas-format-from-a-data-set/" target="_blank" rel="noopener"&gt;Creating a SAS format from a data set&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Additional Info can be found here:&amp;nbsp;&lt;A href="https://support.sas.com/documentation/onlinedoc/guide/customtasks/" target="_blank"&gt;SAS Enterprise Guide - Custom Tasks&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;One way of Binning values is using Formats.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 May 2023 16:39:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/What-is-SAS-EG-equivalent-method-to-create-a-Case-statement/m-p/873426#M42829</guid>
      <dc:creator>AhmedAl_Attar</dc:creator>
      <dc:date>2023-05-02T16:39:52Z</dc:date>
    </item>
    <item>
      <title>Re: What is SAS EG equivalent method to create a Case statement?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/What-is-SAS-EG-equivalent-method-to-create-a-Case-statement/m-p/873428#M42830</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/440479"&gt;@ralizadeh&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I just checked my EG 7.15 &amp;amp; 8.1 -- Under the Data Tasks, you should be able to find&lt;/P&gt;
&lt;P&gt;- Create Format...&lt;/P&gt;
&lt;P&gt;- Create Format from Data Set...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 May 2023 16:44:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/What-is-SAS-EG-equivalent-method-to-create-a-Case-statement/m-p/873428#M42830</guid>
      <dc:creator>AhmedAl_Attar</dc:creator>
      <dc:date>2023-05-02T16:44:01Z</dc:date>
    </item>
    <item>
      <title>Re: What is SAS EG equivalent method to create a Case statement?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/What-is-SAS-EG-equivalent-method-to-create-a-Case-statement/m-p/873430#M42831</link>
      <description>&lt;P&gt;You can use the Query Builder tool and "Recode" a column. In Query Builder, &lt;A href="https://go.documentation.sas.com/doc/en/egcdc/8.3/egdoccdc/egug/n09ez1ita6se5nn1hab0q6ods1ts.htm#n0whom9vo8if77n17i7nhnnxz83c" target="_self"&gt;select Computed Columns&lt;/A&gt;, then New-&amp;gt;Recode Column.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Through point and click selections, this will build a CASE statement.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ChrisHemedinger_0-1683046046923.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/83494iF596BA8BFA742235/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ChrisHemedinger_0-1683046046923.png" alt="ChrisHemedinger_0-1683046046923.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 May 2023 16:48:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/What-is-SAS-EG-equivalent-method-to-create-a-Case-statement/m-p/873430#M42831</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2023-05-02T16:48:13Z</dc:date>
    </item>
    <item>
      <title>Re: What is SAS EG equivalent method to create a Case statement?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/What-is-SAS-EG-equivalent-method-to-create-a-Case-statement/m-p/873431#M42832</link>
      <description>Via a Query - Computed Columns&amp;gt;New&amp;gt;Recode a Variable&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://support.sas.com/publishing/pubcat/chaps/61625.pdf" target="_blank"&gt;https://support.sas.com/publishing/pubcat/chaps/61625.pdf&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 02 May 2023 16:50:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/What-is-SAS-EG-equivalent-method-to-create-a-Case-statement/m-p/873431#M42832</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2023-05-02T16:50:16Z</dc:date>
    </item>
    <item>
      <title>Re: What is SAS EG equivalent method to create a Case statement?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/What-is-SAS-EG-equivalent-method-to-create-a-Case-statement/m-p/873447#M42835</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/4"&gt;@ChrisHemedinger&lt;/a&gt;. You SAS guys here are awesome!&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":grinning_face:"&gt;😀&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 02 May 2023 18:03:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/What-is-SAS-EG-equivalent-method-to-create-a-Case-statement/m-p/873447#M42835</guid>
      <dc:creator>ralizadeh</dc:creator>
      <dc:date>2023-05-02T18:03:46Z</dc:date>
    </item>
    <item>
      <title>Re: What is SAS EG equivalent method to create a Case statement?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/What-is-SAS-EG-equivalent-method-to-create-a-Case-statement/m-p/873448#M42836</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13879"&gt;@Reeza&lt;/a&gt;&amp;nbsp;for sharing the document.&lt;/P&gt;</description>
      <pubDate>Tue, 02 May 2023 18:05:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/What-is-SAS-EG-equivalent-method-to-create-a-Case-statement/m-p/873448#M42836</guid>
      <dc:creator>ralizadeh</dc:creator>
      <dc:date>2023-05-02T18:05:23Z</dc:date>
    </item>
  </channel>
</rss>

