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 2000, week 4)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Wed, 27 Dec 2000 20:13:54 GMT
Reply-To:     Victor Aina <aina@SFU.CA>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Victor Aina <aina@SFU.CA>
Organization: Simon Fraser University
Subject:      THANKS!  Re: How to extract the total no of observation in a
              dataset

This is to thank everyone for the various solutions/strategies for getting the number of observations in a dataset.

Victor.

aina@sfu.ca (Victor Aina) writes:

>Hello everyone:

>I'd like to extract the total number >of observations in a SAS dataset. >I tried the _n_ function (?) but >it doesnt give a single number --the >last number. Can anyone help with >any tricks to extract the number?

>I intend to use it for further calculations.

>Thanks for your help. >--

>+----------------------------------------------------------+ >| victor aina | e-mail: aina@sfu.ca | fax:(972) 255-6955 | --

+----------------------------------------------------------+ | victor aina | e-mail: aina@sfu.ca | fax:(972) 255-6955 |


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