When i compile a SQLJ file and publish it as SQL PL in Db2, it works fine for a method declared with 2 parameters. Now i change the method declaration to have 3 params. The i recompile the sqlj file and re-publish it. After this, if i now call the method from DB2 CLP, it gives me SQL4306N.
The only way to get past this problem till now was to rename the method. But sometimes, even this trick does not help.