<?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: Summary table based on PROC CONTENTS - need to add N and NMISS in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Summary-table-based-on-PROC-CONTENTS-need-to-add-N-and-NMISS/m-p/26281#M5995</link>
    <description>SAS doesn't do that in one procedure.  You are going to have to splice together the information from multiple procedures.  You can use the ODS datasets to output the data and then merge it back together.  You may actually find the Enterprise Guide "Characterize data" task gives you the additional information that you need; the statisticians will appreciate the additional distribution information from that task.</description>
    <pubDate>Sun, 23 May 2010 17:34:37 GMT</pubDate>
    <dc:creator>Doc_Duke</dc:creator>
    <dc:date>2010-05-23T17:34:37Z</dc:date>
    <item>
      <title>Summary table based on PROC CONTENTS - need to add N and NMISS</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Summary-table-based-on-PROC-CONTENTS-need-to-add-N-and-NMISS/m-p/26280#M5994</link>
      <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
I'm trying to produce a brief but comprehensive report on tables extracted from a database with SAS, for delivery to a third party for statistical analysis.  The table below produced with PROC CONTENTS is just the sort of thing I'm aiming for, but there are two columns I'd like to add - N and NMISS for every variable (character, numeric or date).&lt;BR /&gt;
&lt;BR /&gt;
Can anyone help with this?  I'm running 9.2 on Windows XP.&lt;BR /&gt;
&lt;BR /&gt;
Thanks in advance,&lt;BR /&gt;
&lt;BR /&gt;
Norman.&lt;BR /&gt;
&lt;BR /&gt;
Here is a sample of a table - sorry about the formatting; the columns align in my document!&lt;BR /&gt;
&lt;BR /&gt;
TT01 Form&lt;BR /&gt;
&lt;BR /&gt;
The CONTENTS Procedure&lt;BR /&gt;
&lt;BR /&gt;
Variables in Creation Order&lt;BR /&gt;
#	Variable	Type	Len	Format	Informat	Label&lt;BR /&gt;
1	TSTAMP	Num	8	DATE9.	DATE9.	TSTAMP&lt;BR /&gt;
2	TT	Char	50	$50.	$50.	TT&lt;BR /&gt;
3	PTIDENT	Char	50	$50.	$50.	PTIDENT&lt;BR /&gt;
4	PTTRIALID	Char	50	$50.	$50.	PTTRIALID&lt;BR /&gt;
5	UK	Num	8	11.	11.	UK&lt;BR /&gt;
6	INCRIT1	Num	8	11.	11.	INCRIT1&lt;BR /&gt;
7	INCRIT2	Num	8	11.	11.	INCRIT2&lt;BR /&gt;
8	INCRIT3	Num	8	11.	11.	INCRIT3&lt;BR /&gt;
9	INCRIT4	Num	8	11.	11.	INCRIT4&lt;BR /&gt;
10	INCRIT5	Num	8	11.	11.	INCRIT5&lt;BR /&gt;
11	EXCRIT1	Num	8	11.	11.	EXCRIT1&lt;BR /&gt;
12	EXCRIT2	Num	8	11.	11.	EXCRIT2&lt;BR /&gt;
13	EXCRIT3	Num	8	11.	11.	EXCRIT3&lt;BR /&gt;
14	EXCRIT4	Num	8	11.	11.	EXCRIT4&lt;BR /&gt;
15	EXCRIT5	Num	8	11.	11.	EXCRIT5&lt;BR /&gt;
16	PSNAME1	Char	50	$50.	$50.	PSNAME1&lt;BR /&gt;
17	PFNAME1	Char	50	$50.	$50.	PFNAME1&lt;BR /&gt;
18	HOSPNO1	Char	50	$50.	$50.	HOSPNO1&lt;BR /&gt;
19	DOB1	Num	8	DATE9.	DATE9.	DOB1&lt;BR /&gt;
20	DPTINFO	Num	8	DATE9.	DATE9.	DPTINFO&lt;BR /&gt;
...etc.</description>
      <pubDate>Sun, 23 May 2010 16:02:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Summary-table-based-on-PROC-CONTENTS-need-to-add-N-and-NMISS/m-p/26280#M5994</guid>
      <dc:creator>Norman21</dc:creator>
      <dc:date>2010-05-23T16:02:43Z</dc:date>
    </item>
    <item>
      <title>Re: Summary table based on PROC CONTENTS - need to add N and NMISS</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Summary-table-based-on-PROC-CONTENTS-need-to-add-N-and-NMISS/m-p/26281#M5995</link>
      <description>SAS doesn't do that in one procedure.  You are going to have to splice together the information from multiple procedures.  You can use the ODS datasets to output the data and then merge it back together.  You may actually find the Enterprise Guide "Characterize data" task gives you the additional information that you need; the statisticians will appreciate the additional distribution information from that task.</description>
      <pubDate>Sun, 23 May 2010 17:34:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Summary-table-based-on-PROC-CONTENTS-need-to-add-N-and-NMISS/m-p/26281#M5995</guid>
      <dc:creator>Doc_Duke</dc:creator>
      <dc:date>2010-05-23T17:34:37Z</dc:date>
    </item>
  </channel>
</rss>

