<?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 Desired Names in Dataset in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/Desired-Names-in-Dataset/m-p/556674#M9871</link>
    <description>&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;Good Morning,&lt;/P&gt;&lt;P&gt;I tried below code&amp;nbsp;&lt;/P&gt;&lt;P&gt;data ses;&lt;BR /&gt;set sashelp.class;&lt;BR /&gt;if _n_=(Alfred and Thomos) then output ;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want names only Alfred and Thomos in sashelp.class&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;can anyone give solution&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;ANAND&lt;/P&gt;</description>
    <pubDate>Tue, 07 May 2019 06:38:53 GMT</pubDate>
    <dc:creator>BrahmanandaRao</dc:creator>
    <dc:date>2019-05-07T06:38:53Z</dc:date>
    <item>
      <title>Desired Names in Dataset</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Desired-Names-in-Dataset/m-p/556674#M9871</link>
      <description>&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;Good Morning,&lt;/P&gt;&lt;P&gt;I tried below code&amp;nbsp;&lt;/P&gt;&lt;P&gt;data ses;&lt;BR /&gt;set sashelp.class;&lt;BR /&gt;if _n_=(Alfred and Thomos) then output ;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want names only Alfred and Thomos in sashelp.class&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;can anyone give solution&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;ANAND&lt;/P&gt;</description>
      <pubDate>Tue, 07 May 2019 06:38:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Desired-Names-in-Dataset/m-p/556674#M9871</guid>
      <dc:creator>BrahmanandaRao</dc:creator>
      <dc:date>2019-05-07T06:38:53Z</dc:date>
    </item>
    <item>
      <title>Re: Desired Names in Dataset</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Desired-Names-in-Dataset/m-p/556677#M9873</link>
      <description>&lt;P&gt;You almost had it &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data ses;
   set sashelp.class;
   if name in ("Alfred", "Thomas") then output ;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 07 May 2019 06:43:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Desired-Names-in-Dataset/m-p/556677#M9873</guid>
      <dc:creator>PeterClemmensen</dc:creator>
      <dc:date>2019-05-07T06:43:19Z</dc:date>
    </item>
  </channel>
</rss>

