DQLOCALEINFOLIST Function
Returns the names of the definitions in a locale
and a count of those definitions.
Valid in: |
DATA step, PROC SQL, and SCL |
Requirement: |
The specified locale must be loaded into memory as part
of the locale list.
|
Syntax
DQLOCALEINFOLIST ('definition-type',
'locale' )
Required Arguments
- DEFINITION-TYPE
-
specifies the value
that is analyzed to determine the names and count of the definition
type. The definition type must exist in the specified locale.
Definition types are
as follows:
- LOCALE
-
specifies a character
constant, variable, or expression that contains the locale name. If
no value is specified, the default locale is used.
Default:The default locale is the first locale in the locale
list.
Interaction:The DQLOCALEINFOLIST function writes the names
of the type-definitions to the SAS log. The return value of the function
is the total number of type-definitions.
DQLOCALEINFOGET Function for additional information.
Example: DQLOCALEINFOLIST Function
The following example
writes a list of the definition names and count in the first locale
in the locale list to the SAS log.
num=dqLocaleInfoList('all');
The following example
writes a list of parse definitions in the DEDEU locale to the SAS
log.
num=dqLocaleInfoList('parse', 'DEDEU');