<?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: checking for specific values in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/checking-for-specific-values/m-p/743937#M233006</link>
    <description>&lt;P&gt;Let's break this down further:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;How to get the number of unique values in a single column, in a data set?&lt;/LI&gt;
&lt;LI&gt;How to do #1 for all of the data sets in a library?&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;Sort results from #2 and take records/data of interest?&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;Which steps do you need help with exactly? Please show what ever you've tried so far.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/327170"&gt;@Aexor&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A sas library consists 10 datasets for e.g SASHELP lib, I want to find the variable having maximum number of unique values present in the SASHELP.&lt;/P&gt;
&lt;P&gt;Please suggest.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 26 May 2021 16:06:44 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2021-05-26T16:06:44Z</dc:date>
    <item>
      <title>checking for specific values</title>
      <link>https://communities.sas.com/t5/SAS-Programming/checking-for-specific-values/m-p/743831#M232965</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A sas library consists 10 datasets for e.g SASHELP lib, I want to find the variable having maximum number of unique values present in the SASHELP.&lt;/P&gt;
&lt;P&gt;Please suggest.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 May 2021 12:07:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/checking-for-specific-values/m-p/743831#M232965</guid>
      <dc:creator>Aexor</dc:creator>
      <dc:date>2021-05-26T12:07:25Z</dc:date>
    </item>
    <item>
      <title>Re: checking for specific values</title>
      <link>https://communities.sas.com/t5/SAS-Programming/checking-for-specific-values/m-p/743854#M232976</link>
      <description>&lt;P&gt;What have you tried?&lt;/P&gt;
&lt;P&gt;Do you know how to find the variable you want for a single dataset?&lt;/P&gt;
&lt;P&gt;Can you provide an example dataset and explain what you mean by maximum unique values?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would recommend looking into the NLEVELS option on PROC FREQ.&lt;/P&gt;</description>
      <pubDate>Wed, 26 May 2021 13:01:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/checking-for-specific-values/m-p/743854#M232976</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2021-05-26T13:01:42Z</dc:date>
    </item>
    <item>
      <title>Re: checking for specific values</title>
      <link>https://communities.sas.com/t5/SAS-Programming/checking-for-specific-values/m-p/743855#M232977</link>
      <description>&lt;P&gt;Why?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Do you want this just for numeric vars, character vars, or all vars?&lt;/LI&gt;
&lt;LI&gt;What about ID vars?&amp;nbsp; They are often unique values for each observation in a data set (like NAME in SASHELP.CLASS), so their cardinality is the same as the number of observations.&amp;nbsp; There would be no need to do frequencies to find the number of unique values.&lt;/LI&gt;
&lt;/OL&gt;</description>
      <pubDate>Wed, 26 May 2021 13:03:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/checking-for-specific-values/m-p/743855#M232977</guid>
      <dc:creator>mkeintz</dc:creator>
      <dc:date>2021-05-26T13:03:13Z</dc:date>
    </item>
    <item>
      <title>Re: checking for specific values</title>
      <link>https://communities.sas.com/t5/SAS-Programming/checking-for-specific-values/m-p/743937#M233006</link>
      <description>&lt;P&gt;Let's break this down further:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;How to get the number of unique values in a single column, in a data set?&lt;/LI&gt;
&lt;LI&gt;How to do #1 for all of the data sets in a library?&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;Sort results from #2 and take records/data of interest?&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;Which steps do you need help with exactly? Please show what ever you've tried so far.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/327170"&gt;@Aexor&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A sas library consists 10 datasets for e.g SASHELP lib, I want to find the variable having maximum number of unique values present in the SASHELP.&lt;/P&gt;
&lt;P&gt;Please suggest.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 May 2021 16:06:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/checking-for-specific-values/m-p/743937#M233006</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2021-05-26T16:06:44Z</dc:date>
    </item>
  </channel>
</rss>

