<?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 Specific filter over tables in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/Specific-filter-over-tables/m-p/596548#M15964</link>
    <description>&lt;P&gt;Hello everyone,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;is it possible to select from a table where variable type is date.&lt;/P&gt;
&lt;P&gt;Exemple: table x contains several columns, some of them are date type&lt;/P&gt;
&lt;P&gt;what i want is to select from x where the type is date.&lt;/P&gt;
&lt;P&gt;knowing that i Don't know the variables names.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;thank you so much&lt;/P&gt;</description>
    <pubDate>Tue, 15 Oct 2019 14:52:56 GMT</pubDate>
    <dc:creator>aloou</dc:creator>
    <dc:date>2019-10-15T14:52:56Z</dc:date>
    <item>
      <title>Specific filter over tables</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Specific-filter-over-tables/m-p/596548#M15964</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;is it possible to select from a table where variable type is date.&lt;/P&gt;
&lt;P&gt;Exemple: table x contains several columns, some of them are date type&lt;/P&gt;
&lt;P&gt;what i want is to select from x where the type is date.&lt;/P&gt;
&lt;P&gt;knowing that i Don't know the variables names.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;thank you so much&lt;/P&gt;</description>
      <pubDate>Tue, 15 Oct 2019 14:52:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Specific-filter-over-tables/m-p/596548#M15964</guid>
      <dc:creator>aloou</dc:creator>
      <dc:date>2019-10-15T14:52:56Z</dc:date>
    </item>
    <item>
      <title>Re: Specific filter over tables</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Specific-filter-over-tables/m-p/596559#M15967</link>
      <description>&lt;P&gt;SAS data sets have two variable types: numeric and character.&lt;/P&gt;
&lt;P&gt;If a variable is numeric and has been assigned a date type format you might be able to find them. Or your variables have been assigned a label with the word Date as part of the label.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you don't have either of those then unlikely and either of those would require searching the data set variable attributes, likely creating a macro variable and then using the macro variable in Keep data set option.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It may be easier to just run proc contents or examine table properties directly in the SAS Explorer to find these.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Unfortunately when "dates" are buried in character values or simple numeric values like 19960422 without a format they are unlikely to be found.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Oct 2019 15:13:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Specific-filter-over-tables/m-p/596559#M15967</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2019-10-15T15:13:50Z</dc:date>
    </item>
    <item>
      <title>Re: Specific filter over tables</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Specific-filter-over-tables/m-p/596560#M15968</link>
      <description>&lt;P&gt;So you want to select all the variables that are &lt;EM&gt;formated&amp;nbsp;&lt;/EM&gt;as dates, correct?&lt;/P&gt;</description>
      <pubDate>Tue, 15 Oct 2019 15:13:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Specific-filter-over-tables/m-p/596560#M15968</guid>
      <dc:creator>PeterClemmensen</dc:creator>
      <dc:date>2019-10-15T15:13:52Z</dc:date>
    </item>
    <item>
      <title>Re: Specific filter over tables</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Specific-filter-over-tables/m-p/596572#M15969</link>
      <description>&lt;P&gt;Use the FMTINFO function to figure out if the format is a date/datetime category, unfortunately it filters both dates and datetimes.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://documentation.sas.com/?docsetId=lefunctionsref&amp;amp;docsetTarget=n08tazkeygnw9on138axalvpy9p4.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en" target="_blank" rel="noopener"&gt;https://documentation.sas.com/?docsetId=lefunctionsref&amp;amp;docsetTarget=n08tazkeygnw9on138axalvpy9p4.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Oct 2019 15:54:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Specific-filter-over-tables/m-p/596572#M15969</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-10-15T15:54:14Z</dc:date>
    </item>
  </channel>
</rss>

