Documentation
(C) IBM Corp. 1996, 1999

Text Extender: Administration and Programming

NO_OF_DOCUMENTS

The NO_OF_DOCUMENTS function returns an INTEGER value indicating the number of items in a list of text documents found by a search. The returned value is the number of entries found in a list of handles.
Tip

This function is a feature of an earlier release of Text Extender. For compatibility reasons it continues to be supported, Its functionality has been superceded by the SEARCH_RESULT PDF.

Function syntax

>>-NO_OF_DOCUMENTS--(--handle-list--)--------------------------><
 

Function parameters

handle-list
An expression whose result is a value of type DB2TEXTHLISTP or DB2TEXTFHLISTP. It is returned by the function HANDLE_LIST.

This is a pointer to a list of handles of documents found by a search.

The HANDLE_LIST and NO_OF_DOCUMENTS UDFs must be in the same SQL statement because the list exists only within the scope of the statement.


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