<?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: Datasets in Library in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Datasets-in-Library/m-p/118956#M24500</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sometimes dictionary tables perform slowly because there are lots of libraries and tables and/or some libraries point to external databases. PROC DATASETS can be a lot faster. This example uses ODS to create a dataset CONTENTS containing a list of all tables in the WORK library.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 9pt;"&gt;proc datasets library = WORK nolist;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 9pt;"&gt;&amp;nbsp; contents data = _ALL_ nods;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 9pt;"&gt;&amp;nbsp; ods output members = contents (rename = (name = memname));&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 9pt;"&gt;&amp;nbsp; run;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 9pt;"&gt;&amp;nbsp; ods output close;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 9pt;"&gt;quit;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 Jan 2013 01:49:24 GMT</pubDate>
    <dc:creator>SASKiwi</dc:creator>
    <dc:date>2013-01-09T01:49:24Z</dc:date>
    <item>
      <title>Datasets in Library</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Datasets-in-Library/m-p/118953#M24497</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is the most efficient to create a dataset that has the names of all datasets in a given library?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jan 2013 19:57:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Datasets-in-Library/m-p/118953#M24497</guid>
      <dc:creator>briani</dc:creator>
      <dc:date>2013-01-08T19:57:23Z</dc:date>
    </item>
    <item>
      <title>Re: Datasets in Library</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Datasets-in-Library/m-p/118954#M24498</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Querying dictionary.tables&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jan 2013 20:00:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Datasets-in-Library/m-p/118954#M24498</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2013-01-08T20:00:53Z</dc:date>
    </item>
    <item>
      <title>Re: Datasets in Library</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Datasets-in-Library/m-p/118955#M24499</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;An example:&lt;/P&gt;&lt;P&gt;proc sql;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; create table WorkDatasets as&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; select memname &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; from dictionary.tables&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; where libname='WORK'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; ;&lt;/P&gt;&lt;P&gt;QUIT;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jan 2013 23:53:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Datasets-in-Library/m-p/118955#M24499</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2013-01-08T23:53:01Z</dc:date>
    </item>
    <item>
      <title>Re: Datasets in Library</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Datasets-in-Library/m-p/118956#M24500</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sometimes dictionary tables perform slowly because there are lots of libraries and tables and/or some libraries point to external databases. PROC DATASETS can be a lot faster. This example uses ODS to create a dataset CONTENTS containing a list of all tables in the WORK library.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 9pt;"&gt;proc datasets library = WORK nolist;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 9pt;"&gt;&amp;nbsp; contents data = _ALL_ nods;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 9pt;"&gt;&amp;nbsp; ods output members = contents (rename = (name = memname));&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 9pt;"&gt;&amp;nbsp; run;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 9pt;"&gt;&amp;nbsp; ods output close;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 9pt;"&gt;quit;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jan 2013 01:49:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Datasets-in-Library/m-p/118956#M24500</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2013-01-09T01:49:24Z</dc:date>
    </item>
  </channel>
</rss>

