Informix Error -25722: Invalid combination of modifiers DONOTDISTRIBUTE and DISTRIBUTESREFERENCES.
Cause and resolution
Invalid combination of modifiers DONOTDISTRIBUTE and DISTRIBUTESREFERENCES.
An opaque data type cannot have both the DONOTDISTRIBUTE and DISTRIBUTESREFERENCES attributes.
Modify your CREATE OPAQUE TYPE or ALTER OPAQUE TYPE statement to remove one of the modifiers.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-25722 fires when a CREATE OPAQUE TYPE/ALTER OPAQUE TYPE statement combines the
DONOTDISTRIBUTE and DISTRIBUTESREFERENCES modifiers — per the official guidance, an
opaque data type can't have both attributes.
DONOTDISTRIBUTEcombined withDISTRIBUTESREFERENCES, 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
DONOTDISTRIBUTEandDISTRIBUTESREFERENCES, and remove one.
Related Errors / Related Topics
- -25720 — "Invalid combination of modifiers DISTRIBUTEBINARY and
." A related opaque-type modifier-incompatibility error. - -25721 — "Invalid combination of modifiers ISCANONICAL and DONOTDISTRIBUTE." 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 DONOTDISTRIBUTE and DISTRIBUTESREFERENCES, which are
incompatible — remove one of the modifiers.