<?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 Programming in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/SAS-Programming/m-p/589281#M14885</link>
    <description>&lt;P&gt;Ok. There are several ways to do this. But here is one:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/kb/24/622.html" target="_self"&gt;Sample&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;I&gt;24622:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/I&gt;Drop variables from a SAS® data set whose values are all missing&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 17 Sep 2019 07:15:10 GMT</pubDate>
    <dc:creator>PeterClemmensen</dc:creator>
    <dc:date>2019-09-17T07:15:10Z</dc:date>
    <item>
      <title>SAS Programming</title>
      <link>https://communities.sas.com/t5/New-SAS-User/SAS-Programming/m-p/589270#M14880</link>
      <description>&lt;P&gt;i need to find a list of variables with all missing values in a dataset.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anyone please help me out ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Sep 2019 06:39:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/SAS-Programming/m-p/589270#M14880</guid>
      <dc:creator>VinitvictorCorr</dc:creator>
      <dc:date>2019-09-17T06:39:18Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Programming</title>
      <link>https://communities.sas.com/t5/New-SAS-User/SAS-Programming/m-p/589273#M14881</link>
      <description>&lt;P&gt;What do you want to do with those variables? Drop them, put them in a data set or something third?&lt;/P&gt;</description>
      <pubDate>Tue, 17 Sep 2019 06:53:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/SAS-Programming/m-p/589273#M14881</guid>
      <dc:creator>PeterClemmensen</dc:creator>
      <dc:date>2019-09-17T06:53:45Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Programming</title>
      <link>https://communities.sas.com/t5/New-SAS-User/SAS-Programming/m-p/589275#M14882</link>
      <description>lets say drop them.. list of these variables is important to me&lt;BR /&gt;</description>
      <pubDate>Tue, 17 Sep 2019 07:09:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/SAS-Programming/m-p/589275#M14882</guid>
      <dc:creator>VinitvictorCorr</dc:creator>
      <dc:date>2019-09-17T07:09:05Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Programming</title>
      <link>https://communities.sas.com/t5/New-SAS-User/SAS-Programming/m-p/589276#M14883</link>
      <description>&lt;P&gt;Are the variables of interest all numeric, character or a mix of the two?&lt;/P&gt;</description>
      <pubDate>Tue, 17 Sep 2019 07:09:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/SAS-Programming/m-p/589276#M14883</guid>
      <dc:creator>PeterClemmensen</dc:creator>
      <dc:date>2019-09-17T07:09:57Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Programming</title>
      <link>https://communities.sas.com/t5/New-SAS-User/SAS-Programming/m-p/589280#M14884</link>
      <description>mixed..i would also love to know which are character and which are numeric. But i can get a list of that from sashelp.vcolumn.. so the emphasis is on missing variables</description>
      <pubDate>Tue, 17 Sep 2019 07:12:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/SAS-Programming/m-p/589280#M14884</guid>
      <dc:creator>VinitvictorCorr</dc:creator>
      <dc:date>2019-09-17T07:12:48Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Programming</title>
      <link>https://communities.sas.com/t5/New-SAS-User/SAS-Programming/m-p/589281#M14885</link>
      <description>&lt;P&gt;Ok. There are several ways to do this. But here is one:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/kb/24/622.html" target="_self"&gt;Sample&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;I&gt;24622:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/I&gt;Drop variables from a SAS® data set whose values are all missing&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Sep 2019 07:15:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/SAS-Programming/m-p/589281#M14885</guid>
      <dc:creator>PeterClemmensen</dc:creator>
      <dc:date>2019-09-17T07:15:10Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Programming</title>
      <link>https://communities.sas.com/t5/New-SAS-User/SAS-Programming/m-p/589283#M14886</link>
      <description>Thank You:)... but is there any other way past arrays:P</description>
      <pubDate>Tue, 17 Sep 2019 07:16:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/SAS-Programming/m-p/589283#M14886</guid>
      <dc:creator>VinitvictorCorr</dc:creator>
      <dc:date>2019-09-17T07:16:56Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Programming</title>
      <link>https://communities.sas.com/t5/New-SAS-User/SAS-Programming/m-p/589285#M14887</link>
      <description>&lt;P&gt;Sure thing &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 have;
input var1 var2 var3 $ var4 $;
datalines;
1 . A .
. . B .
3 . . .
;

ods output nlevels=nlvs(where=(nnonmisslevels eq 0));
proc freq data=have nlevels;
    ods select nlevels;
run;

proc sql noprint;
    select tablevar into :drop separated by ' '  from nlvs;
quit;

data want;
    set have(drop=&amp;amp;drop);
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 17 Sep 2019 07:39:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/SAS-Programming/m-p/589285#M14887</guid>
      <dc:creator>PeterClemmensen</dc:creator>
      <dc:date>2019-09-17T07:39:26Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Programming</title>
      <link>https://communities.sas.com/t5/New-SAS-User/SAS-Programming/m-p/589293#M14888</link>
      <description>&lt;P&gt;this is perfect...thanks &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;</description>
      <pubDate>Tue, 17 Sep 2019 10:04:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/SAS-Programming/m-p/589293#M14888</guid>
      <dc:creator>VinitvictorCorr</dc:creator>
      <dc:date>2019-09-17T10:04:31Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Programming</title>
      <link>https://communities.sas.com/t5/New-SAS-User/SAS-Programming/m-p/589294#M14889</link>
      <description>&lt;P&gt;Anytime &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Sep 2019 10:06:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/SAS-Programming/m-p/589294#M14889</guid>
      <dc:creator>PeterClemmensen</dc:creator>
      <dc:date>2019-09-17T10:06:46Z</dc:date>
    </item>
  </channel>
</rss>

