I want to know the sql query to find all the functions stored in a db2luw database for all the existing schemas and particularly how can I display the functions of a specific owner.
Here's the answer
db2 "select ROUTINE_CATALOG, ROUTINE_SCHEMA, ROUTINE_NAME, ROUTINE_TYPE from sysibm.routines where ROUTINE_NAME='my_function'"