-7040: Referential constraint not allowed
Explanation:
There is already a REFERENTIAL CONSTRAINT DEFINITION with the specified referencing table. Moreover, CASCADE dependency arises. Under these conditions, all <CONSTRAINT definition>s with the indicated referencing table must specify either CASCADE or RESTRICT.
User Action:
Rethink the desired effect, because it would result in basically contesting situations. The user may see information about the existing REFERENTIAL CONSTRAINT DEFINITIONs using a <QUERY statement> issued on the system table DOMAIN.COL_REFS_COL.