<?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: Data summary in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Data-summary/m-p/33264#M8060</link>
    <description>Hi:&lt;BR /&gt;
  By "value labels" I figure you mean user-defined formats??? If so, PROC CONTENTS will only show you the name of the format. You would have to use PROC FORMAT to get the FMTLIB report on a particular format or formats. PROC FORMAT has a SELECT statement which allows you to get a report which will list a particular format or informat (or select a group of formats). You can also use the CNTLOUT feature of PROC FORMAT to create a SAS dataset from a format.&lt;BR /&gt;
&lt;BR /&gt;
  For more information on FMTLIB or CNTLOUT, consult the SAS documentation.&lt;BR /&gt;
 &lt;BR /&gt;
cynthia</description>
    <pubDate>Tue, 22 Jul 2008 15:23:10 GMT</pubDate>
    <dc:creator>Cynthia_sas</dc:creator>
    <dc:date>2008-07-22T15:23:10Z</dc:date>
    <item>
      <title>Data summary</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Data-summary/m-p/33262#M8058</link>
      <description>I am trying to produce a list of information on all variables in a data set, including the name of each variable, it's variable label, and any value labels associated with it.&lt;BR /&gt;
&lt;BR /&gt;
PROC CONTENTS appears to take care of the variable labels, but I cannot figure out how to include the value labels in this list.&lt;BR /&gt;
&lt;BR /&gt;
Is there any way to do this?</description>
      <pubDate>Tue, 22 Jul 2008 09:37:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Data-summary/m-p/33262#M8058</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2008-07-22T09:37:25Z</dc:date>
    </item>
    <item>
      <title>Re: Data summary</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Data-summary/m-p/33263#M8059</link>
      <description>It's unclear - your reference to "value label".  SAS maintains variable labels and SAS member labels, but there is no "label information" associated with a given observation (row) within a SAS member.  Can you provide more details about what you are trying to accomplish?&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.</description>
      <pubDate>Tue, 22 Jul 2008 15:13:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Data-summary/m-p/33263#M8059</guid>
      <dc:creator>sbb</dc:creator>
      <dc:date>2008-07-22T15:13:47Z</dc:date>
    </item>
    <item>
      <title>Re: Data summary</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Data-summary/m-p/33264#M8060</link>
      <description>Hi:&lt;BR /&gt;
  By "value labels" I figure you mean user-defined formats??? If so, PROC CONTENTS will only show you the name of the format. You would have to use PROC FORMAT to get the FMTLIB report on a particular format or formats. PROC FORMAT has a SELECT statement which allows you to get a report which will list a particular format or informat (or select a group of formats). You can also use the CNTLOUT feature of PROC FORMAT to create a SAS dataset from a format.&lt;BR /&gt;
&lt;BR /&gt;
  For more information on FMTLIB or CNTLOUT, consult the SAS documentation.&lt;BR /&gt;
 &lt;BR /&gt;
cynthia</description>
      <pubDate>Tue, 22 Jul 2008 15:23:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Data-summary/m-p/33264#M8060</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2008-07-22T15:23:10Z</dc:date>
    </item>
    <item>
      <title>Re: Data summary</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Data-summary/m-p/33265#M8061</link>
      <description>Hi - thanks for your reply,&lt;BR /&gt;
&lt;BR /&gt;
by "value label" I mean, for example, in a variable called 'COUNTRY' I would have:&lt;BR /&gt;
1. France&lt;BR /&gt;
2. Germany&lt;BR /&gt;
3. Italy&lt;BR /&gt;
4. Spain&lt;BR /&gt;
5. UK&lt;BR /&gt;
&lt;BR /&gt;
It is these options I would like to display alongside the variable label if possible.&lt;BR /&gt;
&lt;BR /&gt;
I hope you (or anyone else) is able to help with this additional information!</description>
      <pubDate>Tue, 22 Jul 2008 15:28:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Data-summary/m-p/33265#M8061</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2008-07-22T15:28:07Z</dc:date>
    </item>
    <item>
      <title>Re: Data summary</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Data-summary/m-p/33266#M8062</link>
      <description>Hi:&lt;BR /&gt;
  Those look like the distinct levels of the variable values to me. You can get that from the NLEVEL option of PROC FREQ or a SELECT distinct in PROC SQL -- but NOT from PROC CONTENTS.&lt;BR /&gt;
 &lt;BR /&gt;
cynthia</description>
      <pubDate>Tue, 22 Jul 2008 16:43:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Data-summary/m-p/33266#M8062</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2008-07-22T16:43:50Z</dc:date>
    </item>
  </channel>
</rss>

