the jar name is invalid. SQLSTATE=46002
when attempting to register a new Java user-defined-function in DB2 UDB 188.8.131.52.
The example for SQL20201 uses the same INSERT stored procedure used in the SQL4306 example above to illustrate a SQL20201 problem. SQL20201 can occur:
Listing 30. SQL20201 example 1: Error occurs when installing the JAR file on Windows
For the first situation, you will have to call sqlj.remove_jar first before you call sqlj.install_jar to install the JAR file again. Or you can simply call sqlj.replace_jar if you want to replace the JAR file with updated class files.