SASUnit Examples  Version 1.2.1
_sasunit_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)

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
Version
$Revision: 106 $
Author
$Author: b-braun $
Date
$Date: 2013-01-10 14:59:21 +0100 (Do, 10 Jan 2013) $
See Also
$HeadURL: https://svn.code.sf.net/p/sasunit/code/trunk/saspgm/sasunit/_sasunit_existvar.sas $

Definition in file _sasunit_existvar.sas.