<?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: Retrieve the libname statement (in user-written code) from a libref or libname in DI Studio in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Retrieve-the-libname-statement-in-user-written-code-from-a/m-p/869829#M343587</link>
    <description>&lt;P&gt;Thank you Koen,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Exactly what I needed &lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt;!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Anne.&lt;/P&gt;</description>
    <pubDate>Fri, 14 Apr 2023 15:16:15 GMT</pubDate>
    <dc:creator>Anne_A</dc:creator>
    <dc:date>2023-04-14T15:16:15Z</dc:date>
    <item>
      <title>Retrieve the libname statement (in user-written code) from a libref or libname in DI Studio</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Retrieve-the-libname-statement-in-user-written-code-from-a/m-p/869582#M343464</link>
      <description>&lt;P&gt;Dear all,&lt;/P&gt;
&lt;P&gt;I am requested to write some (one shot) user-written code in DI Studio to investigate a data quality issue. The customer has provided me with a .csv file which contains (among other things) the engine, libname, libref, directory (path), tablename and column name of the fields to be analyzed. When the engine is BASE I can easily recreate the libname statement programmatically from the information above, but when the engine is not BASE (Oracle, DB2, ODBC, ...) that does not work. Hence I'm wondering (and asking you) whether there is any way to programmatically retrieve the libname statement (metadata) corresponding to the libname, i.e. the libname statement I get when I right-click the library in the DI Studio environment.&lt;/P&gt;
&lt;P&gt;Many thanks in advance!&lt;/P&gt;
&lt;P&gt;Cheers&lt;/P&gt;
&lt;P&gt;Anne.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Apr 2023 14:17:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Retrieve-the-libname-statement-in-user-written-code-from-a/m-p/869582#M343464</guid>
      <dc:creator>Anne_A</dc:creator>
      <dc:date>2023-04-13T14:17:33Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve the libname statement (in user-written code) from a libref or libname in DI Studio</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Retrieve-the-libname-statement-in-user-written-code-from-a/m-p/869616#M343487</link>
      <description>&lt;P&gt;Hello Anne,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Does this help??&lt;/P&gt;
&lt;P&gt;Library - Extract metadata&lt;BR /&gt;&lt;A href="https://communities.sas.com/t5/Administration-and-Deployment/Library-Extract-metadata/td-p/676885" target="_blank"&gt;https://communities.sas.com/t5/Administration-and-Deployment/Library-Extract-metadata/td-p/676885&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers,&lt;/P&gt;
&lt;P&gt;Koen&lt;/P&gt;</description>
      <pubDate>Thu, 13 Apr 2023 16:22:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Retrieve-the-libname-statement-in-user-written-code-from-a/m-p/869616#M343487</guid>
      <dc:creator>sbxkoenk</dc:creator>
      <dc:date>2023-04-13T16:22:58Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve the libname statement (in user-written code) from a libref or libname in DI Studio</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Retrieve-the-libname-statement-in-user-written-code-from-a/m-p/869829#M343587</link>
      <description>&lt;P&gt;Thank you Koen,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Exactly what I needed &lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt;!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Anne.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Apr 2023 15:16:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Retrieve-the-libname-statement-in-user-written-code-from-a/m-p/869829#M343587</guid>
      <dc:creator>Anne_A</dc:creator>
      <dc:date>2023-04-14T15:16:15Z</dc:date>
    </item>
  </channel>
</rss>

