CORE
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

Checks if a variable exists in a data set.

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

%put %mf_existVar(work.someds, somevar)
Parameters
libds(positional) - 2 part dataset or view reference
var(positional) - variable name
Version
9.2
Author
Allan Bowe

Definition in file mf_existvar.sas.