<?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 Finding datasets name in log directory in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Finding-datasets-name-in-log-directory/m-p/556051#M154833</link>
    <description>&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Just wanted to check is there is fastest way to list down all the sas datasets name from number of logs stored in log directory.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My task is to find datasets name from thousand of sas logs.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any one has sas prog to do the same teask?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Japs&lt;/P&gt;</description>
    <pubDate>Fri, 03 May 2019 19:02:50 GMT</pubDate>
    <dc:creator>japsas100</dc:creator>
    <dc:date>2019-05-03T19:02:50Z</dc:date>
    <item>
      <title>Finding datasets name in log directory</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Finding-datasets-name-in-log-directory/m-p/556051#M154833</link>
      <description>&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Just wanted to check is there is fastest way to list down all the sas datasets name from number of logs stored in log directory.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My task is to find datasets name from thousand of sas logs.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any one has sas prog to do the same teask?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Japs&lt;/P&gt;</description>
      <pubDate>Fri, 03 May 2019 19:02:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Finding-datasets-name-in-log-directory/m-p/556051#M154833</guid>
      <dc:creator>japsas100</dc:creator>
      <dc:date>2019-05-03T19:02:50Z</dc:date>
    </item>
    <item>
      <title>Re: Finding datasets name in log directory</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Finding-datasets-name-in-log-directory/m-p/556062#M154841</link>
      <description>&lt;P&gt;It seems you'd better write shell scripting codes to capture these file names.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 03 May 2019 19:20:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Finding-datasets-name-in-log-directory/m-p/556062#M154841</guid>
      <dc:creator>DMIN</dc:creator>
      <dc:date>2019-05-03T19:20:28Z</dc:date>
    </item>
    <item>
      <title>Re: Finding datasets name in log directory</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Finding-datasets-name-in-log-directory/m-p/556065#M154844</link>
      <description>&lt;P&gt;Can anyone share the shell script?&lt;/P&gt;</description>
      <pubDate>Fri, 03 May 2019 19:24:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Finding-datasets-name-in-log-directory/m-p/556065#M154844</guid>
      <dc:creator>japsas100</dc:creator>
      <dc:date>2019-05-03T19:24:59Z</dc:date>
    </item>
    <item>
      <title>Re: Finding datasets name in log directory</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Finding-datasets-name-in-log-directory/m-p/556077#M154855</link>
      <description>Dataset names are either in work library or in permanent libraries, so their names should be identified by following work or other library names when creating shellscripts. Unfortunately, i don't have the scripts at hand. Hopefully other guys can help.</description>
      <pubDate>Fri, 03 May 2019 19:34:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Finding-datasets-name-in-log-directory/m-p/556077#M154855</guid>
      <dc:creator>DMIN</dc:creator>
      <dc:date>2019-05-03T19:34:20Z</dc:date>
    </item>
    <item>
      <title>Re: Finding datasets name in log directory</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Finding-datasets-name-in-log-directory/m-p/556080#M154857</link>
      <description>Search lexjansen.com or on here with the term 'log parsing' and you'll find examples. They definitely exist.</description>
      <pubDate>Fri, 03 May 2019 19:35:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Finding-datasets-name-in-log-directory/m-p/556080#M154857</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-05-03T19:35:22Z</dc:date>
    </item>
    <item>
      <title>Re: Finding datasets name in log directory</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Finding-datasets-name-in-log-directory/m-p/556201#M154928</link>
      <description>&lt;P&gt;You want to scan SAS logs and see what dataset names were used?&lt;/P&gt;
&lt;P&gt;You can get a pretty good hit rated by just searching for the NOTE lines that SAS normally writes.&lt;/P&gt;
&lt;P&gt;Start with this and perhaps fine tune it more as you see what messages it finds.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;grep '^NOTE:.* data set ' *.log&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 04 May 2019 17:18:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Finding-datasets-name-in-log-directory/m-p/556201#M154928</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2019-05-04T17:18:41Z</dc:date>
    </item>
  </channel>
</rss>

