<?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: How can I Find Code that opens a given dataset? in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-can-I-Find-Code-that-opens-a-given-dataset/m-p/720045#M38189</link>
    <description>&lt;P&gt;This may not be viable, depending on how many EG projects you have, but you could run the project and store the log(s).&amp;nbsp; Then you can just use text search tools to find the datasets referenced in the logs.&lt;/P&gt;</description>
    <pubDate>Wed, 17 Feb 2021 21:37:40 GMT</pubDate>
    <dc:creator>Doc_Duke</dc:creator>
    <dc:date>2021-02-17T21:37:40Z</dc:date>
    <item>
      <title>How can I Find Code that opens a given dataset?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-can-I-Find-Code-that-opens-a-given-dataset/m-p/719652#M38173</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Is there a way to identify the SAS-EG code that opens a given dataset? We have a few core datasets that we want to update the structure of. Therefore we need to know any SAS-EG code that references this dataset so that we can update that code to prevent errors.&lt;/P&gt;
&lt;P&gt;I'd like to be able to search the folders listed under &lt;EM&gt;&lt;STRONG&gt;Servers-&amp;gt;Files&lt;/STRONG&gt;&lt;/EM&gt;&amp;nbsp;within SAS-EG. Failing this, any other way to search folders that contain .epg or .sas files. Thanks. - Martin&lt;/P&gt;</description>
      <pubDate>Tue, 16 Feb 2021 15:13:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-can-I-Find-Code-that-opens-a-given-dataset/m-p/719652#M38173</guid>
      <dc:creator>Martin_Bryant</dc:creator>
      <dc:date>2021-02-16T15:13:03Z</dc:date>
    </item>
    <item>
      <title>Re: How can I Find Code that opens a given dataset?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-can-I-Find-Code-that-opens-a-given-dataset/m-p/719704#M38175</link>
      <description>&lt;P&gt;What is your company's policy on EGP and EG program file storage locations? If users are storing these on their own hard drives or personal folders then finding them will be near impossible.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Feb 2021 19:12:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-can-I-Find-Code-that-opens-a-given-dataset/m-p/719704#M38175</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2021-02-16T19:12:56Z</dc:date>
    </item>
    <item>
      <title>Re: How can I Find Code that opens a given dataset?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-can-I-Find-Code-that-opens-a-given-dataset/m-p/719826#M38181</link>
      <description>All of these are stored on a SAS server. We can't save locally.</description>
      <pubDate>Wed, 17 Feb 2021 08:53:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-can-I-Find-Code-that-opens-a-given-dataset/m-p/719826#M38181</guid>
      <dc:creator>Martin_Bryant</dc:creator>
      <dc:date>2021-02-17T08:53:39Z</dc:date>
    </item>
    <item>
      <title>Re: How can I Find Code that opens a given dataset?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-can-I-Find-Code-that-opens-a-given-dataset/m-p/719924#M38188</link>
      <description>&lt;P&gt;Same answer I just posted elsewhere:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SAS egp files are actually zips of XML data. Read in the egp using a zip library, find what you need and write it out to a file.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This stuff is best done in another language due to strong library support for zip and XML. I prefer C# but use whatever you want (python, for example).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Alan&lt;/P&gt;</description>
      <pubDate>Wed, 17 Feb 2021 14:57:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-can-I-Find-Code-that-opens-a-given-dataset/m-p/719924#M38188</guid>
      <dc:creator>AlanC</dc:creator>
      <dc:date>2021-02-17T14:57:24Z</dc:date>
    </item>
    <item>
      <title>Re: How can I Find Code that opens a given dataset?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-can-I-Find-Code-that-opens-a-given-dataset/m-p/720045#M38189</link>
      <description>&lt;P&gt;This may not be viable, depending on how many EG projects you have, but you could run the project and store the log(s).&amp;nbsp; Then you can just use text search tools to find the datasets referenced in the logs.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Feb 2021 21:37:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-can-I-Find-Code-that-opens-a-given-dataset/m-p/720045#M38189</guid>
      <dc:creator>Doc_Duke</dc:creator>
      <dc:date>2021-02-17T21:37:40Z</dc:date>
    </item>
  </channel>
</rss>

