<?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: finding distinct  count in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/finding-distinct-count/m-p/30095#M7091</link>
    <description>Suggestion to Peter.C  -- go easy -- clearly, the OP is looking for various options to achieve a specific result (generate a set / count of distinct variable values), although not necessarily within your personal interest area(s).  Better to contribute when providing some idea, suggestion, or question (for clarification) -- rather than just being critical.&lt;BR /&gt;
&lt;BR /&gt;
The SAS language is quite challenging and powerful, as some know and others have heard, so interest on the forum to increase one's arsenal of SAS solution techniques through self-training, formal education and discussion forums, is quite reasonable.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.</description>
    <pubDate>Mon, 11 May 2009 15:11:20 GMT</pubDate>
    <dc:creator>sbb</dc:creator>
    <dc:date>2009-05-11T15:11:20Z</dc:date>
    <item>
      <title>finding distinct  count</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/finding-distinct-count/m-p/30092#M7088</link>
      <description>Hi&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Finding distinct count with out using proc sql; and data step methods.&lt;BR /&gt;
&lt;BR /&gt;
plz help me to resolve this issue.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Thanks and regards&lt;BR /&gt;
Slone</description>
      <pubDate>Mon, 11 May 2009 07:56:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/finding-distinct-count/m-p/30092#M7088</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2009-05-11T07:56:53Z</dc:date>
    </item>
    <item>
      <title>Re: finding distinct  count</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/finding-distinct-count/m-p/30093#M7089</link>
      <description>Use this logic to identify .....create the new datasets using DUPkey ,NODUP ....option in existing data set ....create out data set which contains elimination of duplicated values....open the dataset DSID ...count no .of observations ..This is the think u need..&lt;BR /&gt;
&lt;BR /&gt;
Any issues reply me..</description>
      <pubDate>Mon, 11 May 2009 11:15:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/finding-distinct-count/m-p/30093#M7089</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2009-05-11T11:15:26Z</dc:date>
    </item>
    <item>
      <title>Re: finding distinct  count</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/finding-distinct-count/m-p/30094#M7090</link>
      <description>Slone&lt;BR /&gt;
 &lt;BR /&gt;
thank you for telling us what not to use!&lt;BR /&gt;
 &lt;BR /&gt;
Perhaps you could tell us what languages / features we are allowed to use&lt;BR /&gt;
 &lt;BR /&gt;
 &lt;BR /&gt;
 &lt;BR /&gt;
 along with some reason to (for nothing) when sql appears the natural choice.&lt;BR /&gt;
 &lt;BR /&gt;
PeterC&lt;BR /&gt;
    who is not a teacher.</description>
      <pubDate>Mon, 11 May 2009 12:08:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/finding-distinct-count/m-p/30094#M7090</guid>
      <dc:creator>Peter_C</dc:creator>
      <dc:date>2009-05-11T12:08:21Z</dc:date>
    </item>
    <item>
      <title>Re: finding distinct  count</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/finding-distinct-count/m-p/30095#M7091</link>
      <description>Suggestion to Peter.C  -- go easy -- clearly, the OP is looking for various options to achieve a specific result (generate a set / count of distinct variable values), although not necessarily within your personal interest area(s).  Better to contribute when providing some idea, suggestion, or question (for clarification) -- rather than just being critical.&lt;BR /&gt;
&lt;BR /&gt;
The SAS language is quite challenging and powerful, as some know and others have heard, so interest on the forum to increase one's arsenal of SAS solution techniques through self-training, formal education and discussion forums, is quite reasonable.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.</description>
      <pubDate>Mon, 11 May 2009 15:11:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/finding-distinct-count/m-p/30095#M7091</guid>
      <dc:creator>sbb</dc:creator>
      <dc:date>2009-05-11T15:11:20Z</dc:date>
    </item>
    <item>
      <title>Re: finding distinct  count</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/finding-distinct-count/m-p/30096#M7092</link>
      <description>SBB&lt;BR /&gt;
 &lt;BR /&gt;
please feel free to rtfm on behalf of others.&lt;BR /&gt;
 &lt;BR /&gt;
I would like to encourage posters to explain the context for such constraints. Otherwise we appear to be answering and thwarting teachers questions designed to promote learning through the posters' personal effort.&lt;BR /&gt;
 &lt;BR /&gt;
I expect you are right and I should be more gentle. &lt;BR /&gt;
How, gently, would you encourage the poster of a teachers's question, to do "the rtfm"?&lt;BR /&gt;
  &lt;BR /&gt;
PeterC</description>
      <pubDate>Mon, 11 May 2009 15:32:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/finding-distinct-count/m-p/30096#M7092</guid>
      <dc:creator>Peter_C</dc:creator>
      <dc:date>2009-05-11T15:32:57Z</dc:date>
    </item>
    <item>
      <title>Re: finding distinct  count</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/finding-distinct-count/m-p/30097#M7093</link>
      <description>We are in total agreement that there is a lacking interest by some posters on this forum to learn by first considering the R-T-F(ine)-M approach -- instead some individuals care more to just get the answer.  Considering the wealth of "hosted" documentation and technical reference information provided by SAS Institute, as well as SAS System Help resources, one would expect at least a cursory attempt to find an answer or suitable response before generating a post.  For some, possibly, and for others, likely not.&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.</description>
      <pubDate>Mon, 11 May 2009 15:45:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/finding-distinct-count/m-p/30097#M7093</guid>
      <dc:creator>sbb</dc:creator>
      <dc:date>2009-05-11T15:45:48Z</dc:date>
    </item>
    <item>
      <title>Re: finding distinct  count</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/finding-distinct-count/m-p/30098#M7094</link>
      <description>Hi peter.c&lt;BR /&gt;
&lt;BR /&gt;
thanks for giving response.&lt;BR /&gt;
&lt;BR /&gt;
i am trying to solve this issue because of the data is 100GB. and 500 variables.&lt;BR /&gt;
if i run proc sql  for distinct count it has taken more time. thats why i am  searching for alternate solution. By using  proc freq ; i got count with less time than proc sql;   &lt;BR /&gt;
&lt;BR /&gt;
Thanks &amp;amp; Regards&lt;BR /&gt;
slone&lt;BR /&gt;
Not a Student</description>
      <pubDate>Wed, 13 May 2009 06:43:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/finding-distinct-count/m-p/30098#M7094</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2009-05-13T06:43:15Z</dc:date>
    </item>
    <item>
      <title>Re: finding distinct  count</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/finding-distinct-count/m-p/30099#M7095</link>
      <description>Slone&lt;BR /&gt;
 &lt;BR /&gt;
thank you for adding the information describing why you asked for a non-sql and non-datastep solution.&lt;BR /&gt;
 &lt;BR /&gt;
It may have been possible to define an sql query so that it ran as efficiently as proc freq. I expect the same is true of a data step approach. However, without the information about data size (number of observations, total size and key definitions) we cannot provide optimisation.&lt;BR /&gt;
 &lt;BR /&gt;
I'm glad you have found a practical solution.&lt;BR /&gt;
 &lt;BR /&gt;
kind regards&lt;BR /&gt;
 &lt;BR /&gt;
PeterC&lt;BR /&gt;
( who is sorry he misinterpreted your first question )</description>
      <pubDate>Wed, 13 May 2009 11:39:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/finding-distinct-count/m-p/30099#M7095</guid>
      <dc:creator>Peter_C</dc:creator>
      <dc:date>2009-05-13T11:39:53Z</dc:date>
    </item>
  </channel>
</rss>

