<?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 How to Show First Table only in Proc Contents in SAS Studio</title>
    <link>https://communities.sas.com/t5/SAS-Studio/How-to-Show-First-Table-only-in-Proc-Contents/m-p/374281#M2941</link>
    <description>&lt;P&gt;The requirement is: Use PROC CONTENTS to view the descriptor portion of each of the three data sets.&lt;BR /&gt;Include only the first table from each of the PROC CONTENTS output (the one with the&lt;BR /&gt;number of observations and variables) and don’t include the other two tables (engine data&lt;BR /&gt;and variable attributes) in the Report&lt;/P&gt;&lt;P&gt;Does anyone know what I need to add on proc contents and let it only shows the first table?&lt;/P&gt;</description>
    <pubDate>Sun, 09 Jul 2017 16:03:54 GMT</pubDate>
    <dc:creator>ydu180</dc:creator>
    <dc:date>2017-07-09T16:03:54Z</dc:date>
    <item>
      <title>How to Show First Table only in Proc Contents</title>
      <link>https://communities.sas.com/t5/SAS-Studio/How-to-Show-First-Table-only-in-Proc-Contents/m-p/374281#M2941</link>
      <description>&lt;P&gt;The requirement is: Use PROC CONTENTS to view the descriptor portion of each of the three data sets.&lt;BR /&gt;Include only the first table from each of the PROC CONTENTS output (the one with the&lt;BR /&gt;number of observations and variables) and don’t include the other two tables (engine data&lt;BR /&gt;and variable attributes) in the Report&lt;/P&gt;&lt;P&gt;Does anyone know what I need to add on proc contents and let it only shows the first table?&lt;/P&gt;</description>
      <pubDate>Sun, 09 Jul 2017 16:03:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/How-to-Show-First-Table-only-in-Proc-Contents/m-p/374281#M2941</guid>
      <dc:creator>ydu180</dc:creator>
      <dc:date>2017-07-09T16:03:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to Show First Table only in Proc Contents</title>
      <link>https://communities.sas.com/t5/SAS-Studio/How-to-Show-First-Table-only-in-Proc-Contents/m-p/374284#M2943</link>
      <description>&lt;P&gt;Use ods trace on to find the names of the tables. &amp;nbsp;Then use ods select to select the table(s) of interest.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;ods trace on;
proc contents data=sashelp.iris;
   ods select attributes;
run;&lt;/PRE&gt;</description>
      <pubDate>Sun, 09 Jul 2017 16:16:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/How-to-Show-First-Table-only-in-Proc-Contents/m-p/374284#M2943</guid>
      <dc:creator>WarrenKuhfeld</dc:creator>
      <dc:date>2017-07-09T16:16:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to Show First Table only in Proc Contents</title>
      <link>https://communities.sas.com/t5/SAS-Studio/How-to-Show-First-Table-only-in-Proc-Contents/m-p/374289#M2945</link>
      <description>&lt;P&gt;Thank you it works.&lt;/P&gt;</description>
      <pubDate>Sun, 09 Jul 2017 16:57:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/How-to-Show-First-Table-only-in-Proc-Contents/m-p/374289#M2945</guid>
      <dc:creator>ydu180</dc:creator>
      <dc:date>2017-07-09T16:57:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to Show First Table only in Proc Contents</title>
      <link>https://communities.sas.com/t5/SAS-Studio/How-to-Show-First-Table-only-in-Proc-Contents/m-p/374302#M2947</link>
      <description>&lt;P&gt;Of course you could just skip the PROC CONTENTS altogether and query the metadata yourself.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc print data=sashelp.vtable ;
  where libname='WORK';
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 09 Jul 2017 18:18:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/How-to-Show-First-Table-only-in-Proc-Contents/m-p/374302#M2947</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2017-07-09T18:18:27Z</dc:date>
    </item>
  </channel>
</rss>

