The system automatically verifies the validity of a referential constraint when you add the constraint with the Add Physical File Constraint (ADDPFCST) command. The system verifies that every non-null value in the foreign key matches a corresponding value in the parent key.
If the verification is successful, the constraint rules are enforced on subsequent accesses by a user or an application program. An unsuccessful verification causes the constraint to be marked as check pending. If the constraint is added with the ADDPFCST command, it will be in check pending but disabled state.