DSNH20148I E csect-name LINE line-number COL column number A RETURN STATEMENT DOES NOT EXIST OR WAS NOT INVOKED DURING THE EXECUTION OF ROUTINE routine-name WITH SPECIFIC NAME specific-name

Explanation

The SQL function must contain at least one RETURN statement and a RETURN statement must be executed when the function is invoked.

csect-name
The name of the control section that issued the message.
line-number and column number
The location of the error in the source program.
routine-name
The name of the routine.
specific-name
The specific function name, which is unique within the schema.

System action

The statement can not be processed.

User response

Ensure that a RETURN statement is executed when the function is invoked.

Severity

8 (error)