<?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 Track program dataset dependencies in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Track-program-dataset-dependencies/m-p/418732#M102882</link>
    <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;how would you track dataset dependencies for a program? That is, given a program, is there a reliable way to tell which datasets it uses?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Simply grep'ing the&amp;nbsp;program source code might not work as the datasets could potentially be referenced using macro variables. Grep'ing SAS log sounds like a better idea, but if a dataset is used by a&amp;nbsp;proc sql, it won't show up in the log unless the&amp;nbsp;proc sql is envoked with "_method" argument, plus&amp;nbsp;modifying the existing codebase isn't always feasible.&lt;/P&gt;</description>
    <pubDate>Wed, 06 Dec 2017 09:47:19 GMT</pubDate>
    <dc:creator>xio</dc:creator>
    <dc:date>2017-12-06T09:47:19Z</dc:date>
    <item>
      <title>Track program dataset dependencies</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Track-program-dataset-dependencies/m-p/418732#M102882</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;how would you track dataset dependencies for a program? That is, given a program, is there a reliable way to tell which datasets it uses?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Simply grep'ing the&amp;nbsp;program source code might not work as the datasets could potentially be referenced using macro variables. Grep'ing SAS log sounds like a better idea, but if a dataset is used by a&amp;nbsp;proc sql, it won't show up in the log unless the&amp;nbsp;proc sql is envoked with "_method" argument, plus&amp;nbsp;modifying the existing codebase isn't always feasible.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Dec 2017 09:47:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Track-program-dataset-dependencies/m-p/418732#M102882</guid>
      <dc:creator>xio</dc:creator>
      <dc:date>2017-12-06T09:47:19Z</dc:date>
    </item>
    <item>
      <title>Re: Track program dataset dependencies</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Track-program-dataset-dependencies/m-p/418737#M102885</link>
      <description>&lt;P&gt;Run proc scaproc before and after your code run (assuming you have 9.2 or greater) and this will give you information about inputs/outputs, macros etc:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/proc/61895/HTML/default/viewer.htm#a003199745.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/proc/61895/HTML/default/viewer.htm#a003199745.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Dec 2017 10:10:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Track-program-dataset-dependencies/m-p/418737#M102885</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2017-12-06T10:10:59Z</dc:date>
    </item>
    <item>
      <title>Re: Track program dataset dependencies</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Track-program-dataset-dependencies/m-p/418768#M102897</link>
      <description>You know what, that's perfect.</description>
      <pubDate>Wed, 06 Dec 2017 12:06:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Track-program-dataset-dependencies/m-p/418768#M102897</guid>
      <dc:creator>xio</dc:creator>
      <dc:date>2017-12-06T12:06:30Z</dc:date>
    </item>
  </channel>
</rss>

