Informix Error -26098: In a MERGE statement, the security policies of the target table and source table (%s) do not match.
Cause and resolution
In a MERGE statement, the security policies of the target table and source table (%s) do not match.
The Label Based Access Control security polices of the source and target tables in a MERGE statement must be the same.
If the source table object in the USING clause is a subquery that accesses multiple tables, you can remove the source table whose policy differs from the target table from the USING clause of the MERGE statement.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-26098 fires when a MERGE statement's target and source tables have different
Label-Based Access Control (LBAC) security policies — per the official guidance.
- The target and source tables' LBAC security policies differ, per the official guidance — the direct, only cause; both must share the same policy.
Solutions / Resolution
- If the source is a subquery accessing multiple tables, remove the table whose policy
differs from the target from the
USINGclause, per the official guidance. - Otherwise, align the source and target tables' security policies, per the official guidance's implication.
Examples
N/A
No specific triggering statement is documented beyond mismatched LBAC policies between
MERGE's target and source.
Diagnostic Checks
- Check the LBAC security policy assigned to both the target and source tables
(
SYSSECPOLICIES/SYSSECTABAUTH), and confirm they match.
Related Errors / Related Topics
No closely related error codes are cross-referenced for -26098 in this set yet.
A MERGE statement's target and source tables had different LBAC security policies —
align them, or remove the mismatched table from the USING clause.