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

Error constant SQLE_PROCEDURE_RETURNS_VOID
ODBC 2 State 07006
ODBC 3 State 07006
Parameter 1 Name of the procedure.
Severity 16
SQLCODE –705
SQLSTATE 53019
Sybase error code 257
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.