DQIDENTIFY Function

Returns a category name from a character value.

Valid in: DATA step, PROC SQL, and SCL
Requirement: The specified locale must be loaded into memory as part of the locale list.

Syntax

Required Arguments

char

specifies a character constant, variable, or expression that contains the value that is analyzed to determine that category of the content.

identification-definition

the name of the identification definition. The definition must be in the locale that is used.

Optional Argument

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.

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: DQIDENTIFY Function

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 DQID is Organization.