<?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: table and  column names in common in SAS Data Management</title>
    <link>https://communities.sas.com/t5/SAS-Data-Management/table-and-column-names-in-common/m-p/520886#M16131</link>
    <description>&lt;P&gt;Alternatively with a dataset&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data want;
set sashelp.vcolumn;
where libname='WORK';
run;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 12 Dec 2018 16:17:03 GMT</pubDate>
    <dc:creator>Jagadishkatam</dc:creator>
    <dc:date>2018-12-12T16:17:03Z</dc:date>
    <item>
      <title>table and  column names in common</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/table-and-column-names-in-common/m-p/520863#M16128</link>
      <description>&lt;P&gt;Good afternoon,&lt;/P&gt;&lt;P&gt;I have a library with more tables i need to create a new table who contains all the names of columns &amp;nbsp;(of all tables) and in wich table the column name is contained.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you suggest something?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Tnks!!!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Tecla&lt;/P&gt;</description>
      <pubDate>Wed, 12 Dec 2018 15:51:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/table-and-column-names-in-common/m-p/520863#M16128</guid>
      <dc:creator>Tecla1</dc:creator>
      <dc:date>2018-12-12T15:51:06Z</dc:date>
    </item>
    <item>
      <title>Re: table and  column names in common</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/table-and-column-names-in-common/m-p/520866#M16129</link>
      <description>&lt;P&gt;The work is already done for you. Use the DICTIONARY table.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sql;
    create table want as select * from dictionary.columns;
quit;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 12 Dec 2018 15:52:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/table-and-column-names-in-common/m-p/520866#M16129</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2018-12-12T15:52:46Z</dc:date>
    </item>
    <item>
      <title>Re: table and  column names in common</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/table-and-column-names-in-common/m-p/520885#M16130</link>
      <description>&lt;PRE&gt;proc sql;
    create table want as select * from dictionary.columns
       where libname='YOURLIB'
   ;
quit;&lt;/PRE&gt;
&lt;P&gt;The libname (as well as memname for datasets)&amp;nbsp;is stored in the dictionary view in all upper case so either provide the name in upper case or use other method to ensure your name value and the libname is the same case for comparison&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Dec 2018 16:14:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/table-and-column-names-in-common/m-p/520885#M16130</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2018-12-12T16:14:11Z</dc:date>
    </item>
    <item>
      <title>Re: table and  column names in common</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/table-and-column-names-in-common/m-p/520886#M16131</link>
      <description>&lt;P&gt;Alternatively with a dataset&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data want;
set sashelp.vcolumn;
where libname='WORK';
run;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 12 Dec 2018 16:17:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/table-and-column-names-in-common/m-p/520886#M16131</guid>
      <dc:creator>Jagadishkatam</dc:creator>
      <dc:date>2018-12-12T16:17:03Z</dc:date>
    </item>
  </channel>
</rss>

