nobs.sas File Reference


Detailed Description

Return number of observations in a SAS dataset.

Return number of logical observations (deleted obeservations are not counted) in a SAS dataset. In case of an invalid dataset specification, a blank will be returned.

Example: %put %nobs(dataset);

Version:
$Revision: 6 $
Author:
$Author: amangold $
Date:
$Date: 2010-06-11 17:54:04 +0200 (Fr, 11 Jun 2010) $
See also:
$HeadURL: https://sasunit.svn.sourceforge.net/svnroot/sasunit/trunk/example/saspgm/nobs.sas $
Parameters:
data SAS dataset to count observations from
Returns:
number of observations in input dataset

Definition in file nobs.sas.

Go to the source code of this file.


Generated on Sun Oct 10 14:10:15 2010 for SASUnit Examples by  doxygen 1.5.3