ADB3012E An error occurred while processing the obj_name object in the statement type of stmt_typ. The primary index or the index that is enforcing unique constraint does not have a matching primary or unique key.

Explanation

The syntax of the generated SQL statements is being validated to check consistency. This message is written to the Validate report to indicate an error with the identified SQL statement.

System action

After the Validate report is generated, a return code of 8 is set, and processing stops.

User response

If you are validating a work statement list (WSL), correct the SQL statement in the WSL and re-validate the WSL. If you are comparing objects with DB2® Object Comparison Tool, correct the SQL statement in the DDL source and re-generate the compare job.