routine "<str>" is not compatible with forward declaration Explanation: A DECLARE FUNCTION or DECLARE PROCEDURE was used to declare a forward reference for this routine, but this routine uses different parameter data types, passing mechanisms, number of parameters, default parameter value, or function return type. User Action: Correct the CREATE statement and try again.