Dependent file restrictions in check pending

This topic outlines the restrictions that apply to an established and enabled referential constraint in check pending.

A dependent file in a constraint relationship that is marked as check pending cannot have any file input/output (I/O) operations performed on it. You must correct the file mismatches between the dependent and parent files. Also, you must take the relationship out of check pending before the system allows any I/O operations. The system does not allow records to be read from such a file because the user or application might not be aware of the check pending status and the constraint violation.

To perform I/O operations on a dependent file with an enabled referential constraint in check pending, you can first disable the constraint and then perform the I/O operations that you want.