With Net Search Extender, you can index data stored in files that are referenced using the DB2 Data Links feature. For this, you need to install the Data Links jar file ctedludf.jar. In the db2 command line processor, run the following command:
call sqlj.install_jar ('file:/<instance_owner_home>/sqllib/java/ctedludf.jar','ctedludf_jar')
call sqlj.install_jar ('file:D:\sqllib\java\ctedludf.jar','ctedludf_jar')
You also need to update your Java heap size using the following command:
db2 update dbm cfg using JAVA_HEAP_SZ 1024
Use the following command to unregister the jar file on all platforms:
call sqlj.remove_jar('ctedludf_jar')
For a list of error messages, see Appendix K, Data Link messages.