For various reasons you may want to call Java code from within a "wrapper" stored procedure written in Watcom SQL. To do this you have to write, compile and store your Java classes in the database, then write and CREATE the stored procedure that uses the Java code, and finally run a test to CALL the stored procedure.