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 (December 2008, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Mon, 8 Dec 2008 11:48:00 -0500
Reply-To:   Akshaya Nathilvar <akshaya.nathilvar@GMAIL.COM>
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   Akshaya Nathilvar <akshaya.nathilvar@GMAIL.COM>
Subject:   Re: number of records of each dataset in a library
Comments:   To: Jeff <zhujp98@gmail.com>
In-Reply-To:   <6716d5d0812080830p3a6ff8ccl12c403e59fc355e3@mail.gmail.com>
Content-Type:   text/plain; charset=ISO-8859-1

By querying SASHELP.VTABLE: Proc sql; select memname 'Dataset Name',nobs '# of Records' from sashelp.vtable where libname=<lib> and memtype='DATA'; /* Libname should be in uppercase */ Quit;

Akshaya

On Mon, Dec 8, 2008 at 11:30 AM, Jeff <zhujp98@gmail.com> wrote:

> I want to list nuber of records of each dataset in a library, The resulting > table shoud look like: > > > datasetname #rOfrecords > ds1 2345 > ds2 209 > --- > > Thanks, > Jeff >


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