SASUnit Examples  Version 1.5.0
_existvar.sas File Reference

determines whether a certain variable, optionally of a certain type, exists in a SAS dataset More...

Go to the source code of this file.

Detailed Description

determines whether a certain variable, optionally of a certain type, exists in a SAS dataset

%_existVar (dataset, variable, type)

Version
$Revision: 315 $
Author
$Author: klandwich $
Date
$Date: 2014-02-28 10:25:18 +0100 (Fr, 28 Feb 2014) $
See Also
For further information please refer to SASUnit User's Guide
$HeadURL: https://svn.code.sf.net/p/sasunit/code/trunk/saspgm/sasunit/_existvar.sas $
Parameters
i_datainput dataset
i_varname of the variable
i_vartypetype of variable (N for numeric or C for character or empty for don't care)
Returns
1 .. variable existst, 0 ... variable does not existst

Definition in file _existvar.sas.