<?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: How to search variables in SAS? in SAS Health and Life Sciences</title>
    <link>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/How-to-search-variables-in-SAS/m-p/52971#M1425</link>
    <description>Explore using DICTIONARY.COLUMNS with PROC SQL to analyze any SAS data library and/or member that has been declared with the LIBNAME statement.&lt;BR /&gt;
&lt;BR /&gt;
If using PROC SQL or DATA/PROC step, you can select/filter using the IN operator in your WHERE statement/clause.  Or you can string out the data-values as constants using IF &lt;EXPRESSION1&gt; OR &lt;EXPRESSION2&gt; OR &lt;EXPRESSION3&gt; THEN DO;&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.&lt;BR /&gt;
&lt;BR /&gt;
Recommended Google advanced search arguments, this topic/post:&lt;BR /&gt;
&lt;BR /&gt;
dictionary columns site:sas.com&lt;BR /&gt;
&lt;BR /&gt;
where in operator site:sas.com&lt;/EXPRESSION3&gt;&lt;/EXPRESSION2&gt;&lt;/EXPRESSION1&gt;</description>
    <pubDate>Thu, 04 Feb 2010 21:25:59 GMT</pubDate>
    <dc:creator>sbb</dc:creator>
    <dc:date>2010-02-04T21:25:59Z</dc:date>
    <item>
      <title>How to search variables in SAS?</title>
      <link>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/How-to-search-variables-in-SAS/m-p/52970#M1424</link>
      <description>The data set I use is very large. There are hundreds of variables and I want to search whether some variable like "FIN" is included in the data set. &lt;BR /&gt;
How can I do?&lt;BR /&gt;
&lt;BR /&gt;
Another question is that: There are 40,000 observations and I want to choose some observations with "FIN=10181" and "FIN=10182" and "FIN=10183" and so on. How can I do that?&lt;BR /&gt;
&lt;BR /&gt;
Thanks so much for your help.</description>
      <pubDate>Thu, 04 Feb 2010 20:45:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/How-to-search-variables-in-SAS/m-p/52970#M1424</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2010-02-04T20:45:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to search variables in SAS?</title>
      <link>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/How-to-search-variables-in-SAS/m-p/52971#M1425</link>
      <description>Explore using DICTIONARY.COLUMNS with PROC SQL to analyze any SAS data library and/or member that has been declared with the LIBNAME statement.&lt;BR /&gt;
&lt;BR /&gt;
If using PROC SQL or DATA/PROC step, you can select/filter using the IN operator in your WHERE statement/clause.  Or you can string out the data-values as constants using IF &lt;EXPRESSION1&gt; OR &lt;EXPRESSION2&gt; OR &lt;EXPRESSION3&gt; THEN DO;&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.&lt;BR /&gt;
&lt;BR /&gt;
Recommended Google advanced search arguments, this topic/post:&lt;BR /&gt;
&lt;BR /&gt;
dictionary columns site:sas.com&lt;BR /&gt;
&lt;BR /&gt;
where in operator site:sas.com&lt;/EXPRESSION3&gt;&lt;/EXPRESSION2&gt;&lt;/EXPRESSION1&gt;</description>
      <pubDate>Thu, 04 Feb 2010 21:25:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/How-to-search-variables-in-SAS/m-p/52971#M1425</guid>
      <dc:creator>sbb</dc:creator>
      <dc:date>2010-02-04T21:25:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to search variables in SAS?</title>
      <link>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/How-to-search-variables-in-SAS/m-p/52972#M1426</link>
      <description>other approaches in addition to using dictionary:&lt;BR /&gt;
&lt;BR /&gt;
1. right-click on the dataset and choose 'view columns'&lt;BR /&gt;
2. use proc contents</description>
      <pubDate>Fri, 05 Feb 2010 17:04:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/How-to-search-variables-in-SAS/m-p/52972#M1426</guid>
      <dc:creator>abdullala</dc:creator>
      <dc:date>2010-02-05T17:04:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to search variables in SAS?</title>
      <link>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/How-to-search-variables-in-SAS/m-p/52973#M1427</link>
      <description>Agreed - also, PROCs like MEANS and FREQ can be quite useful for SAS database/variable/column "discovery".&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.</description>
      <pubDate>Fri, 05 Feb 2010 19:39:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/How-to-search-variables-in-SAS/m-p/52973#M1427</guid>
      <dc:creator>sbb</dc:creator>
      <dc:date>2010-02-05T19:39:01Z</dc:date>
    </item>
  </channel>
</rss>

