<?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: proc dataset in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/proc-dataset/m-p/271509#M264121</link>
    <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;I think we may avoid use of "DICTIONARY.TABLES" when we are searching for datasets based on a particular variable. D&lt;SPAN&gt;ictionary.tables&amp;nbsp;&lt;/SPAN&gt;do not provide information related to variable name which are available in SASHELP. VCOLUMN.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Deepak&lt;/P&gt;</description>
    <pubDate>Wed, 18 May 2016 18:53:55 GMT</pubDate>
    <dc:creator>DeepakSwain</dc:creator>
    <dc:date>2016-05-18T18:53:55Z</dc:date>
    <item>
      <title>proc dataset</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-dataset/m-p/169416#M264116</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would like to pull proc dataset information from all of the datasets that contain a 'facility_id' variable in them.&amp;nbsp; Is there any way to do a search like that?&amp;nbsp; I'm looking at a library that has several hundred tables and I only want the tables with that specific variable. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank You in advance,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Nov 2014 14:11:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-dataset/m-p/169416#M264116</guid>
      <dc:creator>Steelers_In_DC</dc:creator>
      <dc:date>2014-11-13T14:11:30Z</dc:date>
    </item>
    <item>
      <title>Re: proc dataset</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-dataset/m-p/169417#M264117</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No probs.&amp;nbsp; Check out the SAS metadata tables:&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; SASHELP.VCOLUMNS&amp;nbsp; /* Could also use 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; MEMNAME in (select distinct MEMNAME from SASHELP.VCOLUMNS where NAME="FACILITY_ID");&lt;/P&gt;&lt;P&gt;quit;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The above will show you the metadata for all tables which have that variable in.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Nov 2014 14:18:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-dataset/m-p/169417#M264117</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2014-11-13T14:18:09Z</dc:date>
    </item>
    <item>
      <title>Re: proc dataset</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-dataset/m-p/169418#M264118</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A __default_attr="814511" __jive_macro_name="user" class="jive_macro jive_macro_user" href="https://communities.sas.com/"&gt;&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;Unlike libname and memname, the variable names are stored 'as-is' in this view, so on the safe side,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where upcase(name)='FACILITY_ID'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Haikuo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Nov 2014 14:26:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-dataset/m-p/169418#M264118</guid>
      <dc:creator>Haikuo</dc:creator>
      <dc:date>2014-11-13T14:26:46Z</dc:date>
    </item>
    <item>
      <title>Re: proc dataset</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-dataset/m-p/169419#M264119</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I do not know what you mean by dictionary tables.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Nov 2014 14:38:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-dataset/m-p/169419#M264119</guid>
      <dc:creator>Steelers_In_DC</dc:creator>
      <dc:date>2014-11-13T14:38:46Z</dc:date>
    </item>
    <item>
      <title>Re: proc dataset</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-dataset/m-p/169420#M264120</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dictionary tables comes from SQL, they are pretty much interchangeable with SASHELP.VTABLE/VCOLUMNS, and are the metadata for the table.&amp;nbsp; E.g.&lt;/P&gt;&lt;P&gt;proc sql;&lt;/P&gt;&lt;P&gt;&amp;nbsp; create table TMP as&lt;/P&gt;&lt;P&gt;&amp;nbsp; select * from DICTIONARY.TABLES;&lt;/P&gt;&lt;P&gt;quit;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Nov 2014 14:45:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-dataset/m-p/169420#M264120</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2014-11-13T14:45:09Z</dc:date>
    </item>
    <item>
      <title>Re: proc dataset</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-dataset/m-p/271509#M264121</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;I think we may avoid use of "DICTIONARY.TABLES" when we are searching for datasets based on a particular variable. D&lt;SPAN&gt;ictionary.tables&amp;nbsp;&lt;/SPAN&gt;do not provide information related to variable name which are available in SASHELP. VCOLUMN.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Deepak&lt;/P&gt;</description>
      <pubDate>Wed, 18 May 2016 18:53:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-dataset/m-p/271509#M264121</guid>
      <dc:creator>DeepakSwain</dc:creator>
      <dc:date>2016-05-18T18:53:55Z</dc:date>
    </item>
  </channel>
</rss>

