Return type of void from procedure '%1' cannot be used in any expression

Item Value
SQLCODE -705
Constant SQLE_PROCEDURE_RETURNS_VOID
SQLSTATE 53019
Sybase error code 257
ODBC 2 State 07006
ODBC 3 State 07006
Parameter 1 Name of the procedure.

Probable cause 

The Java type void does not map onto any SQL type, hence a procedure returning void cannot be used in any SQL expression.