Error
SQLCODE -531
Parent row restriction
Explanation
Cannot delete/update parent row - dependent rows exist.
Solution
Delete dependent rows first, or use ON DELETE CASCADE.
Example
DELETE department that has employees