LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (March 2008, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Sat, 15 Mar 2008 09:38:59 -0700
Reply-To:   shanky <shankardasm@GMAIL.COM>
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   shanky <shankardasm@GMAIL.COM>
Organization:   http://groups.google.com
Subject:   Re: how to tell how many of each kind of variables are there in the dataset
Comments:   To: sas-l@uga.edu
Content-Type:   text/plain; charset=ISO-8859-1

Hi Properly,

We could use proc sql dictionary.columns and &sqlobs to get the information . Please make sure that we use upcase function for all the values.

For example :

proc sql; create table abc as select * from dictionary.columns where libname="library " and memname="input dataset" and memtype="data" and type="char"; quit; %put _char_count=&sqlobs;

HTH; Shanky


Back to: Top of message | Previous page | Main SAS-L page