Informix Error -25721: Invalid combination of modifiers ISCANONICAL and DONOTDISTRIBUTE.
Cause and resolution
Invalid combination of modifiers ISCANONICAL and DONOTDISTRIBUTE.
An opaque data type cannot have both the ISCANONICAL and DONOTDISTRIBUTE attributes.
Modify your CREATE OPAQUE TYPE or ALTER OPAQUE TYPE statement to remove one of the modifiers.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-25721 fires when a CREATE OPAQUE TYPE/ALTER OPAQUE TYPE statement combines the
ISCANONICAL and DONOTDISTRIBUTE modifiers — per the official guidance, an opaque data
type can't have both attributes.
ISCANONICALcombined withDONOTDISTRIBUTE, per the official guidance — the direct, only cause.
Solutions / Resolution
- Modify the
CREATE/ALTER OPAQUE TYPEstatement to remove one of the modifiers, per the official guidance.
Examples
N/A
No specific triggering statement is documented beyond this modifier combination.
Diagnostic Checks
- Check the opaque type's modifier list for both
ISCANONICALandDONOTDISTRIBUTE, and remove one.
Related Errors / Related Topics
- -25720 — "Invalid combination of modifiers DISTRIBUTEBINARY and
." A related opaque-type modifier-incompatibility error. - -25722 — "Invalid combination of modifiers DONOTDISTRIBUTE and
DISTRIBUTESREFERENCES." A related opaque-type modifier-incompatibility error, also
involving
DONOTDISTRIBUTE. - -25723 — "A modifier may not appear more than once in an ALTER statement." A related opaque-type modifier error, on repetition rather than incompatibility.
An opaque type combined ISCANONICAL and DONOTDISTRIBUTE, which are incompatible — remove
one of the modifiers.