Functions and CALL Routines |
Returns the gender of an individual.
Requirement: |
The specified locale must be loaded into
memory as part of the locale list.
|
Valid in: |
DATA step, PROC SQL, and SCL
|
DQGENDERPARSED (parsed-char, 'gender-analysis-definition'
<,'locale'>)
|
- parsed-char
-
is the value that is analyzed to determine the gender of
an individual. The value must be the name of a character variable, or a character
value in quotation marks. Also valid, an expression that evaluates to a variable
name or quoted value.
- gender-analysis-definition
-
specifies the name of the gender analysis definition. The
analysis definition must exist in the locale that is used.
- locale
-
specifies a character constant, variable, or expression
that contains the locale name.
Default: |
The default locale is the first locale
in the locale list. If no value is specified, the default locale is used. |
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.
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.