Functions and CALL Routines |
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'>) |
specifies a character constant, variable, or expression that contains the value that is analyzed to determine that category of the content.
is the name of the identification definition. The definition must be in the locale that is used.
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.
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.