Macros for SAS Application Developers
https://github.com/sasjs/core
Loading...
Searching...
No Matches
mf_nobs.sas File Reference

Returns number of logical (undeleted) observations. More...

Go to the source code of this file.

Detailed Description

Beware - will not work on external database tables! Is just a convenience macro for calling mf_getattrn().

  %put Number of observations=%mf_nobs(sashelp.class);

SAS Macros

Parameters
[in]libdslibrary.dataset
Returns
output returns result of the attrn value supplied, or log message if err.
Version
9.2
Author
Allan Bowe

Definition in file mf_nobs.sas.