Production Ready Macros for SAS Application Developers
https://github.com/sasjs/core
mf_existvarlist.sas File Reference

Checks if a set of variables ALL exist in a data set. More...

Go to the source code of this file.

Detailed Description

Returns 0 if ANY of the variables do not exist, or 1 if they ALL do. Usage:

%put %mf_existVarList(sashelp.class, age sex name dummyvar)

Dependencies

Parameters
libds2 part dataset or view reference
varlistspace separated variable names
Version
9.2
Author
Allan Bowe

Definition in file mf_existvarlist.sas.