DB2 10.5 for Linux, UNIX, and Windows

SET CURRENT LOCALE LC_MESSAGES statement

The SET CURRENT LOCALE LC_MESSAGES statement changes the value of the CURRENT LOCALE LC_MESSAGES special register.

This statement is not under transaction control.

Invocation

This statement can be embedded in an application program or issued interactively. It is an executable statement that can be dynamically prepared.

Authorization

None required.

Syntax

Read syntax diagramSkip visual syntax diagram
                                    .-=-.                        
>>-SET--CURRENT LOCALE LC_MESSAGES--+---+--+-host-variable---+-><
                                           '-string-constant-'   

Description

The CURRENT LOCALE LC_MESSAGES special register identifies the locale that is used by EVMON_UPGRADE_TABLES, as well as monitoring routines in the monreport module. EVMON_UPGRADE_TABLES and the monitoring routines use the value of CURRENT LOCALE LC_MESSAGES to determine in which language the result set text output should be returned. User-defined routines that are coded to return messages could also use the value of CURRENT LOCALE LC_MESSAGES to determine what language to use for message text.

host-variable
A variable of type CHAR or VARCHAR. It cannot be set to null.
string-constant
A character string constant.

Notes

Examples