<?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 CONTENTS with DB2-Tables in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/PROC-CONTENTS-with-DB2-Tables/m-p/494117#M130154</link>
    <description>&lt;P&gt;Hello &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13976"&gt;@SASKiwi&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you for your remarks. I guess the sticking point to what it boils down is the question of "relevancy". For me personally I'd consider it rather relevant to know the # of observations (just like knowing the creation date) even though it could mean loss in efficiency/speed. But of course this is just my view when talking about DB2-Tables. Since PROC CONTENTS has to deal with ANY kindy of external DBMS, I guess, this is the lowest common denominator....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 10 Sep 2018 13:20:52 GMT</pubDate>
    <dc:creator>FK1</dc:creator>
    <dc:date>2018-09-10T13:20:52Z</dc:date>
    <item>
      <title>PROC CONTENTS with DB2-Tables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PROC-CONTENTS-with-DB2-Tables/m-p/494040#M130111</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Quite a while ago, I encountered an issue that has been bothering me ever since. Namely, when I run a &lt;STRONG&gt;PROC CONTENTS &lt;/STRONG&gt;on a DB2-Table that has been assigned in a library certain (meta) field information is missing:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Number of observations&lt;/LI&gt;&lt;LI&gt;Last modified date,&lt;/LI&gt;&lt;LI&gt;Create date&lt;/LI&gt;&lt;LI&gt;....&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Here is a screenshot&amp;nbsp; (the blackend out parts are due to confidentiality requirements)...&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Meta_missing_DB2.JPG" style="width: 589px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/23143i29BBD39A16353659/image-size/large?v=v2&amp;amp;px=999" role="button" title="Meta_missing_DB2.JPG" alt="Meta_missing_DB2.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Has anybody an idea, why the metadata/dictionary tables are not filled, so that consequently the PROC CONTENTS procedure cannot retrieve any information?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thx,&lt;/P&gt;&lt;P&gt;FK1&lt;/P&gt;</description>
      <pubDate>Mon, 10 Sep 2018 13:15:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PROC-CONTENTS-with-DB2-Tables/m-p/494040#M130111</guid>
      <dc:creator>FK1</dc:creator>
      <dc:date>2018-09-10T13:15:26Z</dc:date>
    </item>
    <item>
      <title>Re: PROC CONTENTS with DB2-Tables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PROC-CONTENTS-with-DB2-Tables/m-p/494046#M130117</link>
      <description>&lt;P&gt;Your screenshot is typical of what PROC CONTENTS can display with external database tables. For example Dataset Type and Protection have no meaning when it comes to an external database. Also for performance reasons no observation count is shown. Behind the scenes that would require a - select count(*) - query to be run which could take a long time.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So in summary, PROC CONTENTS is showing details that are both relevant and efficient to extract for the requested table.&lt;/P&gt;</description>
      <pubDate>Mon, 10 Sep 2018 08:51:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PROC-CONTENTS-with-DB2-Tables/m-p/494046#M130117</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2018-09-10T08:51:55Z</dc:date>
    </item>
    <item>
      <title>Re: PROC CONTENTS with DB2-Tables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PROC-CONTENTS-with-DB2-Tables/m-p/494117#M130154</link>
      <description>&lt;P&gt;Hello &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13976"&gt;@SASKiwi&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you for your remarks. I guess the sticking point to what it boils down is the question of "relevancy". For me personally I'd consider it rather relevant to know the # of observations (just like knowing the creation date) even though it could mean loss in efficiency/speed. But of course this is just my view when talking about DB2-Tables. Since PROC CONTENTS has to deal with ANY kindy of external DBMS, I guess, this is the lowest common denominator....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Sep 2018 13:20:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PROC-CONTENTS-with-DB2-Tables/m-p/494117#M130154</guid>
      <dc:creator>FK1</dc:creator>
      <dc:date>2018-09-10T13:20:52Z</dc:date>
    </item>
    <item>
      <title>Re: PROC CONTENTS with DB2-Tables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PROC-CONTENTS-with-DB2-Tables/m-p/494299#M130224</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/114220"&gt;@FK1&lt;/a&gt;&amp;nbsp;- I think your last sentence hits the nail on the head. BTW it isn't very difficult to build your own utility macro to count number of observations / rows in a table so it becomes relatively easy to do.&lt;/P&gt;</description>
      <pubDate>Mon, 10 Sep 2018 20:10:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PROC-CONTENTS-with-DB2-Tables/m-p/494299#M130224</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2018-09-10T20:10:39Z</dc:date>
    </item>
    <item>
      <title>Re: PROC CONTENTS with DB2-Tables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PROC-CONTENTS-with-DB2-Tables/m-p/494404#M130270</link>
      <description>&lt;P&gt;Hi &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13976"&gt;@SASKiwi&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank's for the hint with the utility macro. I'll just use this as a work around.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;FK1&lt;/P&gt;</description>
      <pubDate>Tue, 11 Sep 2018 06:32:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PROC-CONTENTS-with-DB2-Tables/m-p/494404#M130270</guid>
      <dc:creator>FK1</dc:creator>
      <dc:date>2018-09-11T06:32:45Z</dc:date>
    </item>
  </channel>
</rss>

