<?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: All data sets and columns in library sashelp in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/All-data-sets-and-columns-in-library-sashelp/m-p/966758#M376216</link>
    <description>It‘s already there: SASHELP.VCOLUMN (or DICTIONARY.COLUMNS in PROC SQL).</description>
    <pubDate>Sat, 17 May 2025 07:50:06 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2025-05-17T07:50:06Z</dc:date>
    <item>
      <title>All data sets and columns in library sashelp</title>
      <link>https://communities.sas.com/t5/SAS-Programming/All-data-sets-and-columns-in-library-sashelp/m-p/966756#M376215</link>
      <description>Let's say that I want to check all data sets exist in specific library ( for example:sashelp library) and for each data set check the columns names. I want to create a data set that have multiple columns, each column get values of the columns names of each data set.&lt;BR /&gt;So-&lt;BR /&gt;The data set get following columns names-&lt;BR /&gt;Sashelp.Cars&lt;BR /&gt;Sashelp.class&lt;BR /&gt;And so on&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sat, 17 May 2025 06:48:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/All-data-sets-and-columns-in-library-sashelp/m-p/966756#M376215</guid>
      <dc:creator>Ronein</dc:creator>
      <dc:date>2025-05-17T06:48:49Z</dc:date>
    </item>
    <item>
      <title>Re: All data sets and columns in library sashelp</title>
      <link>https://communities.sas.com/t5/SAS-Programming/All-data-sets-and-columns-in-library-sashelp/m-p/966758#M376216</link>
      <description>It‘s already there: SASHELP.VCOLUMN (or DICTIONARY.COLUMNS in PROC SQL).</description>
      <pubDate>Sat, 17 May 2025 07:50:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/All-data-sets-and-columns-in-library-sashelp/m-p/966758#M376216</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2025-05-17T07:50:06Z</dc:date>
    </item>
    <item>
      <title>Re: All data sets and columns in library sashelp</title>
      <link>https://communities.sas.com/t5/SAS-Programming/All-data-sets-and-columns-in-library-sashelp/m-p/966764#M376218</link>
      <description>But In real world I want to apply it on a permanent library that is not sashelp</description>
      <pubDate>Sat, 17 May 2025 15:29:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/All-data-sets-and-columns-in-library-sashelp/m-p/966764#M376218</guid>
      <dc:creator>Ronein</dc:creator>
      <dc:date>2025-05-17T15:29:12Z</dc:date>
    </item>
    <item>
      <title>Re: All data sets and columns in library sashelp</title>
      <link>https://communities.sas.com/t5/SAS-Programming/All-data-sets-and-columns-in-library-sashelp/m-p/966765#M376219</link>
      <description>&lt;PRE&gt;Proc sql;
  create table work.want as
  select * 
  from dictionary.columns
  where libname='SASHELP' and memtype='DATA'
  ;
quit;&lt;/PRE&gt;
&lt;P&gt;Replace the SASHELP with the name of the library &lt;STRONG&gt;in upper case&lt;/STRONG&gt; as that is the way the value is stored in the view. The DATA is to restrict to only data sets and also needs to be upper case as stored that way.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 17 May 2025 15:43:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/All-data-sets-and-columns-in-library-sashelp/m-p/966765#M376219</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2025-05-17T15:43:32Z</dc:date>
    </item>
    <item>
      <title>Re: All data sets and columns in library sashelp</title>
      <link>https://communities.sas.com/t5/SAS-Programming/All-data-sets-and-columns-in-library-sashelp/m-p/966767#M376221</link>
      <description>Doesn‘t matter. DICTIONARY.COLUMNS has the metadata of all currently assigned libraries.</description>
      <pubDate>Sat, 17 May 2025 18:21:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/All-data-sets-and-columns-in-library-sashelp/m-p/966767#M376221</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2025-05-17T18:21:58Z</dc:date>
    </item>
  </channel>
</rss>

