An incorrect number of arguments was used in a SUB or FUNCTION procedure call. Compare the DECLARE statement for the SUB or FUNCTION procedure with the CALL statement to make sure the argument list has the same number of items in both cases. ERR Code: 37