I just created a DB and loaded the tables with data from Oracle DB.
Now, Im trying to enable the constraints using
db2 "set integrity for table1 immediate checked"
I get the following error
DB21034E The command was processed as an SQL statement because it was
valid Command Line Processor command. During SQL processing it
SQL3608N Cannot check a dependent table "TABLE1" using the SET
INTEGRITY statement while the parent table or underlying table
"TESTOWNER.TABLE2" is in the check pending state or if it will be put
the check pending state by the SET INTEGRITY statement.