-20313   DEBUG MODE OPTION FOR ROUTINE routine-name CANNOT BE CHANGED

Explanation

The routine, routine-name, was originally created with DISABLE DEBUG MODE. A routine created with this attribute cannot be changed to either ALLOW DEBUG MODE or DISALLOW DEBUG MODE with an ALTER statement.

System action

The statement cannot be processed.

User response

To change the setting of the DEBUG MODE option, drop and re-create the routine with the correct option.

SQLSTATE

55058