Previous Page | Next Page

Functions and CALL Routines

DQLOCALEINFOLIST Function



Returns the names of the definitions in a locale and a count of those definitions.
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
Examples
See Also

Syntax

DQLOCALEINFOLIST ('definition-type'<,'locale'>)

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

  • 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.

Details

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.


Examples

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');


See Also

Functions:

Load and Unload Locales

DQLOCALEINFOGET Function

Previous Page | Next Page | Top of Page