Previous Page | Next Page

Functions and CALL Routines

DQIDENTIFY Function



Returns a category name from a character value.
Requirement: The specified locale must be loaded into memory as part of the locale list.
Valid in: DATA step, PROC SQL, and SCL

Syntax
Arguments
Details
Example

Syntax

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

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

is the name of the identification definition. The definition must be 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.

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

Previous Page | Next Page | Top of Page