In this blog post, let’s learn about the error message “20149 External indexes exist for this object-type. Since the source and target have the same catalog and schema, index-map must be specified. DUP cannot be performed.” when working with HPE NonStop SQL/MX, the reason for the error and the solution to fix this error message.
Error Message
20149 External indexes exist for this object-type. Since the source and target have the same catalog and schema, index-map must be specified. DUP cannot be performed.
Reason for the Error
You failed to define all the indexes of the index-map.
Solution
Specify the target indexes through the index-map clause and resubmit