<?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: Why Proc contents does not show the number of observations in my dataset? in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Why-Proc-contents-does-not-show-the-number-of-observations-in-my/m-p/112778#M31210</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The reason I asked about the version of SAS you are running is that there is an EXTENDOBSCOUNT data set option beginning in SAS 9.3 that is designed for use with large datasets. I haven't thoroughly read the SAS documentation and we don't have datasets anywhere near the necessary size limits, so I'm not sure whether this option will have any effect on observation counts produced by PROC CONTENTS, etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone know?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 23 Aug 2013 00:04:35 GMT</pubDate>
    <dc:creator>Fugue</dc:creator>
    <dc:date>2013-08-23T00:04:35Z</dc:date>
    <item>
      <title>Why Proc contents does not show the number of observations in my dataset?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Why-Proc-contents-does-not-show-the-number-of-observations-in-my/m-p/112765#M31197</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi SAS Forum;&lt;/P&gt;&lt;P&gt;Could you please help me on this layman question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I ran the below code for my large data set to see how many records are there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Proc contents data=huge_data_set varnum; &lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The output table generated has a dot in front of the "number of observations" &lt;BR /&gt;and it does not show the real number of observations in the data set.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Q:Why Proc contents doesn't provide the "number of observations" ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your time&lt;BR /&gt;Mirisage&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Aug 2013 19:41:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Why-Proc-contents-does-not-show-the-number-of-observations-in-my/m-p/112765#M31197</guid>
      <dc:creator>Mirisage</dc:creator>
      <dc:date>2013-08-15T19:41:44Z</dc:date>
    </item>
    <item>
      <title>Re: Why Proc contents does not show the number of observations in my dataset?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Why-Proc-contents-does-not-show-the-number-of-observations-in-my/m-p/112766#M31198</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There are several possibilities as to why the number of observations would be unknown.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. The data is stored on tape.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. The data is stored on disk, but in tape format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. The data set is actually a view rather than a data set.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You probably already know which of these applies ... but if you don't then it's likely to be #2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Aug 2013 20:26:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Why-Proc-contents-does-not-show-the-number-of-observations-in-my/m-p/112766#M31198</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2013-08-15T20:26:05Z</dc:date>
    </item>
    <item>
      <title>Re: Why Proc contents does not show the number of observations in my dataset?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Why-Proc-contents-does-not-show-the-number-of-observations-in-my/m-p/112767#M31199</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;And apparently from another thread, if the number records exceeds the maximum value that SAS will store in a numeric variable then Contets reports missing. Depending on how precise you need the record count, you can get an estimate from the the Engine/host dependent information. Use ("Number of data set pages" - "First Data Page")* "Max obs per page".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The first "pages" store the header information and varies depending on numbers of variables and lengths of labels and such.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could try looking up the number of observations in the Dictionary table Members, but will probably find the number of records there missing as well.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Aug 2013 21:50:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Why-Proc-contents-does-not-show-the-number-of-observations-in-my/m-p/112767#M31199</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2013-08-15T21:50:01Z</dc:date>
    </item>
    <item>
      <title>Re: Why Proc contents does not show the number of observations in my dataset?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Why-Proc-contents-does-not-show-the-number-of-observations-in-my/m-p/112768#M31200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;STRONG style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;A _jive_internal="true" class="jiveTT-hover-user jive-username-link" data-avatarid="-1" data-externalid="" data-presence="null" data-userid="5253" data-username="Astounding" href="https://communities.sas.com/people/Astounding" id="jive-525377186014785577803" style="padding: 0 3px 0 0; font-weight: inherit; font-style: inherit; font-size: 1.1em; font-family: inherit; color: #0e66ba; text-decoration: underline;"&gt;Astounding&lt;/A&gt; &lt;/STRONG&gt;and &lt;STRONG&gt;&lt;A _jive_internal="true" data-avatarid="-1" data-externalid="" data-online="false" data-presence="null" data-userid="260198" data-username="ballardw" href="https://communities.sas.com/people/ballardw" style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #8ca9cd; background-color: #ffffff;"&gt;ballardw&lt;/A&gt;,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Many thanks to both of you for providing me with this knowledge.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mirisage&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 17 Aug 2013 00:20:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Why-Proc-contents-does-not-show-the-number-of-observations-in-my/m-p/112768#M31200</guid>
      <dc:creator>Mirisage</dc:creator>
      <dc:date>2013-08-17T00:20:23Z</dc:date>
    </item>
    <item>
      <title>Re: Why Proc contents does not show the number of observations in my dataset?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Why-Proc-contents-does-not-show-the-number-of-observations-in-my/m-p/112769#M31201</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What happens if you use the following?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%LET DSID&amp;nbsp; = %SYSFUNC(OPEN(WORK.NEWFILES,I));&lt;/P&gt;&lt;P&gt;%LET TOTAL = %SYSFUNC(ATTRN(&amp;amp;DSID.,NOBS));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does the macro variable store the correct number of observations?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 17 Aug 2013 06:07:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Why-Proc-contents-does-not-show-the-number-of-observations-in-my/m-p/112769#M31201</guid>
      <dc:creator>Scott_Mitchell</dc:creator>
      <dc:date>2013-08-17T06:07:51Z</dc:date>
    </item>
    <item>
      <title>Re: Why Proc contents does not show the number of observations in my dataset?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Why-Proc-contents-does-not-show-the-number-of-observations-in-my/m-p/112770#M31202</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;Hi &lt;/SPAN&gt;Scott_Mitchell,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am very curious to run your code and see.&lt;/P&gt;&lt;P&gt;My very large data set is stored in a warehouse. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lets say I assign the library name to the warehouse as "location". &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then the proc contenets code that has not provided us with the actual number of observations is like below.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;Proc contents data=location.huge_data_set varnum; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;run;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;I can understand only that much. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; font-family: Helvetica, sans-serif; background-color: lime;"&gt;Question:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;Then what should I do to apply your code? &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;Is that just copy your below code into my sas editor and running?&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;STRONG&gt;%LET DSID&amp;nbsp; = %SYSFUNC(OPEN(WORK.NEWFILES,I));&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;STRONG&gt;%LET TOTAL = %SYSFUNC(ATTRN(&amp;amp;DSID.,NOBS));&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;Please let me know.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;Mirisage&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 17 Aug 2013 21:38:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Why-Proc-contents-does-not-show-the-number-of-observations-in-my/m-p/112770#M31202</guid>
      <dc:creator>Mirisage</dc:creator>
      <dc:date>2013-08-17T21:38:30Z</dc:date>
    </item>
    <item>
      <title>Re: Why Proc contents does not show the number of observations in my dataset?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Why-Proc-contents-does-not-show-the-number-of-observations-in-my/m-p/112771#M31203</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Take Scott's code, paste it into a SAS program and submit it. Add %put statements to output the results to the LOG. Something like this . . .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;STRONG&gt;%LET DSID&amp;nbsp; = %SYSFUNC(OPEN(WORK.NEWFILES,I));&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;STRONG&gt;%LET TOTAL = %SYSFUNC(ATTRN(&amp;amp;DSID.,NOBS));&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;STRONG&gt;%PUT the number of observations is &amp;amp;TOTAL;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 17 Aug 2013 21:55:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Why-Proc-contents-does-not-show-the-number-of-observations-in-my/m-p/112771#M31203</guid>
      <dc:creator>Fugue</dc:creator>
      <dc:date>2013-08-17T21:55:07Z</dc:date>
    </item>
    <item>
      <title>Re: Why Proc contents does not show the number of observations in my dataset?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Why-Proc-contents-does-not-show-the-number-of-observations-in-my/m-p/112772#M31204</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;You also need to change &lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;WORK.NEWFILES&lt;/SPAN&gt; to the name of your dataset &lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;LOCATION.HUGE_DATA_SET&lt;/SPAN&gt;.&amp;nbsp; Probably self evident, but just in case.&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;%LET DSID&amp;nbsp; = %SYSFUNC(OPEN(WORK.NEWFILES,I));&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;%LET TOTAL = %SYSFUNC(ATTRN(&amp;amp;DSID.,NOBS));&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;%PUT the number of observations is &amp;amp;TOTAL;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 18 Aug 2013 02:06:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Why-Proc-contents-does-not-show-the-number-of-observations-in-my/m-p/112772#M31204</guid>
      <dc:creator>Scott_Mitchell</dc:creator>
      <dc:date>2013-08-18T02:06:50Z</dc:date>
    </item>
    <item>
      <title>Re: Why Proc contents does not show the number of observations in my dataset?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Why-Proc-contents-does-not-show-the-number-of-observations-in-my/m-p/112773#M31205</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Hi Fugue and &lt;/SPAN&gt;Scott_Mitchell,&lt;SPAN style="font-size: 12pt; font-family: Courier New;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: Courier New;"&gt;Thanks. Then I ran the follwing SAS code.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-indent: -0.25in; padding-left: 22px; background: white;"&gt;&lt;SPAN lang="EN" style="font-family: Symbol; color: blue; font-size: 10pt;"&gt;&lt;SPAN class="pasted-list-info"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN" style="font-family: 'Helvetica','sans-serif'; color: blue; font-size: 10pt;"&gt;%LET DSID&amp;nbsp; = %SYSFUNC(OPEN(&lt;/SPAN&gt;&lt;SPAN lang="EN" style="font-family: 'Helvetica','sans-serif'; background: white; color: #575757; font-size: 10pt;"&gt;LOCATION.HUGE_DATA_SET&lt;/SPAN&gt;&lt;SPAN lang="EN" style="font-family: 'Helvetica','sans-serif'; color: blue; font-size: 10pt;"&gt;,I));&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN lang="EN" style="font-family: 'Helvetica','sans-serif'; color: blue; font-size: 10pt;"&gt;%LET TOTAL = %SYSFUNC(ATTRN(&amp;amp;DSID.,NOBS));&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN lang="EN" style="font-family: 'Helvetica','sans-serif'; color: blue; font-size: 10pt;"&gt;%PUT the number of observations is &amp;amp;TOTAL;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: Courier New;"&gt;It produced the following log note. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;%LET DSID = %SYSFUNC(OPEN(pcfwh.U_PCF_PROPENSITY,I));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;16 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;17 %LET TOTAL = %SYSFUNC(ATTRN(&amp;amp;DSID.,NOBS));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SYMBOLGEN: Macro variable DSID resolves to 2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;18 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;19 %PUT the number of observations is &amp;amp;TOTAL;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SYMBOLGEN: Macro variable TOTAL resolves to -1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the number of observations is -1&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: Courier New;"&gt;It seems that the number of observations is not given correctly.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: Courier New;"&gt;Thanks anyway to both of you.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: Courier New;"&gt;Mirisage&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Aug 2013 17:57:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Why-Proc-contents-does-not-show-the-number-of-observations-in-my/m-p/112773#M31205</guid>
      <dc:creator>Mirisage</dc:creator>
      <dc:date>2013-08-19T17:57:28Z</dc:date>
    </item>
    <item>
      <title>Re: Why Proc contents does not show the number of observations in my dataset?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Why-Proc-contents-does-not-show-the-number-of-observations-in-my/m-p/112774#M31206</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Which isn't really surprising. The ATTRN function is going to have the same numeric storage/display limitations as any other SAS numeric value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would wonder if the data warehouse has an equivalent of the SAS dictionary tables that could be queried.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Aug 2013 18:06:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Why-Proc-contents-does-not-show-the-number-of-observations-in-my/m-p/112774#M31206</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2013-08-19T18:06:27Z</dc:date>
    </item>
    <item>
      <title>Re: Why Proc contents does not show the number of observations in my dataset?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Why-Proc-contents-does-not-show-the-number-of-observations-in-my/m-p/112775#M31207</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was hoping for an error or a missing value, as opposed to -1 for number of observations not available.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can't believe there isn't an accurate way to identify the number of observations in a dataset that size.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Aug 2013 23:59:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Why-Proc-contents-does-not-show-the-number-of-observations-in-my/m-p/112775#M31207</guid>
      <dc:creator>Scott_Mitchell</dc:creator>
      <dc:date>2013-08-19T23:59:48Z</dc:date>
    </item>
    <item>
      <title>Re: Why Proc contents does not show the number of observations in my dataset?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Why-Proc-contents-does-not-show-the-number-of-observations-in-my/m-p/112776#M31208</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What do you mean by a 'warehouse'?&amp;nbsp; If it is in some non-SAS database management system (oracle, teradata, etc) then SAS cannot know the number of observations without asking the database.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Aug 2013 00:23:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Why-Proc-contents-does-not-show-the-number-of-observations-in-my/m-p/112776#M31208</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2013-08-20T00:23:46Z</dc:date>
    </item>
    <item>
      <title>Re: Why Proc contents does not show the number of observations in my dataset?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Why-Proc-contents-does-not-show-the-number-of-observations-in-my/m-p/112777#M31209</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What version of SAS are you running?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Aug 2013 20:58:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Why-Proc-contents-does-not-show-the-number-of-observations-in-my/m-p/112777#M31209</guid>
      <dc:creator>Fugue</dc:creator>
      <dc:date>2013-08-20T20:58:26Z</dc:date>
    </item>
    <item>
      <title>Re: Why Proc contents does not show the number of observations in my dataset?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Why-Proc-contents-does-not-show-the-number-of-observations-in-my/m-p/112778#M31210</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The reason I asked about the version of SAS you are running is that there is an EXTENDOBSCOUNT data set option beginning in SAS 9.3 that is designed for use with large datasets. I haven't thoroughly read the SAS documentation and we don't have datasets anywhere near the necessary size limits, so I'm not sure whether this option will have any effect on observation counts produced by PROC CONTENTS, etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone know?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Aug 2013 00:04:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Why-Proc-contents-does-not-show-the-number-of-observations-in-my/m-p/112778#M31210</guid>
      <dc:creator>Fugue</dc:creator>
      <dc:date>2013-08-23T00:04:35Z</dc:date>
    </item>
    <item>
      <title>Re: Why Proc contents does not show the number of observations in my dataset?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Why-Proc-contents-does-not-show-the-number-of-observations-in-my/m-p/112779#M31211</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tom and Fugue,&lt;/P&gt;&lt;P&gt;Sorry I could not respond you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Tom's question, What do you mean by a 'warehouse'? It is a Oracle data base. May be I cannot give the name of the data base for confidentiality&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Fugue's question: I am using SAS Ver 9.2 in Windows. It is emebedded in SAS EG ver 4.3. (My IT knowledge is not good, but I think we can say like ....."embedded in SAS EG").&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks every one for this discussion and great knowledge.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mirisage&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Aug 2013 12:24:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Why-Proc-contents-does-not-show-the-number-of-observations-in-my/m-p/112779#M31211</guid>
      <dc:creator>Mirisage</dc:creator>
      <dc:date>2013-08-23T12:24:24Z</dc:date>
    </item>
    <item>
      <title>Re: Why Proc contents does not show the number of observations in my dataset?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Why-Proc-contents-does-not-show-the-number-of-observations-in-my/m-p/112780#M31212</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could he use sql pass thru and run a query to count the number of rows and convert the results to character before they are passed back to SAS? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could also try the system table all_tables&amp;nbsp; column num_rows however this isn't always up to date.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Aug 2013 12:58:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Why-Proc-contents-does-not-show-the-number-of-observations-in-my/m-p/112780#M31212</guid>
      <dc:creator>Scott_Mitchell</dc:creator>
      <dc:date>2013-08-23T12:58:40Z</dc:date>
    </item>
    <item>
      <title>Re: Why Proc contents does not show the number of observations in my dataset?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Why-Proc-contents-does-not-show-the-number-of-observations-in-my/m-p/112781#M31213</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you run PROC CONTENTS on tables/views that are in a foreign database (Oracle, Teradata, etc) then it will not report the number of observations.&amp;nbsp; It has nothing to do with the size of the table.&amp;nbsp; When SAS writes a SAS dataset it stores the number of observations where PROC CONTENTS can retrieve it without counting all of the rows.&amp;nbsp; It cannot do that for external databases.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Aug 2013 13:23:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Why-Proc-contents-does-not-show-the-number-of-observations-in-my/m-p/112781#M31213</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2013-08-23T13:23:49Z</dc:date>
    </item>
    <item>
      <title>Re: Why Proc contents does not show the number of observations in my dataset?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Why-Proc-contents-does-not-show-the-number-of-observations-in-my/m-p/112782#M31214</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tom,&lt;BR /&gt;Thank you for your nice clarification .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi Scott_Mitchell,&lt;/P&gt;&lt;P&gt;Thank you for your ontribution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Mirisage&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 24 Aug 2013 03:44:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Why-Proc-contents-does-not-show-the-number-of-observations-in-my/m-p/112782#M31214</guid>
      <dc:creator>Mirisage</dc:creator>
      <dc:date>2013-08-24T03:44:32Z</dc:date>
    </item>
  </channel>
</rss>

