<?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 Search the column in a quick way? in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Search-the-column-in-a-quick-way/m-p/520135#M73390</link>
    <description>&lt;P&gt;Hello:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am curious if there is a way to find a column like the operation Ctrl + F in Excel.&amp;nbsp; Just curious, cause I have over 500 columns.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;</description>
    <pubDate>Mon, 10 Dec 2018 20:26:06 GMT</pubDate>
    <dc:creator>ybz12003</dc:creator>
    <dc:date>2018-12-10T20:26:06Z</dc:date>
    <item>
      <title>Search the column in a quick way?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Search-the-column-in-a-quick-way/m-p/520135#M73390</link>
      <description>&lt;P&gt;Hello:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am curious if there is a way to find a column like the operation Ctrl + F in Excel.&amp;nbsp; Just curious, cause I have over 500 columns.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 10 Dec 2018 20:26:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Search-the-column-in-a-quick-way/m-p/520135#M73390</guid>
      <dc:creator>ybz12003</dc:creator>
      <dc:date>2018-12-10T20:26:06Z</dc:date>
    </item>
    <item>
      <title>Re: Search the column in a quick way?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Search-the-column-in-a-quick-way/m-p/520139#M73391</link>
      <description>&lt;P&gt;This could use some clarification.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;SPAN&gt;I am curious if there is a way to find a column&lt;/SPAN&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Are you asking to find a specific column with a specific name, or are you asking to search for specific values in a given column?&lt;/P&gt;</description>
      <pubDate>Mon, 10 Dec 2018 21:00:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Search-the-column-in-a-quick-way/m-p/520139#M73391</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2018-12-10T21:00:24Z</dc:date>
    </item>
    <item>
      <title>Re: Search the column in a quick way?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Search-the-column-in-a-quick-way/m-p/520144#M73392</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/67134"&gt;@ybz12003&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hello:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am curious if there is a way to find a column like the operation Ctrl + F in Excel.&amp;nbsp; Just curious, cause I have over 500 columns.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Yes.&lt;/P&gt;</description>
      <pubDate>Mon, 10 Dec 2018 20:48:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Search-the-column-in-a-quick-way/m-p/520144#M73392</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-12-10T20:48:54Z</dc:date>
    </item>
    <item>
      <title>Re: Search the column in a quick way?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Search-the-column-in-a-quick-way/m-p/522938#M73456</link>
      <description>&lt;P&gt;First, I would like to&amp;nbsp;find a specific column with a specific name.&amp;nbsp;&amp;nbsp; Then I would like to search&amp;nbsp;specific value or text&amp;nbsp;in a given column.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there a way to do that?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Dec 2018 19:16:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Search-the-column-in-a-quick-way/m-p/522938#M73456</guid>
      <dc:creator>ybz12003</dc:creator>
      <dc:date>2018-12-20T19:16:06Z</dc:date>
    </item>
    <item>
      <title>Re: Search the column in a quick way?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Search-the-column-in-a-quick-way/m-p/522941#M73457</link>
      <description>&lt;P&gt;What software are you using? In Enterprise Guide you if you are viewing a dataset you can use Ctrl+F .&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But if you have lots of data (which it sounds like you do)&amp;nbsp;you are better to write SAS code . You could do something like this:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%macro find_data (column= , value= ) ;

	data want; 
		set sashelp.class;
		where &amp;amp;column=&amp;amp;value;
	run;
%mend;


%find_data (column=Name , value='Carol') ;
%find_data (column=Age , value=14) ;&lt;/CODE&gt;&lt;/PRE&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;&lt;P&gt;&amp;nbsp;&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;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Dec 2018 19:33:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Search-the-column-in-a-quick-way/m-p/522941#M73457</guid>
      <dc:creator>34reqrwe</dc:creator>
      <dc:date>2018-12-20T19:33:50Z</dc:date>
    </item>
  </channel>
</rss>

