DSNH491I E csectname LINE nnnn COL cc. CREATE STATEMENT FOR USER-DEFINED FUNCTION function-name MUST HAVE A RETURNS CLAUSE, AND EITHER THE EXTERNAL CLAUSE (WITH OTHER REQUIRED KEYWORDS) OR THE SOURCE CLAUSE.

Explanation

A required clause is missing in the CREATE for function function-name. If EXTERNAL was specified, the following must also be specified:
  • LANGUAGE
  • PARAMETER STYLE

System action

The statement cannot be executed.

User response

Correct and reissue the failing statement.

Severity

8 (error)