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

Checks if a variable exists in a data set. More...

Go to the source code of this file.

Detailed Description

Returns 0 if the variable does NOT exist, and the position of the var if it does. Usage:

%put %mf_existvar(work.someds, somevar)
Parameters
[in]libds2 part dataset or view reference
[in]varvariable name

Related Macros

Version
9.2
Author
Allan Bowe

Definition in file mf_existvar.sas.