SAS Institute. The Power to Know

SAS(R) Data Quality Server 9.2: Reference

Previous Page | Next Page

Functions and CALL Routines

DQIDENTIFY Function



Returns a category name from a character value.
Valid in: DATA step, PROC SQL, or SCL

Syntax
Details
Example

Syntax

DQIDENTIFY(char, 'identification-definition'<, 'locale'>)

char

is the value that is transformed, according to the specified identification definition. The value can be 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.

identification-definition

specifies the name of the identification definition.

Restriction: must exist in the specified locale.
locale

(optional) specifies the name of the locale that contains the specified identification 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 DQIDENTIFY function returns a value that indicates the category of the content in an input character value. The available categories and return values depend on your choice of identification definition and locale.


Example

The following example determines whether a character value represents an individual or an organization.

dqid=dqIdentify('LL Bean', 'Individual/Organization', 'ENUSA');

After this function call, the value of the DQID variable is ORGANIZATION.

Previous Page | Next Page | Top of Page