Documentation
(C) IBM Corp. 1996, 1999

Text Extender: Administration and Programming

LANGUAGE

The LANGUAGE function does one of the following:

The returned document language is a string of type VARCHAR(30). The returned handle is of type DB2TEXTH or DB2TEXTFH.

This is the language parameter used for indexing the corresponding text document. The supported languages are listed in Languages.

Function syntax

            (1)
>>-LANGUAGE-------(--handle--)---------------------------------><
 

Notes:

  1. Returns a language value, type VARCHAR(30).

            (1)
>>-LANGUAGE--------(--handle--,--language----)-----------------><
 

Notes:

  1. Returns a handle, type DB2TEXTH or DB2TEXTFH.

Function parameters

handle
An expression whose result is a value of type DB2TEXTH or DB2TEXTFH. It is usually the name of a handle column from which the language setting is to be returned or set.

language
The new document language setting of data type VARCHAR(30).

If language is specified, this document language is set in the handle; the handle is returned instead of the language setting.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]