SAS Institute. The Power to Know

SAS(R) Data Quality Server 9.2: Reference

Previous Page | Next Page

Functions and CALL Routines

DQGENDERPARSED Function



Returns a gender determination from the parsed name of an individual.
Valid in: DATA step, PROC SQL, or SCL

Syntax
Details
See Also

Syntax

DQGENDERPARSED(parsed-char, 'gender-analysis-definition' <, 'locale'>)

parsed-char

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.

gender-analysis-definition

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.

Restriction: the specified gender analysis definition must exist in the specified locale.
See: DQGENDERINFOGET Function.
Note: to return the names of related parse definitions, use the DQGENDERINFOGET function.DQGENDERINFOGET Function.
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.

Default: the first locale in the locale list.
Restriction: if no value is specified, the default locale is used.
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

Previous Page | Next Page | Top of Page