Functions and CALL Routines |
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
|
DQIDENTIFY (char, 'identification-definition'
<,'locale'>)
|
- 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. |
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.
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.
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.