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 (February 1996, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Fri, 16 Feb 1996 16:21:00 -0500
Reply-To:   Mark Dalesandro <dalesam@HLTHSRC.COM>
Sender:   "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU>
From:   Mark Dalesandro <dalesam@HLTHSRC.COM>
Subject:   Re: Counting the # of variables in a SAS dataset -Reply
Comments:   To: 100013.1673@COMPUSERVE.COM

dictionary.tables is another quick option to get such info about a dataset:

you might try:

proc sql noprint; select (NOBS-DELOBS+0) into:number from %str(dictionary.tables) where libname="LIBNAME" and memname="DATANAME"; quit;

&number will hold the number of obs.


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