Text Extender provides a command line processor input file called txsample.udf. It contains examples of Text Extender UDFs that run against the sample tables. Use this file to see examples of the syntax of the administration and search UDFs, and of the syntax used in search arguments.
To run this file, enter:
db2 -t -v -f txsample.udf