Before you create routines, you must complete some setup steps. See Preparing to develop routines for more information.
Routine development is not supported for every available data source. See Routine support by server type for details.
To create routines, you must have the required authorities and privileges. See Authorities for DB2 stored procedures and user-defined functions for details.