<?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 Character Column in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Character-Column/m-p/45405#M9387</link>
    <description>Hi,&lt;BR /&gt;
Let me know how to count the number of character columns in the SAS dataset.</description>
    <pubDate>Wed, 17 Jun 2009 08:33:31 GMT</pubDate>
    <dc:creator>Log</dc:creator>
    <dc:date>2009-06-17T08:33:31Z</dc:date>
    <item>
      <title>Character Column</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Character-Column/m-p/45405#M9387</link>
      <description>Hi,&lt;BR /&gt;
Let me know how to count the number of character columns in the SAS dataset.</description>
      <pubDate>Wed, 17 Jun 2009 08:33:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Character-Column/m-p/45405#M9387</guid>
      <dc:creator>Log</dc:creator>
      <dc:date>2009-06-17T08:33:31Z</dc:date>
    </item>
    <item>
      <title>Re: Character Column</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Character-Column/m-p/45406#M9388</link>
      <description>You can use the SAS-maintained view DICTIONARY.COLUMNS and PROC SQL to count information about SAS dataset/library members.  The SAS support  &lt;A href="http://support.sas.com/" target="_blank"&gt;http://support.sas.com/&lt;/A&gt;  website has SAS-hosted documentation and supplemental technical papers and info resources on this type of topic, available by using the website search facility or a Google advanced search adding the site:sas.com   parameter to limit the search to just that website/domain.&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.&lt;BR /&gt;
&lt;BR /&gt;
Accessing SAS System Information by Using DICTIONARY Tables&lt;BR /&gt;
&lt;A href="http://support.sas.com/documentation/cdl/en/sqlproc/62086/HTML/default/a001385596.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/sqlproc/62086/HTML/default/a001385596.htm&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Variable Names Don’t Begin with the Same Characters? No Problem: How to Create Variable List without Copying, Pasting or Excel Intervention Xu Zeng, Independent Consultant, Fairfax, VA&lt;BR /&gt;
&lt;A href="http://support.sas.com/resources/papers/proceedings09/053-2009.pdf" target="_blank"&gt;http://support.sas.com/resources/papers/proceedings09/053-2009.pdf&lt;/A&gt;</description>
      <pubDate>Wed, 17 Jun 2009 08:40:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Character-Column/m-p/45406#M9388</guid>
      <dc:creator>sbb</dc:creator>
      <dc:date>2009-06-17T08:40:01Z</dc:date>
    </item>
    <item>
      <title>Re: Character Column</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Character-Column/m-p/45407#M9389</link>
      <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
Please try this....&lt;BR /&gt;
&lt;BR /&gt;
proc sql;&lt;BR /&gt;
select count(*)&lt;BR /&gt;
from dictionary.columns&lt;BR /&gt;
where libname="&lt;B&gt;&lt;I&gt;library-name in capitals&lt;/I&gt;&lt;/B&gt;" and memname="&lt;B&gt;&lt;I&gt;dataset-name in capitals&lt;/I&gt;&lt;/B&gt;" and type="char";&lt;BR /&gt;
quit;&lt;BR /&gt;
&lt;BR /&gt;
if you want you can convert count into macro by using INTO statement&lt;BR /&gt;
&lt;BR /&gt;
Rgds,&lt;BR /&gt;
skm</description>
      <pubDate>Fri, 19 Jun 2009 08:46:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Character-Column/m-p/45407#M9389</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2009-06-19T08:46:13Z</dc:date>
    </item>
  </channel>
</rss>

