| Functions and CALL Routines |
| Valid in: | DATA step, PROC SQL, or SCL |
| Syntax | |
| Details | |
| See Also |
Syntax |
| DQGENDERPARSED(parsed-char, `gender-analysis-definition' <, `locale'>) |
is a parsed value that contains the name of an individual. The value can be expressed as the name of a character variable, a character value in quotation marks, or an expression that evaluates to a variable name or a quoted value.
specifies the name of the gender analysis definition that will be referenced to determine gender. The specified gender analysis definition has a related parse definition. To return an accurate gender determination, the related parse definition must be the same parse definition that was used to parse the parsed-char. To return the names of related parse definitions, use the DQGENDERINFOGET function (see DQGENDERINFOGET Function).
The specified gender analysis definition must exist in the specified locale.
(optional) specifies the name of the locale that contains the specified gender analysis definition. The value can be a name in quotation marks, the name of a variable whose value is a locale name, or an expression that evaluates to a variable name or to a quoted locale name.
The specified locale must be loaded into memory as part of the locale list. If no value is specified, the default locale is used. The default locale is the first locale in the locale list. For information on the locale list, see Load and Unload Locales.
| Details |
The DQGENDERPARSED function returns a gender determination from a parsed character value that contains the name of an individual. If the analysis finds substantial clues that indicate the gender of the individual, the function returns a value that indicates that the gender is female or male. If the analysis is inconclusive, the function returns a value that indicates that the gender is unknown. The specific return value depends on the specified gender analysis definition and locale.
| See Also |
DQGENDERINFOGET Function for an example that uses DQGENDERPARSED.
Copyright © 2007 by SAS Institute Inc., Cary, NC, USA. All rights reserved.