<?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: I want to list all libraries used per job in DI studio in SAS Data Management</title>
    <link>https://communities.sas.com/t5/SAS-Data-Management/I-want-to-list-all-libraries-used-per-job-in-DI-studio/m-p/161413#M3021</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yeah, please do! I actually had fun writing it. &lt;/P&gt;&lt;P&gt;Couple of things I had in mind to improve it such as automatically going into the subfolders (can find the code online) and scan multiple library/tables per line instead of just one, but just time poor. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 08 Jul 2015 09:47:40 GMT</pubDate>
    <dc:creator>JasonBCoding</dc:creator>
    <dc:date>2015-07-08T09:47:40Z</dc:date>
    <item>
      <title>I want to list all libraries used per job in DI studio</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/I-want-to-list-all-libraries-used-per-job-in-DI-studio/m-p/161387#M2995</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to list the libraries used per job. Can anyone help me?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Filip&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Aug 2014 07:30:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/I-want-to-list-all-libraries-used-per-job-in-DI-studio/m-p/161387#M2995</guid>
      <dc:creator>Filipvdr</dc:creator>
      <dc:date>2014-08-14T07:30:18Z</dc:date>
    </item>
    <item>
      <title>Re: I want to list all libraries used per job in DI studio</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/I-want-to-list-all-libraries-used-per-job-in-DI-studio/m-p/161388#M2996</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't there is a out-of-the-box report for this.&lt;/P&gt;&lt;P&gt;One way is to dig into the wonderful world of data step metadata functions.&lt;/P&gt;&lt;P&gt;Another way could be (just elaborating here, not tested this myself) to parse the output from SAS Code Analyser.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Aug 2014 08:02:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/I-want-to-list-all-libraries-used-per-job-in-DI-studio/m-p/161388#M2996</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2014-08-14T08:02:09Z</dc:date>
    </item>
    <item>
      <title>Re: I want to list all libraries used per job in DI studio</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/I-want-to-list-all-libraries-used-per-job-in-DI-studio/m-p/161389#M2997</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Look at the log files. The notes concerning data sets have only a few forms and can quite easily be found. Then you can parse the library names from the dataset names.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Aug 2014 10:06:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/I-want-to-list-all-libraries-used-per-job-in-DI-studio/m-p/161389#M2997</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2014-08-14T10:06:46Z</dc:date>
    </item>
    <item>
      <title>Re: I want to list all libraries used per job in DI studio</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/I-want-to-list-all-libraries-used-per-job-in-DI-studio/m-p/161390#M2998</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;More questions as answers:&lt;/P&gt;&lt;P&gt;- static (metadata impact) or usage analyses (APM)&lt;/P&gt;&lt;P&gt;- DI studio version? run time environment? available loggings?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Aug 2014 11:05:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/I-want-to-list-all-libraries-used-per-job-in-DI-studio/m-p/161390#M2998</guid>
      <dc:creator>jakarman</dc:creator>
      <dc:date>2014-08-14T11:05:11Z</dc:date>
    </item>
    <item>
      <title>Re: I want to list all libraries used per job in DI studio</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/I-want-to-list-all-libraries-used-per-job-in-DI-studio/m-p/161391#M2999</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Totally agree with &lt;A __default_attr="119192" __jive_macro_name="user" class="jive_macro jive_macro_user" data-objecttype="3" href="https://communities.sas.com/"&gt;&lt;/A&gt; that there are no "out-of-the-box" reports and that you're having mainly 2 options which both will require quite a bit of coding.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;1. Query SAS Metadata &lt;/SPAN&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/lrmeta/67717/HTML/default/viewer.htm#titlepage.htm" style="font-size: 10pt; line-height: 1.5em;" title="http://support.sas.com/documentation/cdl/en/lrmeta/67717/HTML/default/viewer.htm#titlepage.htm"&gt;SAS(R) 9.4 Language Interfaces to Metadata, Second Edition&lt;/A&gt;&lt;/P&gt;&lt;P&gt;2. Parse the SAS logs&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've done both things in the past and both approaches took me quite a while to get it right.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For what you're trying to achieve I'd probably go with option 1). If you have PC SAS available then what really helped me in the past to understand the SAS Metadata Model is using "Metabrowse"&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image" src="https://communities.sas.com/legacyfs/online/7087_Capture.PNG" /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Aug 2014 11:45:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/I-want-to-list-all-libraries-used-per-job-in-DI-studio/m-p/161391#M2999</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2014-08-14T11:45:47Z</dc:date>
    </item>
    <item>
      <title>Re: I want to list all libraries used per job in DI studio</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/I-want-to-list-all-libraries-used-per-job-in-DI-studio/m-p/161392#M3000</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I came to think that suggesting the SAS Code Analyzer, it was like crossing the river for water. Parsing the deployed SAS code must be the easiest way, just check for LIBNAME in pos 1-7 and then just scan the libref name and optionally engine etc.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Aug 2014 11:49:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/I-want-to-list-all-libraries-used-per-job-in-DI-studio/m-p/161392#M3000</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2014-08-15T11:49:53Z</dc:date>
    </item>
    <item>
      <title>Re: I want to list all libraries used per job in DI studio</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/I-want-to-list-all-libraries-used-per-job-in-DI-studio/m-p/161393#M3001</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What about pre-assigned libraries?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Aug 2014 02:00:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/I-want-to-list-all-libraries-used-per-job-in-DI-studio/m-p/161393#M3001</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2014-08-16T02:00:56Z</dc:date>
    </item>
    <item>
      <title>Re: I want to list all libraries used per job in DI studio</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/I-want-to-list-all-libraries-used-per-job-in-DI-studio/m-p/161394#M3002</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are right Patrick.&amp;nbsp; We did not see any reaction of the OP what he is after for.&amp;nbsp; That is why I asked to elaborate. &lt;/P&gt;&lt;P&gt;More questions as answers:&lt;/P&gt;&lt;P&gt;- static (metadata impact) or usage analyses (APM)&lt;/P&gt;&lt;P&gt;- DI studio version? run time environment? available loggings?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Aug 2014 04:55:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/I-want-to-list-all-libraries-used-per-job-in-DI-studio/m-p/161394#M3002</guid>
      <dc:creator>jakarman</dc:creator>
      <dc:date>2014-08-16T04:55:24Z</dc:date>
    </item>
    <item>
      <title>Re: I want to list all libraries used per job in DI studio</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/I-want-to-list-all-libraries-used-per-job-in-DI-studio/m-p/161395#M3003</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We have SAS DI 4.21&lt;/P&gt;&lt;P&gt;I think static.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a table with all lines of code. I'm trying to loop through all the libraries and find with index if it is used. There are better ways probably.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Aug 2014 10:13:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/I-want-to-list-all-libraries-used-per-job-in-DI-studio/m-p/161395#M3003</guid>
      <dc:creator>Filipvdr</dc:creator>
      <dc:date>2014-08-18T10:13:11Z</dc:date>
    </item>
    <item>
      <title>Re: I want to list all libraries used per job in DI studio</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/I-want-to-list-all-libraries-used-per-job-in-DI-studio/m-p/161396#M3004</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hmm... Not sure that I understand. An index is on a table and not on a library.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using DI Studio you should have the "create index" in the code.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Aug 2014 10:21:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/I-want-to-list-all-libraries-used-per-job-in-DI-studio/m-p/161396#M3004</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2014-08-18T10:21:12Z</dc:date>
    </item>
    <item>
      <title>Re: I want to list all libraries used per job in DI studio</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/I-want-to-list-all-libraries-used-per-job-in-DI-studio/m-p/161397#M3005</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Im trying to find the libraries with the index function &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>Mon, 18 Aug 2014 10:22:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/I-want-to-list-all-libraries-used-per-job-in-DI-studio/m-p/161397#M3005</guid>
      <dc:creator>Filipvdr</dc:creator>
      <dc:date>2014-08-18T10:22:20Z</dc:date>
    </item>
    <item>
      <title>Re: I want to list all libraries used per job in DI studio</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/I-want-to-list-all-libraries-used-per-job-in-DI-studio/m-p/161398#M3006</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There won't be a libname statement for pre-assigned libraries in the code (else it would be a very simple tasks).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But... You could scan the header comments looking for all comment blocks starting with&amp;nbsp; &lt;STRONG&gt;* Target Tables:&lt;/STRONG&gt; or&lt;STRONG&gt; * Source Tables:&lt;/STRONG&gt; This would give you all the &amp;lt;libref&amp;gt;.&amp;lt;table&amp;gt; used.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Aug 2014 10:24:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/I-want-to-list-all-libraries-used-per-job-in-DI-studio/m-p/161398#M3006</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2014-08-18T10:24:00Z</dc:date>
    </item>
    <item>
      <title>Re: I want to list all libraries used per job in DI studio</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/I-want-to-list-all-libraries-used-per-job-in-DI-studio/m-p/161399#M3007</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Trying to understand your question.... &lt;/P&gt;&lt;P&gt;You are looking for which datasets have some indexes defined? &lt;/P&gt;&lt;P&gt;In that case you can use the contents (proc contents) or similar on the libraries. Indexes on datasets can be defined as a tuning measure. They do not need to be part of a DI code. With a external RDBMS this would be a DBA job/task.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Aug 2014 10:30:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/I-want-to-list-all-libraries-used-per-job-in-DI-studio/m-p/161399#M3007</guid>
      <dc:creator>jakarman</dc:creator>
      <dc:date>2014-08-18T10:30:49Z</dc:date>
    </item>
    <item>
      <title>Re: I want to list all libraries used per job in DI studio</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/I-want-to-list-all-libraries-used-per-job-in-DI-studio/m-p/161400#M3008</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No: my question is the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want a list of all libraries used in each job.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How I was working now:&lt;/P&gt;&lt;P&gt;- librariers are pre-assigned&lt;/P&gt;&lt;P&gt;- we have a list of all the code in one table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I make a list of all libraries available, and i will loop them one by one.&lt;/P&gt;&lt;P&gt;I check if the library can be found in each record of the table with the complete code&lt;/P&gt;&lt;P&gt;If so, i create a field with the name of the library and i set it to 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope it is more clear now&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Aug 2014 11:23:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/I-want-to-list-all-libraries-used-per-job-in-DI-studio/m-p/161400#M3008</guid>
      <dc:creator>Filipvdr</dc:creator>
      <dc:date>2014-08-18T11:23:17Z</dc:date>
    </item>
    <item>
      <title>Re: I want to list all libraries used per job in DI studio</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/I-want-to-list-all-libraries-used-per-job-in-DI-studio/m-p/161401#M3009</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If ALL libraries are pre-assigned and you're running your code on the same logical server where you're also executing your DI jobs then it's no more that hard.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Scan through your code and look for all comment blocks starting with&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;STRONG&gt;* Source Tables:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt; or&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;STRONG&gt; * Target Tables:&amp;nbsp; &lt;/STRONG&gt;&lt;/SPAN&gt;(you will have to read several lines per block).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will look as below in your code:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;* Source Tables:&amp;nbsp; tableA - &lt;STRONG&gt;mylib&lt;/STRONG&gt;.&lt;SPAN style="font-family: 'courier new', courier;"&gt;tableA &lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; A5RH62SX.BI0002I7 *&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;*&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-family: 'courier new', courier;"&gt;tableB&lt;/SPAN&gt; - &lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;mylib&lt;/STRONG&gt;&lt;/SPAN&gt;.&lt;SPAN style="font-family: 'courier new', courier;"&gt;tableB&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; A5RH62SX.BI0003EL *&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;* Target Tables:&amp;nbsp; tableC - &lt;STRONG&gt;target&lt;/STRONG&gt;.&lt;SPAN style="font-family: 'courier new', courier;"&gt;tableC&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; A5RH62SX.BI0002II *&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;*&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; *&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;* Generated on:&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;datetime&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; *&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In doing so you can retrieve all librefs used. Here: "mylib" and "target".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then use "sashelp.vlibnam" and merge over column "libname" (which is the libref). This will give you all the information you're after.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alternatively: You could use the table metadata id's and then query SAS Metadata to get the associated libraries for the table objects (eg. for &lt;SPAN style="font-family: 'courier new', courier;"&gt;A5RH62SX.BI0002I7&lt;/SPAN&gt;). This would work for both pre-assigned and non pre-assigned libraries and you could also run your code under a different logical server as long as you can access the same SAS Metadata server (with my example data the repository would have the ID &lt;SPAN style="font-family: 'courier new', courier;"&gt;A5RH62SX).&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Aug 2014 11:42:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/I-want-to-list-all-libraries-used-per-job-in-DI-studio/m-p/161401#M3009</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2014-08-18T11:42:34Z</dc:date>
    </item>
    <item>
      <title>Re: I want to list all libraries used per job in DI studio</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/I-want-to-list-all-libraries-used-per-job-in-DI-studio/m-p/161402#M3010</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So what you want is an Impact analyses / reverse impact analyses for all tables?&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/etlug/65016/HTML/default/viewer.htm#p13kmxhmyi0o0hn1urr3q07nu0t1.htm" title="http://support.sas.com/documentation/cdl/en/etlug/65016/HTML/default/viewer.htm#p13kmxhmyi0o0hn1urr3q07nu0t1.htm"&gt;SAS(R) Data Integration Studio 4.4: User's Guide&lt;/A&gt;&amp;nbsp; being enhanced &lt;A href="http://support.sas.com/documentation/cdl/en/etlug/65920/HTML/default/viewer.htm#p13kmxhmyi0o0hn1urr3q07nu0t1.htm" title="http://support.sas.com/documentation/cdl/en/etlug/65920/HTML/default/viewer.htm#p13kmxhmyi0o0hn1urr3q07nu0t1.htm"&gt;SAS(R) Data Integration Studio 4.7: User's Guide&lt;/A&gt;&lt;/P&gt;&lt;P&gt;That can be done analyzing the metadata as Patrick suggested. The metdata is rather a complicated structure. &lt;A href="http://support.sas.com/documentation/cdl/en/omamodref/67417/HTML/default/viewer.htm#reldiags.htm" title="http://support.sas.com/documentation/cdl/en/omamodref/67417/HTML/default/viewer.htm#reldiags.htm"&gt;SAS(R) 9.4 Metadata Model: Reference&lt;/A&gt; (just the tables, I am missing associations to transforms).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your method of brute force code analyzing is more easy to understand.&amp;nbsp; The list tables-libraries must be not the biggest problem.&amp;nbsp; &lt;/P&gt;&lt;P&gt;It has&amp;nbsp; the disadvantage you are needing to recognize sure a library-table combination found in some code/dataset.&amp;nbsp; Is this the question?&lt;BR /&gt;Having two tables with all information it will become a normal table-lookup -reporting question.&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Aug 2014 12:00:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/I-want-to-list-all-libraries-used-per-job-in-DI-studio/m-p/161402#M3010</guid>
      <dc:creator>jakarman</dc:creator>
      <dc:date>2014-08-18T12:00:28Z</dc:date>
    </item>
    <item>
      <title>Re: I want to list all libraries used per job in DI studio</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/I-want-to-list-all-libraries-used-per-job-in-DI-studio/m-p/161403#M3011</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your replies.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried your suggestion Patrick but it seems it throws out the table does not include the big parts which are commented. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Aug 2014 08:04:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/I-want-to-list-all-libraries-used-per-job-in-DI-studio/m-p/161403#M3011</guid>
      <dc:creator>Filipvdr</dc:creator>
      <dc:date>2014-08-19T08:04:26Z</dc:date>
    </item>
    <item>
      <title>Re: I want to list all libraries used per job in DI studio</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/I-want-to-list-all-libraries-used-per-job-in-DI-studio/m-p/161404#M3012</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;DI 4.21 is an older version but I would have thought that DIS already generated such a header in this version. Do you have it in your code and you're simply not reading it into your data? Or what exactly is the problem you're facing?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Aug 2014 09:51:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/I-want-to-list-all-libraries-used-per-job-in-DI-studio/m-p/161404#M3012</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2014-08-19T09:51:45Z</dc:date>
    </item>
    <item>
      <title>Re: I want to list all libraries used per job in DI studio</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/I-want-to-list-all-libraries-used-per-job-in-DI-studio/m-p/161405#M3013</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perhaps we are back to my original suggestion to use SAS Code Analyzer (PROC SCAPROC)....?&lt;/P&gt;&lt;P&gt;It is available in 9.2.&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/proc/61895/HTML/default/viewer.htm#a003200258.htm" title="http://support.sas.com/documentation/cdl/en/proc/61895/HTML/default/viewer.htm#a003200258.htm"&gt;Base SAS(R) 9.2 Procedures Guide&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Aug 2014 10:17:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/I-want-to-list-all-libraries-used-per-job-in-DI-studio/m-p/161405#M3013</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2014-08-19T10:17:36Z</dc:date>
    </item>
    <item>
      <title>Re: I want to list all libraries used per job in DI studio</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/I-want-to-list-all-libraries-used-per-job-in-DI-studio/m-p/161406#M3014</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Linus I always placed SCAPROC for optimizing code in smaller parts to do parallel execution. DI is generating code. I do not see a match.&lt;BR /&gt;Still it could be an option as Filipvdr did explain his ultimate goal. At the moment it looks to be an inventarization / impact analyses.&lt;/P&gt;&lt;P&gt;For the (statistic) code analyses.&lt;/P&gt;&lt;P&gt;The code generations is influenced by options in DI. I am not sure whether those descriptive headers are possible.&lt;BR /&gt;Filipvdr/Patrcik on the track. &lt;/P&gt;&lt;P&gt;When not, more code must be read with some assumptions on naming conventions. When there are a limited set transformations used it could be workable. When a lot of code has changed by handcraft. It is a battle of outsmarting coders work.&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Aug 2014 10:33:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/I-want-to-list-all-libraries-used-per-job-in-DI-studio/m-p/161406#M3014</guid>
      <dc:creator>jakarman</dc:creator>
      <dc:date>2014-08-19T10:33:26Z</dc:date>
    </item>
  </channel>
</rss>

