<?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: Finding Which program is producing a Particluar Dataset/How to locate a Dataset in a Library in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Finding-Which-program-is-producing-a-Particluar-Dataset-How-to/m-p/198504#M15007</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Lets maybe clarify here what SASHELP contains.&amp;nbsp; It is a SAS specific library, within which resides the metadata of the system.&amp;nbsp; Part of this metadata is a list of library/dataset information which can be found in the view SASHELP.VTABLE, and the column information per library/dataset which can be found in the view SASHELP.VCOLUMN.&amp;nbsp; If you ope either of these in SAS you will see the data.&amp;nbsp; The point is that with this metadata you can query these tables to find the information you require on where data resides.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 21 Aug 2015 07:54:41 GMT</pubDate>
    <dc:creator>RW9</dc:creator>
    <dc:date>2015-08-21T07:54:41Z</dc:date>
    <item>
      <title>Finding Which program is producing a Particluar Dataset/How to locate a Dataset in a Library</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Finding-Which-program-is-producing-a-Particluar-Dataset-How-to/m-p/198491#M14994</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi Friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have two below Questions, please can you help with them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Question 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a Dataset in a Base SAS Library, and I don’t know&lt;BR /&gt;which Program is producing that Dataset.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to find which program is producing&amp;nbsp; this particular&lt;BR /&gt;Dataset.&lt;/P&gt;&lt;P&gt;Is there any way to find that from Server or from SAS&lt;BR /&gt;Management console or any other way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Question 2 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And also we have so many Libraries and I want to search for&lt;BR /&gt;a particular Dataset in which library its located.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead of opening and checking each library, Is there any&lt;BR /&gt;easy way to search for that Dataset with a code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Aug 2015 14:04:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Finding-Which-program-is-producing-a-Particluar-Dataset-How-to/m-p/198491#M14994</guid>
      <dc:creator>sasprofile</dc:creator>
      <dc:date>2015-08-13T14:04:16Z</dc:date>
    </item>
    <item>
      <title>Re: Finding Which program is producing a Particluar Dataset/How to locate a Dataset in a Library</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Finding-Which-program-is-producing-a-Particluar-Dataset-How-to/m-p/198492#M14995</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, I am not familiar with EG, however in Base SAS there is the metadata tables which you can query.&amp;nbsp; In code:&lt;/P&gt;&lt;P&gt;proc sql;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; create table WANT as&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; select&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; *&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; from&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DICTIONARY.TABLES&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; where&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NAME="ADATASET";&lt;/P&gt;&lt;P&gt;quit;&lt;/P&gt;&lt;P&gt;The above should return a dataset of all libraries which contain a dataset with ADATASET as the name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For your first question, why not just do a text in file search on the network path which holds you code, i.e. find in files (Windows) files containing ADATASET.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Aug 2015 14:21:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Finding-Which-program-is-producing-a-Particluar-Dataset-How-to/m-p/198492#M14995</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2015-08-13T14:21:58Z</dc:date>
    </item>
    <item>
      <title>Re: Finding Which program is producing a Particluar Dataset/How to locate a Dataset in a Library</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Finding-Which-program-is-producing-a-Particluar-Dataset-How-to/m-p/198493#M14996</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried below code as an test for CARS dataset in sashelp library,but throwing error&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ERROR: The following columns were not found in the contributing tables: NAME.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: Courier New;"&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #000080; font-size: 12pt; font-family: Courier New;"&gt;sql&lt;/STRONG&gt;&lt;SPAN style="font-size: 12pt; font-family: Courier New;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: Courier New;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: Courier New;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 12pt; font-family: Courier New;"&gt;table&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: Courier New;"&gt; test085 &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 12pt; font-family: Courier New;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: Courier New;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 12pt; font-family: Courier New;"&gt;select&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: Courier New;"&gt; * &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 12pt; font-family: Courier New;"&gt;from&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: Courier New;"&gt; DICTIONARY.TABLES&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: Courier New;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: Courier New;"&gt; NAME=&lt;/SPAN&gt;&lt;SPAN style="color: #800080; font-size: 12pt; font-family: Courier New;"&gt;"CARS"&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: Courier New;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: Courier New;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: Courier New;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Aug 2015 15:01:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Finding-Which-program-is-producing-a-Particluar-Dataset-How-to/m-p/198493#M14996</guid>
      <dc:creator>sasprofile</dc:creator>
      <dc:date>2015-08-13T15:01:00Z</dc:date>
    </item>
    <item>
      <title>Re: Finding Which program is producing a Particluar Dataset/How to locate a Dataset in a Library</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Finding-Which-program-is-producing-a-Particluar-Dataset-How-to/m-p/198494#M14997</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would use PROC CONTENTS with _ALL_ in a macro to scan each library, and output the results in a table each&lt;/P&gt;&lt;P&gt;The results need to be deduplicated to a single row for each table (memname) in a library, thus eliminating the details, keeping only the names.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%macro mycnts(mylib,myoutfl);&lt;/P&gt;&lt;P&gt;PROC CONTENTS data =&amp;amp;mylib._ALL_ out=&amp;amp;mycontents NOPRINT /* optional: */ (KEEP = LIBNAME MEMNAME) ;&lt;/P&gt;&lt;P&gt;RUN;&lt;/P&gt;&lt;P&gt;proc sort data = &amp;amp;mycontents nodupkey;&lt;/P&gt;&lt;P&gt;by libname memname;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;%mend;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/*Eample for executing the macro*/&lt;/P&gt;&lt;P&gt;%mycnts(work,lib1);&lt;/P&gt;&lt;P&gt;Repeat this for the rest of your libraries&lt;/P&gt;&lt;P&gt;Evaluate the resulting tables Lib1 lib2 libn, you can concatenate all into one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Question # 1 I would use a text editor, like UltraEdit, Find in Files function on the program library (hopefully there is one) to locate the table name in a program.&lt;/P&gt;&lt;P&gt;Pattern to use: "data lib1".&lt;/P&gt;&lt;P&gt;There may be admin tools that could be used, but I am not familiar.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Aug 2015 15:54:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Finding-Which-program-is-producing-a-Particluar-Dataset-How-to/m-p/198494#M14997</guid>
      <dc:creator>Kanna</dc:creator>
      <dc:date>2015-08-13T15:54:48Z</dc:date>
    </item>
    <item>
      <title>Re: Finding Which program is producing a Particluar Dataset/How to locate a Dataset in a Library</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Finding-Which-program-is-producing-a-Particluar-Dataset-How-to/m-p/198495#M14998</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, I don't have SAS open, I thought the variable was NAME.&amp;nbsp; Anyway, just drop the where and you will get the complete dataset, then you can see what the name variable is.&amp;nbsp; It could be memname.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Aug 2015 17:38:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Finding-Which-program-is-producing-a-Particluar-Dataset-How-to/m-p/198495#M14998</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2015-08-13T17:38:14Z</dc:date>
    </item>
    <item>
      <title>Re: Finding Which program is producing a Particluar Dataset/How to locate a Dataset in a Library</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Finding-Which-program-is-producing-a-Particluar-Dataset-How-to/m-p/198496#M14999</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I had a similar issue where we had a large compiliation of SAS programs and it was difficult to determine which code output certain datasets. I could not find an easy way to get this. The closest I got to automating it was using the SCAPROC procedure. This might help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://support.sas.com/documentation/cdl/en/proc/61895/HTML/default/viewer.htm#a003199752.htm"&gt;https://support.sas.com/documentation/cdl/en/proc/61895/HTML/default/viewer.htm#a003199752.htm&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Aug 2015 09:05:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Finding-Which-program-is-producing-a-Particluar-Dataset-How-to/m-p/198496#M14999</guid>
      <dc:creator>eroche</dc:creator>
      <dc:date>2015-08-14T09:05:15Z</dc:date>
    </item>
    <item>
      <title>Re: Finding Which program is producing a Particluar Dataset/How to locate a Dataset in a Library</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Finding-Which-program-is-producing-a-Particluar-Dataset-How-to/m-p/198497#M15000</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If your dataset is created by a job defined in SAS DI Studio, you will probably be able to find the metadata there. If not, then you can only try to find the dataset's name in either the code or in the log(s), if such exist.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In a similar situation, I look at the creation date of the file and then scan through my database of batch job runs to determine which job created a dataset.&lt;/P&gt;&lt;P&gt;With user created datasets, I just determine the owner with a ls -l and question her/him.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Aug 2015 10:32:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Finding-Which-program-is-producing-a-Particluar-Dataset-How-to/m-p/198497#M15000</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2015-08-14T10:32:11Z</dc:date>
    </item>
    <item>
      <title>Re: Finding Which program is producing a Particluar Dataset/How to locate a Dataset in a Library</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Finding-Which-program-is-producing-a-Particluar-Dataset-How-to/m-p/198498#M15001</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I like eroche's SCAPROC procedure approach.&amp;nbsp; &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&amp;nbsp; You'll have to capture the file names in your directory that holds programs into macro variables and then loop thru them to apply PROC SCAPROC.&amp;nbsp; Capture each program's procedure output to a separate text file.&amp;nbsp; Then read in the text file via a DATA step with each line as a single record and search for 'JOBSPLIT: DATASET OUTPUT SEQ &amp;lt;libref&amp;gt;.&amp;lt;dataset name&amp;gt;.DATA'.&amp;nbsp;&amp;nbsp; Because the programs are 'short' it would run lickety-split.&amp;nbsp; You could write this as a macro and use macro variables for the directory to search, libref and dataset name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Searching for the DATASET OUTPUT string would eliminate the false positives you'd might get from just scanning programs for the libref and dataset.&amp;nbsp; And you won't have to search programs for separate strings--DATA libref.dataset and CREATE TABLE libref.dataset and OUT=libref.dataset are three I thought of.:smileygrin:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's a link to PROC SCAPROC.&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/proc/61895/HTML/default/viewer.htm#a003199745.htm" title="http://support.sas.com/documentation/cdl/en/proc/61895/HTML/default/viewer.htm#a003199745.htm"&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;&lt;BR /&gt;Actually, this would make a great Coder's Corner paper.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Aug 2015 14:40:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Finding-Which-program-is-producing-a-Particluar-Dataset-How-to/m-p/198498#M15001</guid>
      <dc:creator>bentleyj1</dc:creator>
      <dc:date>2015-08-14T14:40:06Z</dc:date>
    </item>
    <item>
      <title>Re: Finding Which program is producing a Particluar Dataset/How to locate a Dataset in a Library</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Finding-Which-program-is-producing-a-Particluar-Dataset-How-to/m-p/198499#M15002</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just to muddy the waters a bit, remember it is possible that more than one program replaces the same data set.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Aug 2015 15:10:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Finding-Which-program-is-producing-a-Particluar-Dataset-How-to/m-p/198499#M15002</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2015-08-14T15:10:49Z</dc:date>
    </item>
    <item>
      <title>Re: Finding Which program is producing a Particluar Dataset/How to locate a Dataset in a Library</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Finding-Which-program-is-producing-a-Particluar-Dataset-How-to/m-p/198500#M15003</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This new requirement adds another step or three.&amp;nbsp;&amp;nbsp; My first thought was ok, scan the logs instead of using proc scaproc but the logs themselves by default don't contain a date-time stamp on each page as does the listing so the logs themselves don't tell us the execution order. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's a tip for how to add start time to a log, but it would require modifying each program.&amp;nbsp; &lt;A href="http://www.sascommunity.org/wiki/Tips:Adding_a_date_and_time_stamp_message_to_the_SAS_Log" title="http://www.sascommunity.org/wiki/Tips:Adding_a_date_and_time_stamp_message_to_the_SAS_Log"&gt;http://www.sascommunity.org/wiki/Tips:Adding_a_date_and_time_stamp_message_to_the_SAS_Log&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So let's say you've used proc scaproc and identified which programs creates/replaces a table and you've got three of them.&amp;nbsp;&amp;nbsp; You'll need to save those program names into macro variables (or a list that can be parsed using the scan function).&amp;nbsp; So now you scan the directory that holds the logs and use the three macro variables holding the program names to find the three logs along with their date-time stamps (hopefully they the log has the program name in it and the program wrote only one log per program--a program could rename the log or write multiple logs via proc printto.)&amp;nbsp; Then compare the date-time stamps attached to the logs and the most recent one wins.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This might be getting too long for Coder's Corner.&lt;img id="smileywink" class="emoticon emoticon-smileywink" src="https://communities.sas.com/i/smilies/16x16_smiley-wink.png" alt="Smiley Wink" title="Smiley Wink" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Aug 2015 15:38:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Finding-Which-program-is-producing-a-Particluar-Dataset-How-to/m-p/198500#M15003</guid>
      <dc:creator>bentleyj1</dc:creator>
      <dc:date>2015-08-14T15:38:08Z</dc:date>
    </item>
    <item>
      <title>Re: Finding Which program is producing a Particluar Dataset/How to locate a Dataset in a Library</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Finding-Which-program-is-producing-a-Particluar-Dataset-How-to/m-p/198501#M15004</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you have Enterprise Guide, there are some add-ins that allows you to search all the server libraries at once to find a particular dataset, check out Chris Hemedinger blog site:&amp;nbsp; &lt;A href="http://blogs.sas.com/content/sasdummy/2013/11/25/11-custom-tasks/"&gt;http://blogs.sas.com/content/sasdummy/2013/11/25/11-custom-tasks/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also another tool if you have a lot of code buried in enterprise guide projects, try this one:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://blogs.sas.com/content/sasdummy/2013/01/25/egp-search-tool2/"&gt;http://blogs.sas.com/content/sasdummy/2013/01/25/egp-search-tool2/&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Aug 2015 15:39:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Finding-Which-program-is-producing-a-Particluar-Dataset-How-to/m-p/198501#M15004</guid>
      <dc:creator>jimbobob</dc:creator>
      <dc:date>2015-08-14T15:39:18Z</dc:date>
    </item>
    <item>
      <title>Re: Finding Which program is producing a Particluar Dataset/How to locate a Dataset in a Library</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Finding-Which-program-is-producing-a-Particluar-Dataset-How-to/m-p/198502#M15005</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For your second question below code will return the library name of specific dataset.&lt;/P&gt;&lt;P&gt;Proc sql;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; select distinct libname from sashelp.vcolumn where upcase(memname) = "DATASETS NAME";&lt;/P&gt;&lt;P&gt;Quit;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Aug 2015 16:20:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Finding-Which-program-is-producing-a-Particluar-Dataset-How-to/m-p/198502#M15005</guid>
      <dc:creator>CarthiQ</dc:creator>
      <dc:date>2015-08-20T16:20:01Z</dc:date>
    </item>
    <item>
      <title>Re: Finding Which program is producing a Particluar Dataset/How to locate a Dataset in a Library</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Finding-Which-program-is-producing-a-Particluar-Dataset-How-to/m-p/198503#M15006</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Thanks for your help&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;your code looks like it will search each and every library,but without searching every library i want to find that particular data set is located in which library.&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;here you are using as an example sashelp&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Aug 2015 04:01:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Finding-Which-program-is-producing-a-Particluar-Dataset-How-to/m-p/198503#M15006</guid>
      <dc:creator>sasprofile</dc:creator>
      <dc:date>2015-08-21T04:01:15Z</dc:date>
    </item>
    <item>
      <title>Re: Finding Which program is producing a Particluar Dataset/How to locate a Dataset in a Library</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Finding-Which-program-is-producing-a-Particluar-Dataset-How-to/m-p/198504#M15007</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Lets maybe clarify here what SASHELP contains.&amp;nbsp; It is a SAS specific library, within which resides the metadata of the system.&amp;nbsp; Part of this metadata is a list of library/dataset information which can be found in the view SASHELP.VTABLE, and the column information per library/dataset which can be found in the view SASHELP.VCOLUMN.&amp;nbsp; If you ope either of these in SAS you will see the data.&amp;nbsp; The point is that with this metadata you can query these tables to find the information you require on where data resides.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Aug 2015 07:54:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Finding-Which-program-is-producing-a-Particluar-Dataset-How-to/m-p/198504#M15007</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2015-08-21T07:54:41Z</dc:date>
    </item>
    <item>
      <title>Re: Finding Which program is producing a Particluar Dataset/How to locate a Dataset in a Library</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Finding-Which-program-is-producing-a-Particluar-Dataset-How-to/m-p/198505#M15008</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It will not search each and every library. Sashelp.vcolumn contains details about the sas session (i.e. library names and dataset names). So by specifying the dataset name you can easily find its corresponding library.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Aug 2015 17:40:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Finding-Which-program-is-producing-a-Particluar-Dataset-How-to/m-p/198505#M15008</guid>
      <dc:creator>CarthiQ</dc:creator>
      <dc:date>2015-08-21T17:40:43Z</dc:date>
    </item>
  </channel>
</rss>

