Informix Error -684
-684 Function <routine-name> returns too many values. </routine-name>
The number of returned values from a function is more than the number of values that the caller expects.
Example of error:
CREATE ROUTINE testroutine(arg INT) RETURNING INT, INT; RETURN 1,2; END ROUTINE
SELECT col FROM tab WHERE col = testroutine(1); -- error