determines whether a certain variable, optionally of a certain type, exists in a SAS dataset
More...
Go to the source code of this file.
determines whether a certain variable, optionally of a certain type, exists in a SAS dataset
%existVar (dataset, variable, type)
- Parameters
-
i_data | input dataset |
i_var | name of the variable |
i_vartype | type 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 $
- Copyright
- Copyright 2010, 2012 HMS Analytical Software GmbH. This file is part of SASUnit, the Unit testing framework for SAS(R) programs. For terms of usage under the GPL license see included file readme.txt or https://sourceforge.net/p/sasunit/wiki/readme.v1.2/.
Definition in file _sasunit_existvar.sas.