Specifying referential constraint rules

 

Referential constraints allow you to specify the rules that you want the system to enforce when you delete or update records.

To specify the rules that you want to enforce with referential constraints, follow these steps:

  1. Run the Add Physical File Constraint (ADDPFCST) command.

  2. Specify the rule that you want to enforce when you delete records (the delete rule) by choosing a value for the DLTRULE parameter.

  3. Specify the rule that you want to enforce when you update records (the update rule) by choosing a value for the UPDRULE parameter.

You can also add referential constraints using iSeries™ Navigator.

 

Parent topic:

Adding referential constraints

 

Related concepts


Getting started with iSeries Navigator
SQL programming

 

Related reference


Add Physical File Constraint (ADDPFCST) command