<?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: Exporting table properties in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Exporting-table-properties/m-p/248859#M17617</link>
    <description>&lt;P&gt;For adhoc applications, you can &lt;A href="http://blogs.sas.com/content/sasdummy/2012/08/14/proc-contents-into-excel/" target="_self"&gt;simply copy/paste the attributes from the Data summary into Excel&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For a programming approach, you can output the details in PROC DATASETS and export to Excel using either PROC EXPORT or ODS EXCEL:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc datasets lib=sashelp nolist  ;
  contents data=class out=work.classattr;
quit;

/* requires SAS/ACCESS to PC Files */
proc export data=classattr  
  file="c:\temp\attr.xlsx" 
   dbms=xlsx replace;
run;

/* Base SAS in 9.4m2 or later */
ods excel file="c:\temp\attr_ods.xlsx" ;
  proc print data=classattr; run;
ods excel close;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Chris&lt;/P&gt;</description>
    <pubDate>Tue, 09 Feb 2016 14:38:18 GMT</pubDate>
    <dc:creator>ChrisHemedinger</dc:creator>
    <dc:date>2016-02-09T14:38:18Z</dc:date>
    <item>
      <title>Exporting table properties</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Exporting-table-properties/m-p/248851#M17614</link>
      <description>&lt;P&gt;Is there any way to export a datasets properties to excel?&amp;nbsp; What I mean by this is that in EG&amp;nbsp;if you right click on a data set, select properties and then the columns tab, SAS displays the Name, Type, Length, Format, etc for that table.&amp;nbsp; I'm looking for a way to export this exact same data into excel in order to create a type of quick reference/data dictionary.&amp;nbsp; Is anyone aware if this is possible?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Tue, 09 Feb 2016 14:07:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Exporting-table-properties/m-p/248851#M17614</guid>
      <dc:creator>mczeg</dc:creator>
      <dc:date>2016-02-09T14:07:42Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting table properties</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Exporting-table-properties/m-p/248852#M17615</link>
      <description>&lt;P&gt;There's a couple of different ways - one is to write a proc contents and export those results to excel.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc contents data=have;run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 09 Feb 2016 14:09:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Exporting-table-properties/m-p/248852#M17615</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-02-09T14:09:22Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting table properties</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Exporting-table-properties/m-p/248856#M17616</link>
      <description>&lt;P&gt;Also, you can get this information from SASHELP.Vxxxx views, which holds inforamtion for all datasets/views available&amp;nbsp;to the SAS&amp;nbsp;session. VSTABLE and VCOLUMN if remember correctly could be of interest.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Feb 2016 14:30:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Exporting-table-properties/m-p/248856#M17616</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2016-02-09T14:30:44Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting table properties</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Exporting-table-properties/m-p/248859#M17617</link>
      <description>&lt;P&gt;For adhoc applications, you can &lt;A href="http://blogs.sas.com/content/sasdummy/2012/08/14/proc-contents-into-excel/" target="_self"&gt;simply copy/paste the attributes from the Data summary into Excel&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For a programming approach, you can output the details in PROC DATASETS and export to Excel using either PROC EXPORT or ODS EXCEL:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc datasets lib=sashelp nolist  ;
  contents data=class out=work.classattr;
quit;

/* requires SAS/ACCESS to PC Files */
proc export data=classattr  
  file="c:\temp\attr.xlsx" 
   dbms=xlsx replace;
run;

/* Base SAS in 9.4m2 or later */
ods excel file="c:\temp\attr_ods.xlsx" ;
  proc print data=classattr; run;
ods excel close;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Chris&lt;/P&gt;</description>
      <pubDate>Tue, 09 Feb 2016 14:38:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Exporting-table-properties/m-p/248859#M17617</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2016-02-09T14:38:18Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting table properties</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Exporting-table-properties/m-p/248869#M17621</link>
      <description>&lt;P&gt;Thanks all for the information&lt;/P&gt;</description>
      <pubDate>Tue, 09 Feb 2016 15:13:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Exporting-table-properties/m-p/248869#M17621</guid>
      <dc:creator>mczeg</dc:creator>
      <dc:date>2016-02-09T15:13:35Z</dc:date>
    </item>
  </channel>
</rss>

