Starting user-defined functions

You can activate external functions that are stopped by using the Db2 START FUNCTION SPECIFIC command.

About this task

You cannot start built-in functions or user-defined functions that are sourced on another function.

Procedure

Begin general-use programming interface information.To activate all or a specific set of stopped external functions:

Issue the START FUNCTION SPECIFIC command.

Example

For example, assume that you want to start functions USERFN1 and USERFN2 in the PAYROLL schema. Issue the following command:
START FUNCTION SPECIFIC(PAYROLL.USERFN1,PAYROLL.USERFN2)

The following output is produced:

DSNX973I START FUNCTION SPECIFIC SUCCESSFUL FOR PAYROLL.USERFN1
DSNX973I START FUNCTION SPECIFIC SUCCESSFUL FOR PAYROLL.USERFN2 

End general-use programming interface information.