HPE NonStop SQL/MX Error – 4503 Predicates on SYSKEY are not allowed in the ON clause of a MERGE statement.

In this blog post, let’s learn about the error message “4503 Predicates on SYSKEY are not allowed in the ON clause of a MERGE statement.” when working with HPE NonStop SQL/MX, the reason for the error and the solution to fix this error message.

Error Message

4503 Predicates on SYSKEY are not allowed in the ON clause of a MERGE statement.

Reason for the Error

You specified a predicate on SYSKEY in the ON clause of the MERGE statement.

Solution

Modify and resubmit the statement