Returns a gender determination from the name of an individual.
Valid in: | DATA step, PROC SQL, and SCL |
Requirement: | The specified locale must be loaded into memory as part of the locale list. |
specifies a character constant, variable, or expression that contains the value that is evaluated to determine the gender.
specifies the gender analysis definition, which must exist in the specified locale. The value must be the name of a character variable, in quotation marks. An expression that evaluates to a variable name, or a quoted value is also valid.
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. |
gender=dqGender('Mr. John B. Smith', 'Gender', 'ENUSA');
gender=dqGender('Mr. John B. Smith', 'Name', 'ENUSA');