Db2 received an SQL CALL statement for a stored procedure or an SQL statement containing an invocation of a user-defined function. The statement was not accepted because the routine was stopped. Possible reasons are:
  • the STOP PROCEDURE ACTION(REJECT) command was issued for this procedure, or
  • the STOP FUNCTION ACTION(REJECT) command was issued for this user-defined function, or
  • there was a previous abnormal termination of the routine.

System action

The statement cannot be executed.

Programmer response

If the user-written routine was stopped by an abnormal termination, correct the cause of the abnormal termination.

Use the -START PROCEDURE command to activate the stored procedure.

Use the -START FUNCTION command to activate the user-defined function.

Problem determination