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:
ALL
CASE
EXTRACTION
GENDER
GUESS
IDENTIFICATION
MATCH
PARSE
PATTERN
STANDARDIZATION

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.
See %DQPUTLOC AUTOCALL Macro for additional information.
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');