<?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: Search words within folders in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Search-words-within-folders/m-p/906638#M357992</link>
    <description>&lt;P&gt;You don't have to. That link I posted describes how you can catalog multiple PDFs to search all of them at the same time.&lt;/P&gt;</description>
    <pubDate>Wed, 06 Dec 2023 23:59:14 GMT</pubDate>
    <dc:creator>SASKiwi</dc:creator>
    <dc:date>2023-12-06T23:59:14Z</dc:date>
    <item>
      <title>Search words within folders</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Search-words-within-folders/m-p/906621#M357982</link>
      <description>I have a windows folder that has many sub folders and within those sub folders many pdf files. I would like to search a key word within all those pdf files contents. Can I use sas ? Except Windows built-in search.</description>
      <pubDate>Wed, 06 Dec 2023 21:54:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Search-words-within-folders/m-p/906621#M357982</guid>
      <dc:creator>Emma2021</dc:creator>
      <dc:date>2023-12-06T21:54:24Z</dc:date>
    </item>
    <item>
      <title>Re: Search words within folders</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Search-words-within-folders/m-p/906622#M357983</link>
      <description>&lt;P&gt;To use the SAS text search tools in basic SAS you would first need to convert every file to a SAS data set prior to searching and PDF is not a "nice" data format, likely meaning not practical.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am not sure whether the SAS Text Miner, if you have access to that, might have more luck.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A secondary issue with PDF files is that the characters are not exactly stored as the letters you expect to make up the key word you may want to search for.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Dec 2023 22:29:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Search-words-within-folders/m-p/906622#M357983</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2023-12-06T22:29:41Z</dc:date>
    </item>
    <item>
      <title>Re: Search words within folders</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Search-words-within-folders/m-p/906624#M357984</link>
      <description>&lt;P&gt;If you have Adobe Acrobat, it provides this capability:&amp;nbsp;&lt;A href="https://helpx.adobe.com/nz/acrobat/using/searching-pdfs.html" target="_blank"&gt;https://helpx.adobe.com/nz/acrobat/using/searching-pdfs.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;A Google search will find other tools and techniques.&lt;/P&gt;
&lt;P&gt;SAS really isn't a good option for searching documents for key words unless you are doing analytics.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Dec 2023 22:42:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Search-words-within-folders/m-p/906624#M357984</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2023-12-06T22:42:51Z</dc:date>
    </item>
    <item>
      <title>Re: Search words within folders</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Search-words-within-folders/m-p/906627#M357985</link>
      <description>I don’t want to open each pdf to search the word. I thought SAS has a tool</description>
      <pubDate>Wed, 06 Dec 2023 23:05:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Search-words-within-folders/m-p/906627#M357985</guid>
      <dc:creator>Emma2021</dc:creator>
      <dc:date>2023-12-06T23:05:09Z</dc:date>
    </item>
    <item>
      <title>Re: Search words within folders</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Search-words-within-folders/m-p/906630#M357986</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/381519"&gt;@Emma2021&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;You may want to invest in a Search Indexing Tool for your Windows Documents. These tools are purpose built, and they probably do their job much better than custom SAS hand coding.&lt;/P&gt;
&lt;P&gt;Here is a example of such tool:&amp;nbsp;&lt;A href="https://docfetcher.sourceforge.io/en/index.html" target="_blank"&gt;https://docfetcher.sourceforge.io/en/index.html&lt;/A&gt;&amp;nbsp;(Disclaimer: I've never used this before, but long time ago, I've used a similar indexing tool for searching through my saved docs)&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://en.wikipedia.org/wiki/Desktop_search" target="_blank"&gt;https://en.wikipedia.org/wiki/Desktop_search&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://sourceforge.net/software/desktop-search/" target="_blank"&gt;https://sourceforge.net/software/desktop-search/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps,&lt;/P&gt;
&lt;P&gt;Ahmed&lt;/P&gt;</description>
      <pubDate>Wed, 06 Dec 2023 23:20:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Search-words-within-folders/m-p/906630#M357986</guid>
      <dc:creator>AhmedAl_Attar</dc:creator>
      <dc:date>2023-12-06T23:20:54Z</dc:date>
    </item>
    <item>
      <title>Re: Search words within folders</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Search-words-within-folders/m-p/906637#M357991</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/381519"&gt;@Emma2021&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;I don’t want to open each pdf to search the word. I thought SAS has a tool&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;To search for words in a .pdf you need to open it and scan the text whether you code that now explicitly yourself or some "tool" does it for you in the background.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SAS Text Miner/Text Analytics allows for .pdf sources. If you've got that licensed then look into it.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If not then using SAS you would need to create a directory listing for all .pdf (path and name), call a 3rd party tool like tika to convert the .pdf to text and then use SAS to search through the text for specific terms.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Dec 2023 23:40:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Search-words-within-folders/m-p/906637#M357991</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2023-12-06T23:40:15Z</dc:date>
    </item>
    <item>
      <title>Re: Search words within folders</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Search-words-within-folders/m-p/906638#M357992</link>
      <description>&lt;P&gt;You don't have to. That link I posted describes how you can catalog multiple PDFs to search all of them at the same time.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Dec 2023 23:59:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Search-words-within-folders/m-p/906638#M357992</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2023-12-06T23:59:14Z</dc:date>
    </item>
    <item>
      <title>Re: Search words within folders</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Search-words-within-folders/m-p/906676#M358000</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/381519"&gt;@Emma2021&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13976"&gt;@SASKiwi&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;If you have Adobe Acrobat, it provides this capability:&amp;nbsp;&lt;A href="https://helpx.adobe.com/nz/acrobat/using/searching-pdfs.html" target="_blank" rel="noopener"&gt;https://helpx.adobe.com/nz/acrobat/using/searching-pdfs.html&lt;/A&gt;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Note that this capability is also available in the free Acrobat &lt;EM&gt;Reader&lt;/EM&gt;, i.e., you don't need the paid Acrobat &lt;EM&gt;Pro&lt;/EM&gt; software. Just open the "Advanced Search" dialog with Ctrl-Shift-F and you'll see the option to select a folder. The search will automatically include all subfolders of the selected folder.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Dec 2023 09:06:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Search-words-within-folders/m-p/906676#M358000</guid>
      <dc:creator>FreelanceReinh</dc:creator>
      <dc:date>2023-12-07T09:06:04Z</dc:date>
    </item>
  </channel>
</rss>

