Check pending status in referential constraints

Check pending is the condition of a constraint relationship when potential mismatches exist between parent and foreign keys. When the system determines that referential integrity might have been violated, the constraint relationship is marked as check pending.

For example:

Check pending status is either *NO or *YES.

Check pending applies only to the constraints in the established state. A referential constraint that is established and enabled can have a check pending status of *YES or *NO.

To get a constraint relationship out of check pending, you must disable the relationship, correct the key (foreign, parent, or both) data, and enable the constraint again. The database then verifies the constraint relationship again.

When a relationship is in check pending, the parent and dependent files are in a situation that restricts their use. The parent file I/O restrictions are different from the dependent file restrictions. Check pending restrictions do not apply to the constraints that are in the established and disabled state (which are always in check pending status).