LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous (more recent) messageNext (less recent) messagePrevious (more recent) in topicNext (less recent) in topicPrevious (more recent) by same authorNext (less recent) by same authorPrevious page (April 1996, week 1)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Wed, 3 Apr 1996 00:18:13 +-1000
Reply-To:     Alex Wolf <wolfam@WERPLE.NET.AU>
Sender:       "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU>
From:         Alex Wolf <wolfam@WERPLE.NET.AU>
Subject:      SAS Hint - How many Observations are there in a Member ?

In SAS 6.11 and possibly SAS 6.10 there is a SAS View in the SASHELP Libname this View contains Library, Member Name, Number of Observations and many other items that describe every member and instead of needing to use the Point, Noobs etc or a proc SQL to count the Observations You could use the following to count the number of Observations for my Member created in Work

Data Frodo ; ring = 'gold' ; output ; run;

data _null_ ; SET SASHELP.VTABLE ; IF MEMNAME = 'FRODO' THEN PUT 'The obs = ' NOBS ; RUN;

the result: The obs = 1

Cheers

Alex M. Wolf.


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