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)
- 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 $
- 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/.
- 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
Definition in file _existvar.sas.