-666 stmt-verb object CANNOT BE EXECUTED BECAUSE function IS IN PROGRESS
Explanation
The SQL statement could not be executed because
the named function was executing at the time.
- stmt-verb
- The type of data definition language (DDL) statement
- object
- The DB2® object type
- function
- The active function that prevented the action. A utility, the resource limit facility, or the distributed data facility (DDF)
System action
The statement cannot be processed.
Programmer response
If the function is a utility, wait for the function to complete or stop. Then resubmit the statement for execution.
If the function is the resource limit facility, the statement cannot be executed until the resource limit facility is stopped or switched to a different resource limit table. In a DB2 data sharing environment, the resource limit facility must be stopped on all members of the DB2 data sharing group or all members must switch to a resource limit table that is not associated with the object.
If the function is the DDF, the facility must be stopped before the object can be dropped. In a DB2 data sharing environment, the facility must be stopped on all members of the DB2 data sharing group.
SQLSTATE
57005