-28903: DBFunction$1 must return a value

Explanation:

A database function does not contain a RETURN statement, which means that it cannot return a result. This is not allowed.

User Action:

Add a RETURN statement to the database function.