...
There is no function with the specified name.
Instead of using a valid QUERY expression, an attempt was made to use an invalid QUERY expression (named_query_expression) at this point.
Replace the named_query_expression with query_expression. If the error message occurs although there is no named_query_expression in the SQL statement, check whether the specified function is not offered in the SQL mode being used.
...
Do without the specified function.
Open a database session using the SQL mode in which the function is available.
1. Generate a database function with the specified name and the desired functionality.