Production Ready Macros for SAS Application Developers
mf_getvarcount.sas File Reference

Returns number of variables in a dataset. More...

Go to the source code of this file.

Detailed Description

Useful to identify those renagade datasets that have no columns!

  %put Number of Variables=%mf_getvarcount(sashelp.class);

returns:

Number of Variables=4

Parameters
libdsTwo part dataset (or view) reference.
Version
9.2
Author
Allan Bowe

Definition in file mf_getvarcount.sas.