The INIT_TEXT_HANDLE function returns a partially initialized handle that contains preset values for the text's format or language. It can be inserted into a handle column. This is useful when you add a row containing text whose format and language are not the same as those specified in the text configuration settings.
The returned handle is a value of type DB2TEXTH.
If you intend to search in text that is stored in external files rather than in a DB2 UDB table, you can use the INIT_TEXT_HANDLE function to return a completely initialized handle that contains preset values for the text's CCSID, format, language, and the location of the file.
The returned handle is a value of type DB2TEXTFH.
Use the INIT_TEXT_HANDLE function to insert or update handle
values.
Function syntax
>>-INIT_TEXT_HANDLE---(--format--,--language--)----------------><
>>-INIT_TEXT_HANDLE--(--CCSID--,--format--,--language--,--file-name--)--> >--------------------------------------------------------------><
Function parameters