You can remove referential constraints in various ways. The full impact of the removal depends on the constraint you are removing and the certain conditions that surround the constraint.
To remove a referential constraint, follow these steps:
You can also remove a referential constraint using iSeries™ Navigator.
When you remove a referential constraint, the system removes the associated foreign keys and access paths from the file. The system does not remove the foreign key access path if any logical file or other constraint on the system uses it.
If you remove a referential, primary key, or unique constraint, and the associated access path is shared by a logical file, the ownership of the shared path transfers to the logical file.
Related concepts
Getting started with iSeries Navigator SQL programming